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 10:03] – sh | doku:lammps [2014/11/04 09:36] – sh | ||
---|---|---|---|
Line 183: | Line 183: | ||
- Aiming at the KOKKOS package (see the 2014-09-04 message of A Kohlmeyer, http:// | - Aiming at the KOKKOS package (see the 2014-09-04 message of A Kohlmeyer, http:// | ||
- Follow points 1-7 of the " | - Follow points 1-7 of the " | ||
- | - Select different packages for the actual LAMMPS build still based on the same VSC-1-specific Makefile provided above, ie | + | - Select different packages for the actual LAMMPS build still based on the same VSC-1-specific Makefile provided above; |
< | < | ||
cd .../ | cd .../ | ||
Line 197: | Line 197: | ||
make clean-vsc1 | make clean-vsc1 | ||
make vsc1 | make vsc1 | ||
+ | cp ./ | ||
</ | </ | ||
| | ||
- | | + | NOTE: for the fermi nodes use '' |
- | - Compile the gpu code< | + | < |
- | - Edit the file {{: | + | cd .../wherever/ |
- | gpu_SYSLIB | + | cp Makefile.fermi Makefile.kepler |
- | gpu_SYSPATH = -L/ | + | vi Makefile.kepler |
- | | + | |
- | - Place {{:doku: | + | |
- | make no-voronoi | + | </ |
- | make yes-user-cuda | + | |
- | make yes-gpu | + | NOTE_2: To get information about included packages |
- | make yes-user-misc | + | < |
- | make vsc1</ | + | make package-status |
+ | </ | ||
- | To get information about packages that will be used:< | ||
- | Installed YES: package ASPHERE | ||
- | Installed YES: package BODY | ||
- | Installed YES: package CLASS2 | ||
- | Installed YES: package COLLOID | ||
- | Installed YES: package DIPOLE | ||
- | Installed YES: package FLD | ||
- | Installed YES: package GPU | ||
- | src/ | ||
- | src/ | ||
- | src/ | ||
- | src/ | ||
- | Installed YES: package GRANULAR | ||
- | Installed YES: package KIM | ||
- | Installed | ||
- | Installed YES: package KSPACE | ||
- | Installed YES: package MANYBODY | ||
- | Installed YES: package MC | ||
- | Installed YES: package MEAM | ||
- | Installed YES: package MISC | ||
- | Installed YES: package MOLECULE | ||
- | Installed YES: package MPIIO | ||
- | Installed YES: package OPT | ||
- | Installed YES: package PERI | ||
- | Installed YES: package POEMS | ||
- | Installed YES: package REAX | ||
- | Installed YES: package REPLICA | ||
- | Installed YES: package RIGID | ||
- | Installed YES: package SHOCK | ||
- | Installed YES: package SRD | ||
- | Installed | ||
- | Installed YES: package XTC | ||
- | Installed YES: package USER-ATC | + | ===== Testing LAMMPS ====== |
- | Installed | + | |
- | Installed | + | ==== MPI-Parallel ==== |
- | Installed | + | |
- | Installed YES: package USER-CUDA | + | === For example / |
- | src/pair_lj_sdk_coul_long_cuda.cpp does not exist | + | |
- | src/pair_lj_sdk_cuda.cpp does not exist | + | 1. Change into some temporary directory and prepare the submit script for SGE. |
- | | + | |
- | src/pair_lj_sdk_cuda.h does not exist | + | vi ./ |
- | Installed | + | < |
- | Installed | + | #$ -N lammps_peptide |
- | Installed | + | #$ -S /bin/bash |
- | Installed YES: package USER-MISC | + | #$ -cwd |
- | Installed | + | #$ -pe mpich 8 |
- | Installed | + | #$ -V |
- | Installed | + | |
- | Installed | + | export LD_LIBRARY_PATH=/opt/ |
- | Installed | + | export LD_LIBRARY_PATH=/opt/ |
- | Installed | + | export LD_LIBRARY_PATH=/ |
+ | export I_MPI_FABRICS=shm: | ||
+ | |||
+ | mpirun -machinefile $TMPDIR/ | ||
+ | </code> | ||
+ | |||
+ | 2. Submit it and compare the results - log.lammps - to the reference log files in / | ||
+ | < | ||
+ | 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 - ./ |