HW2: RC3a - Change the sbatch scripts for a different executables directory

This commit is contained in:
Christos Choutouridis 2025-01-05 14:24:05 +02:00
parent df92833c1b
commit c485d0db2d
29 changed files with 41 additions and 40 deletions

View File

@ -42,6 +42,7 @@ BUILD_DIR := bin
OBJ_DIR := $(BUILD_DIR)/obj
DEP_DIR := $(BUILD_DIR)/.dep
OUTPUT_DIR := out-rc3a
# ========== Compiler settings ==========
# Compiler flags for debug and release
@ -185,8 +186,8 @@ distbubbletonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BUBBLETONIC
distbubbletonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC
distbubbletonic: TARGET := distbubbletonic
distbubbletonic: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
distbitonic: CC := mpicc
distbitonic: CXX := mpic++
@ -194,8 +195,8 @@ distbitonic: CFLAGS := $(REL_CFLAGS) -DCODE_VERSION=BITONIC
distbitonic: CXXFLAGS := $(REL_CXXFLAGS) -DCODE_VERSION=BITONIC
distbitonic: TARGET := distbitonic
distbitonic: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
deb_distbubbletonic: CC := mpicc
deb_distbubbletonic: CXX := mpic++
@ -203,8 +204,8 @@ deb_distbubbletonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG
deb_distbubbletonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BUBBLETONIC -DDEBUG
deb_distbubbletonic: TARGET := deb_distbubbletonic
deb_distbubbletonic: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
deb_distbitonic: CC := mpicc
deb_distbitonic: CXX := mpic++
@ -212,8 +213,8 @@ deb_distbitonic: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG
deb_distbitonic: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG
deb_distbitonic: TARGET := deb_distbitonic
deb_distbitonic: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
tests: CC := mpicc
tests: CXX := mpic++
@ -221,8 +222,8 @@ tests: CFLAGS := $(DEB_CFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING
tests: CXXFLAGS := $(DEB_CXXFLAGS) -DCODE_VERSION=BITONIC -DDEBUG -DTESTING
tests: TARGET := tests
tests: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
perfbitonic: CC := mpicc
perfbitonic: CXX := mpic++
@ -230,8 +231,8 @@ perfbitonic: CFLAGS := $(REL_CFLAGS) -g -DCODE_VERSION=BITONIC
perfbitonic: CXXFLAGS := $(REL_CXXFLAGS) -g -DCODE_VERSION=BITONIC
perfbitonic: TARGET := perfbitonic
perfbitonic: $(BUILD_DIR)/$(TARGET)
@mkdir -p out
cp $(BUILD_DIR)/$(TARGET) out/$(TARGET)
@mkdir -p $(OUTPUT_DIR)
cp $(BUILD_DIR)/$(TARGET) $(OUTPUT_DIR)/$(TARGET)
hpc-build:

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 20 --perf --validation
srun ./out-rc3a/distbitonic -q 20 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 23 --perf --validation
srun ./out-rc3a/distbitonic -q 23 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 25 --perf --validation
srun ./out-rc3a/distbitonic -q 25 --perf --validation

View File

@ -25,4 +25,4 @@ export UCX_WARN_UNUSED_ENV_VARS=n
# Suppress CUDA-aware support is disabled warning
export OMPI_MCA_opal_warn_on_missing_libcuda=0
srun ./out/distbitonic -q 27 --perf --validation
srun ./out-rc3a/distbitonic -q 27 --perf --validation