installation issue

Submitted by jwarnett on Fri, 08/05/2011 - 16:52

I have just got myself a new 16-core computer and am trying to install LIGGGHTS. I remember that the installation wasn't easy on my old machine, and come up with a pretty similar problem. Guess this is more a linux than LIGGGHTS question but any help would be great. It cannot find files again such as

Makefile:93: neigh_full.d: No such file or directory

but notice on the end the error...
mpic++ -g -O -fPIC -DLAMMPS_GZIP -DMPICH_IGNORE_CXX_SEEK -DFFT_NONE -M fix_aveforce.cpp > fix_aveforce.d
fix_aveforce.cpp:14:17: fatal error: mpi.h: No such file or directory
compilation terminated.

So first issue is, I think I need to link it up somewhere with mpi.h. I did a locate and found
/home/jay/Downloads/fftw-2.1.5/mpi/fftw_f77_mpi.h
/home/jay/Downloads/fftw-2.1.5/mpi/fftw_mpi.h
/home/jay/Downloads/fftw-2.1.5/mpi/rfftw_mpi.h
/home/jay/Downloads/mpich2-1.4/src/include/mpi.h
/home/jay/Downloads/mpich2-1.4/src/include/mpi.h.in
/home/jay/Downloads/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpi.h.cmake
/home/jay/Downloads/openmpi-1.4.3/ompi/include/mpi.h
/home/jay/Downloads/openmpi-1.4.3/ompi/include/mpi.h.in
/home/jay/Downloads/openmpi-1.4.3/ompi/mpi/f77/prototypes_mpi.h
/home/jay/mpich2-install/include/mpi.h
/home/jay/myliggghts/src/cfd_datacoupling_mpi.h
/home/jay/myliggghts/src/mympi.h
/home/jay/myliggghts/src/Obj_fedora/cfd_datacoupling_mpi.h
/home/jay/myliggghts/src/Obj_fedora/mympi.h
/home/jay/myliggghts/src/STUBS/mpi.h
/home/jay/openmpi-1.4.3/prefix/include/mpi.h
/usr/include/openmpi-x86_64/mpi.h

So i probably need to link to one of these. I'm unsure which, and how. Guessing its probably going to be one problem at a time again. I've checked that I have all the right packages against my old machine and am pretty sure I am not missing anything. I assume I just need to link a few things together.

Thanks for any help guys

Jay

raguelmoon's picture

raguelmoon | Sat, 08/06/2011 - 13:57

Hi Jay,
Do you want to install LIGGGHTS with fftw? If yes then follow the tutorial on this site. I have posted step-by-step guide of installation of LIGGGHTS with fftw and openMPI.
Cheers,
Ram

Ram

ckloss's picture

ckloss | Mon, 08/08/2011 - 04:48

Hi Jay,
you probably do not want to use fftw. Have a look at makefile "fedora", it uses mpic++ and no fftw.

Cheers,
Christoph