- If you are eligible for the Intel Compiler Free Download. Download the Free Non-Commercial Intel Compiler Download
- Build OpenMPI with Intel Compiler
- Install FFTW. Remember to install FFTW-2.1.x and not FFTW-3.x or you will face an issue fft3d.h(164): catastrophic error: could not open source file "fftw.h" . Read the LAMMPS "Getting Started" Section for more information
- When you are ready and about to compile, there are several "Make" selection found at "$SOURCE/lammps-30Mar10/src/MAKE". I chose the makefile.openmpi. Be default you do not need to edit the Makefile.openmpi. But if you are a guru and want to edit the file, feel free to
- Finally go to the preceding directory by typing
cd .. (ie $SOURCE/lammps-30Mar10/src) make openmpi -j (-j for parallel compilation)
- At the end of the compilation, you should see a lmp_openmpi binary at the src directory. You are almost done
- Check that the executable are properly linked by doing a
# ldd lmp_openmpi
- Remember to include /usr/local/lib in the LD_LIBRARY_PATH if libmpi_cxx.so.0 is located at /usr/local/lib
Thursday, April 29, 2010
Installing lammps using Intel Compilers, OpenMPI and FFTW
This is a entry on how I install LAMMPS using Intel, OpenMPI and FFTW
Subscribe to:
Post Comments (Atom)
1 comment:
You've helped me quite a lot, thanks!
Post a Comment