Skip to content

Commit

Permalink
Update check for core
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunju Oh committed Feb 20, 2024
1 parent 918ab9e commit 8003b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -5,7 +5,7 @@

# Cori CI needs srun even for serial tests
run_cmd=""
if [[ "$HOSTNAME" == "cori"* || "$HOSTNAME" == "nid"* ]]; then
if [[ "$NERSC_HOST" == "perlmutter" ]]; then
run_cmd="srun -n 1 --mem=25600 --cpu_bind=cores --overlap"
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 @@ -5,7 +5,7 @@

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

Expand Down

0 comments on commit 8003b66

Please sign in to comment.