installation error

Hi all,
I was trying to install Lammps in CentOs6.4. I have got this error,

mpirun -g -O -I/tmp/fftw-2.1.5/prefix/include -DFFT_FFTW -DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX -DFFT_FFTW -M …/angle_charmm.cpp > angle_charmm.d
mpirun -g -O -I/tmp/fftw-2.1.5/prefix/include -DFFT_FFTW -DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX -DFFT_FFTW -c …/angle_charmm.cpp
/usr/bin/mpdroot: open failed for root’s mpd conf filempiexec_batista (init 1208): forked process failed; status=255
make[1]: *** [angle_charmm.o] Error 255
make[1]: Leaving directory `/tmp/lammps-23Sep13/src/Obj_linux’
make: *** [linux] Error 2
[root@…4517… src]#

Is that may be a problem that I have not configure openmpi, it was automatically configured when another software was installed ? Although “mpirun” command is running in terminal.
I have tried to solve by creating mpd.conf at /etc/ and by writing the secrete word in that file. But in that case error is “did not find secrete word”

My make file is here :

CC = mpirun
CCFLAGS = -g -O -I/tmp/fftw-2.1.5/prefix/include -DFFT_FFTW -DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX
SHFLAGS = -fPIC
DEPFLAGS = -M

LINK = mpirun
LINKFLAGS = -O -L/usr/lib64/openmpi/lib -L/tmp/fftw-2.1.5/prefix/lib
LIB = -lpthread -lstdc++
SIZE = size

ARCHIVE = ar
ARFLAGS = -rc
SHLIBFLAGS = -shared

MPI_INC =
MPI_PATH =
MPI_LIB =

JPG_INC =
JPG_PATH =
JPG_LIB =

Please make comment.

Cheng

Hi all,
I was trying to install Lammps in CentOs6.4. I have got this error,

mpirun -g -O -I/tmp/fftw-2.1.5/prefix/include -DFFT_FFTW
-DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX -DFFT_FFTW -M
../angle_charmm.cpp > angle_charmm.d
mpirun -g -O -I/tmp/fftw-2.1.5/prefix/include -DFFT_FFTW
-DOMPI_IGNORE_CXX_SEEK -DOMPI_SKIP_MPICXX -DFFT_FFTW -c
../angle_charmm.cpp
/usr/bin/mpdroot: open failed for root's mpd conf filempiexec_batista
(__init__ 1208): forked process failed; status=255
make[1]: *** [angle_charmm.o] Error 255
make[1]: Leaving directory `/tmp/lammps-23Sep13/src/Obj_linux'
make: *** [linux] Error 2
[[email protected]... src]#

AIIIIIHHHHH!!!! *never* compile software as root. *ever*! that is a
very, *very* bad idea. there is nothing in LAMMPS requires superuser
access.

Is that may be a problem that I have not configure openmpi, it was
automatically configured when another software was installed ? Although

no. the problem is that you are trying to use "mpirun" as a compiler.

"mpirun" command is running in terminal.

mpirun is used to run the resulting executable, not to compile.

I have tried to solve by creating mpd.conf at /etc/ and by writing the
secrete word in that file. But in that case error is "did not find secrete
word"

[...]

Please make comment.

your problem is not a LAMMPS problem, but a mixture of an MPI problem
and not knowing what you are doing.

unless there is a special reason to compile LAMMPS for yourself, you
are likely better off to use the pre-compiled RPMS from here:
http://git.icms.temple.edu/rpm/

axel.