-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix LAMMPS Parallel Job for Pitzer Expansion #89
Comments
LAMMPS script: #!/bin/bash
#SBATCH -J ondemand/sys/myjobs/basic_lammps_parallel
#SBATCH --time=00:30:00
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=40
scontrol show job $SLURM_JOBID
module load intel/19.0.5
module load mvapich2/2.3.4
module load lammps/3Mar20
export OMP_NUM_THREADS=80 # this must match nodes * ppn
cd $TMPDIR
sbcast -p /users/appl/srb/workshops/compchem/lammps/in.crack $TMPDIR/in.crack
lammps < $TMPDIR/in.crack
ls -al Output:
|
Do not set
Log into node on another shell:
That's bad. That was basically 48 processes with 48 threads, that's not what you want. Changing to
|
It looks like using my example with |
In the case of this particular template, ZQ recommended we use MPI for the example instead of OpenMP. Which I think means dropping just OMP_NUM_THREADS altogether. For example ,see the example for Pitzer at https://www.osc.edu/resources/available_software/software_list/lammps |
revert 7dfd108 on branch and then fix
The text was updated successfully, but these errors were encountered: