Avoid resize messages on run_stub output and build objects from assembly files

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2021-05-22 03:26:56 +02:00
parent abc844947d
commit 0482e4f09a
2 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,8 @@ ${TARGET}-%: $(BUILD_DIR) $(OBJ) $(SRC_DIR)/main-%.c
asm: $(BUILD_DIR) $(ASM) asm: $(BUILD_DIR) $(ASM)
$(BUILD_DIR)/%.o: %.c $(BUILD_DIR)/%.o: %.s
#$(BUILD_DIR)/%.o: %.c
@echo "===> COMPILE $@" @echo "===> COMPILE $@"
$(Q)$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ $(Q)$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
$(Q)$(CC) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d $(Q)$(CC) $(CPPFLAGS) -MT $(@:.d=.o) -MM $< > $(BUILD_DIR)/$*.d

View File

@ -33,7 +33,8 @@ for timesteps in ${TIMESTEPS}; do
for nruns in ${NRUNS}; do for nruns in ${NRUNS}; do
output=$( output=$(
./${EXEC} -f ${FREQUENCY} -n ${timesteps} -na ${atoms_per_unit_cell} -nx ${nx} -ny ${ny} -nz ${nz} -csv | ./${EXEC} -f ${FREQUENCY} -n ${timesteps} -na ${atoms_per_unit_cell} -nx ${nx} -ny ${ny} -nz ${nz} -csv |
grep -v steps grep -v steps |
grep -iv resize
) )
perf=$(echo $output | cut -d',' -f8) perf=$(echo $output | cut -d',' -f8)
if [ -z "$best_perf" ]; then if [ -z "$best_perf" ]; then