Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
doku:lammps [2014/10/29 13:37] – sh | doku:lammps [2014/11/04 09:36] – sh | ||
---|---|---|---|
Line 200: | Line 200: | ||
</ | </ | ||
| | ||
- | NOTE: for the fermi nodes use '' | + | NOTE: for the fermi nodes use '' |
+ | < | ||
+ | cd .../ | ||
+ | cp Makefile.fermi Makefile.kepler | ||
+ | vi Makefile.kepler | ||
+ | make -f Makefile.kepler clean | ||
+ | make -f Makefile.kepler | ||
+ | </ | ||
- | NOTE2: To get information about packages | + | NOTE_2: To get information about included |
< | < | ||
make package-status | make package-status | ||
Line 214: | Line 221: | ||
=== For example / | === For example / | ||
- | 1. Change into some temporary directory and prepare the submit script for SGE, ie | + | 1. Change into some temporary directory and prepare the submit script for SGE. |
vi ./ | vi ./ | ||
< | < | ||
Line 231: | Line 239: | ||
</ | </ | ||
- | 2. Submit it and compare the results | + | 2. Submit it and compare the results - log.lammps - to the reference |
+ | < | ||
+ | qsub ./ | ||
+ | </ | ||
+ | ==== GPU fermi ==== | ||
+ | |||
+ | === For example / | ||
+ | |||
+ | 1. Change into some temporary directory and prepare the submit script for SGE (fermi queue). Two consecutive short test runs will employ 1 GPU and 2 GPUs per node. | ||
+ | |||
+ | vi ./ | ||
+ | < | ||
+ | #$ -N lammps_kokkos | ||
+ | #$ -S /bin/bash | ||
+ | #$ -cwd | ||
+ | #$ -pe smp 12 | ||
+ | #$ -V | ||
+ | #$ -q fermi | ||
+ | #$ -P fermi | ||
+ | |||
+ | export LD_LIBRARY_PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | export I_MPI_FABRICS=shm: | ||
+ | |||
+ | # single GPU | ||
+ | / | ||
+ | mv ./ | ||
+ | |||
+ | # 2 x GPU | ||
+ | mpirun -np 2 / | ||
+ | mv ./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | 2. Change into the fermi group and submit it to the appropriate queue. | ||
+ | < | ||
+ | sg fermi | ||
+ | qsub.py ./ | ||
+ | </ | ||
+ | 3. Compare the results - ./ |