Skip to content

Commit

Permalink
rework run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Galen M. Shipman authored and Galen M. Shipman committed Sep 28, 2023
1 parent 2dd6705 commit f3ea37c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions kokkos_lammps_hippynn/Run_Strong_Single_CPU.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

#On 1 gpu, run systems of different sizes
#export lmpexec="/usr/projects/ml4chem/Programs/MLIAP-Feb23/lammps-kokkos/build/lmp"
export lmpexec="/usr/projects/eap/users/gshipman/mlmd/hippynn/lammps-kokkos-mliap/build/lmp"

#source exports.bash #configures environment and sets ${lmpexec}
export HIPPYNN_USE_CUSTOM_KERNELS="pytorch"
export HIPPYNN_WARN_LOW_DISTANCES="False"

for s in 16 24 32 40 48 56 64
do
for i in 8 32 56 88 112
do
echo $i
echo $lmpexec
srun -n $i --hint=nomultithread --cpus-per-task 1 ${lmpexec} -var xrep 2 -var yrep 2 -var zrep ${s} -in MD-HO-small.in -l Strong_Single_${s}_${i}.out -k on -sf kk -pk kokkos neigh full newton on -k on t 1
done
done


0 comments on commit f3ea37c

Please sign in to comment.