Skip to content

Commit

Permalink
Fix submission script.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Oct 31, 2024
1 parent aa0a496 commit 8a1075a
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions job-delta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,14 @@
#SBATCH --mem-per-cpu=4000m
#SBATCH --time=6:00:00
#SBATCH --account=bbgw-delta-gpu
#SBATCH --constraint="scratch"

export RELEASES_DIR=/scratch/bbgw/joshuaan/hoomd-releases

cd $HOME/devel/hoomd-benchmarks
source $HOME/hoomd-dev-env.sh

rm gpu.csv

for version in $(ls ${RELEASES_DIR})
do
export PYTHONPATH=${RELEASES_DIR}/${version}
srun -n 1 python3 -u -m hoomd_benchmarks --device GPU --output gpu.csv --name "${version}" --repeat 20 -v
done
module load openmpi/4.1.6 cuda/12.3.0

rm cpu.csv
source /projects/bbgw/software/micromamba-configuration.sh
micromamba activate software
export LD_PRELOAD=$MAMBA_ROOT_PREFIX/envs/software/lib/libstdc++.so

for version in $(ls ${RELEASES_DIR})
do
export PYTHONPATH=${RELEASES_DIR}/${version}
srun -n 16 python3 -u -m hoomd_benchmarks --device CPU --output cpu.csv --name "${version}" --repeat 10 -v
done
version=$(python -c "import hoomd; print(hoomd.version.version)")
srun -n 1 python3 -u -m hoomd_benchmarks --device GPU --output gpu.csv --name "${version}" --repeat 20 -v
srun -n 16 python3 -u -m hoomd_benchmarks --device CPU --output cpu.csv --name "${version}" --repeat 10 -v

0 comments on commit 8a1075a

Please sign in to comment.