This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:161 [2018/08/23 12:45] hmeij07 |
cluster:161 [2020/07/16 17:16] (current) hmeij07 |
||
---|---|---|---|
Line 4: | Line 4: | ||
==== lammps-11Aug17 ==== | ==== lammps-11Aug17 ==== | ||
- | ok, new version much easier | + | lammps-11Aug17 (n78)\\ |
+ | and now lammps-22Aug18 (n33-n37)\\ | ||
+ | and now lammps-5Jun19 (microway)\\ | ||
- | < | + | Update: |
+ | * n78/gtx1080 lammps 11aug17 (centos7, mpich3/ | ||
+ | * [[cluster: | ||
+ | * n37/k20 lammps 22aug18 (centos7, openmpi 1.8.4/ | ||
+ | * [[cluster: | ||
+ | * n33/k20 lammps 11aug17 + 22aug18 (centos6, openmpi 1.8.4, cuda 5/sm35, / | ||
+ | * this page | ||
+ | * n33/k20 older lammps (centos6, mvapich, cuda 5/sm_??, / | ||
+ | * / | ||
+ | --- // | ||
+ | |||
+ | < | ||
+ | N78 | ||
# devel packages for libjpeg, blas, lapack, boost | # devel packages for libjpeg, blas, lapack, boost | ||
Line 20: | Line 34: | ||
# edits | # edits | ||
CUDA_HOME = / | CUDA_HOME = / | ||
- | # best fitting ARCH for GTX 1080 with CUDA 8 | + | |
+ | # best fitting ARCH for GTX 1080 with CUDA 8+ | ||
CUDA_ARCH = -arch=sm_61 | CUDA_ARCH = -arch=sm_61 | ||
+ | # best fitting ARCH for P100 with CUDA 8+ | ||
+ | CUDA_ARCH = -arch=sm_60 | ||
+ | # best fitting ARCH for RTX/T4 with CUDA 10+ | ||
+ | CUDA_ARCH = -arch=sm_75 | ||
http:// | http:// | ||
+ | |||
+ | # generate DOUBLE_DOUBLE (case matters) | ||
CUDA_PRECISION = -D_DOUBLE_DOUBLE | CUDA_PRECISION = -D_DOUBLE_DOUBLE | ||
make -f Makefile.linux.double | make -f Makefile.linux.double | ||
Line 36: | Line 57: | ||
JPG_LIB = | JPG_LIB = | ||
+ | |||
+ | make purge | ||
+ | make yes-rigid | ||
make yes-gpu | make yes-gpu | ||
make yes-colloid | make yes-colloid | ||
Line 42: | Line 66: | ||
make yes-misc | make yes-misc | ||
make yes-molecule | make yes-molecule | ||
+ | make yes-user-omp | ||
+ | make package-update | ||
+ | |||
which mpicxx | which mpicxx | ||
make mpi | make mpi | ||
- | mv lmp_mpi / | + | mv lmp_mpi / |
# repeat from scratch for SINGLE_SINGLE and SINGLE_DOUBLE | # repeat from scratch for SINGLE_SINGLE and SINGLE_DOUBLE | ||
+ | # different makefiles same edits | ||
Line 66: | Line 94: | ||
< | < | ||
- | # on n33, a gpu node | + | # N33, a gpu node |
- | mkdir /tmp/laamps; cd !$ | + | mkdir /tmp/lammps; cd !$ |
gunzip lammps-stable.tar.gz | gunzip lammps-stable.tar.gz | ||
tar xvf lammps-stable.tar | tar xvf lammps-stable.tar | ||
Line 100: | Line 128: | ||
cd .. | cd .. | ||
#no cp MAKE/ | #no cp MAKE/ | ||
- | # edit MAKE/MAkefile.serial | + | |
+ | add compiler flag (centos7, 2020: -std=c++11) | ||
+ | |||
+ | # edit MAKE/Makefile.serial | ||
# leave gcc++ icc/icpc -DLAMMPS_JPEG for LMP_INC | # leave gcc++ icc/icpc -DLAMMPS_JPEG for LMP_INC | ||
# JPG_INC = | # JPG_INC = | ||
Line 181: | Line 212: | ||
# need both / | # need both / | ||
- | # the malaysan | + | # the malaysian |