Skip to content

Commit

Permalink
Removing gres option from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunju Oh committed Feb 12, 2024
1 parent 300fb73 commit 111e216
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/tests/mpi_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

extra_cmd=""
if [[ "$HOSTNAME" == "cori"* || "$HOSTNAME" == "nid"* ]]; then
extra_cmd="--mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap "
extra_cmd="--mem=25600 --cpu_bind=cores --overlap"
fi

if [[ "$SUPERCOMPUTER" == "perlmutter" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion src/tests/run_checkpoint_restart_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Cori CI needs srun even for serial tests
run_cmd=""
if [[ "$HOSTNAME" == "cori"* || "$HOSTNAME" == "nid"* ]]; then
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap"
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --overlap"
fi

if [ $# -lt 1 ]; then echo "missing test argument" && exit -1 ; fi
Expand Down
2 changes: 1 addition & 1 deletion src/tests/run_multiple_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Cori CI needs srun even for serial tests
run_cmd=""
if [[ "$HOSTNAME" == "cori"* || "$HOSTNAME" == "nid"* ]]; then
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --gres=craynetwork:1 --overlap"
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --overlap"
fi

if [ $# -lt 1 ]; then echo "missing test argument" && exit -1 ; fi
Expand Down
4 changes: 2 additions & 2 deletions src/tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

# Cori CI needs srun even for serial tests
run_cmd=""
if [[ "$HOSTNAME" == "cori"* || "$HOSTNAME" == "nid"* ]]; then
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --overlap "
if [[ "$NERSC_HOST" == "perlmutter" ]]; then
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --overlap"
fi

if [ $# -lt 1 ]; then echo "missing test argument" && exit -1 ; fi
Expand Down

0 comments on commit 111e216

Please sign in to comment.