Difference between revisions of "LAMMPS"
(→Building with TAU) |
(→Building with TAU) |
||
Line 40: | Line 40: | ||
cd examples/USER/cuda | cd examples/USER/cuda | ||
mpirun -np 3 tau_exec -T mpi,cupti,pdt -cupti $(LAMMPS_ROOT)/src/lmp_keeneland -sf cuda -cuda on < in.melt_5.0.cuda | mpirun -np 3 tau_exec -T mpi,cupti,pdt -cupti $(LAMMPS_ROOT)/src/lmp_keeneland -sf cuda -cuda on < in.melt_5.0.cuda | ||
+ | |||
+ | |||
+ | === MPICH2 === | ||
+ | As of this writing the USER/CUDA package requires mpich2 to run on more than one node. Here are the commands to get started: | ||
+ | |||
+ | qlogin -V -l nodes=2:ppn=3 | ||
+ | mpdboot --totalnum=2 --ncpus=3 -f mpich_machines.txt | ||
+ | cat mpich_machines.txt | ||
+ | kid008.nics.utk.edu:3 | ||
+ | kid009.nics.utk.edu:3 | ||
+ | mpirun -np 6 tau_exec -T icpc,mpi,pdt,cupti,mpich2 -cupti /lustre/medusa/biersdor/mylammps/src/lmp_keeneland_tau_mpich2 -sf cuda -cuda on < in.melt_2.5.cuda | ||
== Performance results == | == Performance results == |
Revision as of 18:58, 3 May 2012
Link | Code Version | Machine | Date |
---|---|---|---|
Sandia website | git repo | Keeneland | March 2011 |
Building with TAU
To start copy over the file Makefile.keeneland to the src/MAKE directory. Then do,
configure TAU:
./configure -mpi -cuda=<cuda dir> -pdt=<pdt dir> make install
build LAMMPS:
cd src make yes-user-cuda cd ../lib/cuda make lib cd ../../src export TAU_MAKEFILE=<path to TAU>/x86_64/lib/Makefile.tau-icpc-mpi-pdt export TAU_OPTIONS='-optVerbose -optShared' make keeneland CC=tau_cc.sh CXX=tau_cxx.sh F90=tau_f90.sh LINK=tau_cc.sh
running:
cd examples/USER/cuda mpirun -np 3 tau_exec -T mpi,cupti,pdt -cupti $(LAMMPS_ROOT)/src/lmp_keeneland -sf cuda -cuda on < in.melt_5.0.cuda
MPICH2
As of this writing the USER/CUDA package requires mpich2 to run on more than one node. Here are the commands to get started:
qlogin -V -l nodes=2:ppn=3 mpdboot --totalnum=2 --ncpus=3 -f mpich_machines.txt cat mpich_machines.txt kid008.nics.utk.edu:3 kid009.nics.utk.edu:3 mpirun -np 6 tau_exec -T icpc,mpi,pdt,cupti,mpich2 -cupti /lustre/medusa/biersdor/mylammps/src/lmp_keeneland_tau_mpich2 -sf cuda -cuda on < in.melt_2.5.cuda