Compilation of LAMMPS on cygwin

Dear all,

I am new to LAMMPS and not very good in LINUX . I am trying to compile LAMMPS on cygwin. I have doenloaded FFTW2-1.5. and mpich2-1.5 and have executed "./configure and “/.make”

but when I execute make cygwin in /LAMMPS/src I get the error:

"make[1]: mpicxx: Command not found

Makefile:87: recipe for target `fft3d_wrap.o’ failed

make[1]: *** [fft3d_wrap.o] Error 127

make[1]: Leaving directory `/lammps-13Dec11/src/Obj_cygwin’

Makefile:65: recipe for target `cygwin’ failed

make: *** [cygwin] Error 2"

Since I do not need mpi on my computer as I am running LAMMPS in the serial mode, i tried to execute make serial but got another error:

"g++: …/STUBS/libmpi.a: No such file or directory

Makefile:77: recipe for target `…/lmp_serial’ failed

make[1]: *** […/lmp_serial] Error 1

make[1]: Leaving directory `/lammps-13Dec11/src/Obj_serial’

Makefile:65: recipe for target `serial’ failed

make: *** [serial] Error 2"

Why would a serial version look for lipmpi?? Please can anyone help me in either case.

Thanks

Elie M

University of Notts

UK

NG7 2RD

Have you already seen this?

http://sjbyrnes.com/LAMMPStutorial.html

v/r,

D. Casimir

Dear all,

I am new to LAMMPS and not very good in LINUX . I am trying to compile

the best way to deal with it, is to find somebody locally
that *does* know linux and particularly using/compiling with MPI.
they do exist (despite many claims otherwise), it may just take a
little effort and an offer to help with something that you have expertise
in as compensation..

LAMMPS on cygwin. I have doenloaded FFTW2-1.5. and mpich2-1.5 and have

cygwin is windows *not* linux.

executed "./configure and "/.make"

there is no "configure" and "/.make" is wong, too.

but when I execute make cygwin in /LAMMPS/src I get the error:

"make[1]: mpicxx: Command not found

you may have MPICH installed, but it doesn't appear to be in your path.

Makefile:87: recipe for target `fft3d_wrap.o' failed

make[1]: *** [fft3d_wrap.o] Error 127

make[1]: Leaving directory `/lammps-13Dec11/src/Obj_cygwin'

this looks like an outdated version of lammps. please upgrade
to a current one. nobody is likely to help with problems with ab
obsolete version.

Makefile:65: recipe for target `cygwin' failed

make: *** [cygwin] Error 2"

Since I do not need mpi on my computer as I am running LAMMPS in the serial
mode, i tried to execute make serial but got another error:

"g++: ../STUBS/libmpi.a: No such file or directory

Makefile:77: recipe for target `../lmp_serial' failed

make[1]: *** [../lmp_serial] Error 1

make[1]: Leaving directory `/lammps-13Dec11/src/Obj_serial'

Makefile:65: recipe for target `serial' failed

make: *** [serial] Error 2"

Why would a serial version look for lipmpi?? Please can anyone help me in
either case.

all you need to do is to follow the installation instructions carefully
and if you don't know what they mean, find somebody to explain
them to do. doing this via a mailing list is very inefficient for both
sides, you as the person wanting to learn, and the person trying to
help, as all communication of problem is indirect and may be tainted
by inexact descriptions and typos, as it commonly happens with
people that have little experience.

axel.