Skip to content

Commit

Permalink
Virgo: use znver4 nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Feb 19, 2025
1 parent e890ce6 commit a8a7566
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ else
# g++ -march=native -Q --help=target | grep -- '-march= ' | cut -f3

ifneq (,$(shell hostname -A | grep gsi.de))
# virgo has znver4 nodes in the new partition
# CXXFLAGS += -march=znver4
# virgo has znver4 nodes in the amd,epyc,9654 feature group
CXXFLAGS += -march=znver4
# and znver3 nodes in the other partitions and login nodes
CXXFLAGS += -march=native
# CXXFLAGS += -march=native -mtune=znver4
else
CXXFLAGS += -march=native
endif
Expand Down
6 changes: 3 additions & 3 deletions scripts/artis-virgo-submit.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -x
export APPTAINER_SHARENS=true
export APPTAINER_CONFIGDIR=/tmp/$USER
sbatch -J $(basename $(exec pwd)) --ntasks=1920 --ntasks-per-node=128 --mem-per-cpu=2000MB --partition=long --time=24:00:00 --constraint=amd,epyc,7713 --mail-type=ALL --mail-user=${USER}@gsi.de --no-requeue -- artis/scripts/artis-virgo-slurmjob.sh
sbatch -J $(basename $(exec pwd)) --ntasks=1920 --ntasks-per-node=192 --mem-per-cpu=2000MB --partition=long --time=24:00:00 --constraint=amd,epyc,9654 --mail-type=ALL --mail-user=${USER}@gsi.de --no-requeue -- artis/scripts/artis-virgo-slurmjob.sh

# AMD EPYC 9654 with 192 real cores per node and 4 GB/core. march=znver4
#sbatch -J $(basename $(exec pwd)) --ntasks=960 --ntasks-per-node=192 --mem-per-cpu=2000MB --partition=new --time=24:00:00 --mail-type=ALL --mail-user=${USER}@gsi.de --no-requeue -- artis/scripts/artis-virgo-slurmjob.sh
# AMD EPYC 9654 nodes have 192 real cores per node and 4 GB/core. march=znver4
# other nodes have 128 real cores per node
2 changes: 1 addition & 1 deletion scripts/exspec-gzip-virgo-submit.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
sbatch -J exspec_$(basename $(exec pwd)) --ntasks=1 --cpus-per-task 16 --mem-per-cpu=4096MB --partition=long --time=48:00:00 --mail-type=ALL --mail-user=${USER}@gsi.de -- artis/scripts/exspec-gzip-virgo-slurmjob.sh
sbatch -J exspec_$(basename $(exec pwd)) --ntasks=1 --cpus-per-task 48 --mem-per-cpu=2000MB --partition=long --time=48:00:00 --constraint=amd,epyc,9654 --mail-type=ALL --mail-user=${USER}@gsi.de -- artis/scripts/exspec-gzip-virgo-slurmjob.sh

0 comments on commit a8a7566

Please sign in to comment.