Difference between revisions of "LAMMPS"

From Tau Wiki
Jump to: navigation, search
Line 20: Line 20:
  
 
  cd src
 
  cd src
 +
make yes-user-cuda
 +
cd ../lib/cuda
 +
make lib
 +
cd ../../src
 
  make keeneland
 
  make keeneland
  
  
 
configure TAU:
 
configure TAU:
 
To compile LAMMPS on helios.cs.uoregon.edu,
 
 
<pre>
 
% cd ~sameer/apps/lammps-3Jun05
 
% cd src
 
% mpicxx -c *.cpp -DFFT_FFTW -DGZIP -I/usr/local/packages/fftw-2.1.5/include
 
% mpicxx *.o -o lammps -L/usr/local/packages/fftw-2.1.5/lib -lfftw
 
% cd ..
 
% cd examples/indent
 
% mpirun -np 4 ./lammps < in.indent
 
</pre>
 
 
There is a MAKE directory there with makefiles that you can edit.
 

Revision as of 21:41, 25 April 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,

cd src
make yes-user-cuda
cd ../lib/cuda
make lib
cd ../../src
make keeneland


configure TAU: