[lammps-users] Query on compiling lammps

Steve,

I am sending all the command lines and output i got when compiling lammps. First i used the command “make” and after that i tried "make linux " to generate the execultable file. But it showed a lot of errors. Can some one mail me the executable file of lammps version of 7th july if they have one??

Thanks
Ajit

autohome/u106/lammps-7Jul09/src$ make
make clean-all delete all object files
make clean-machine delete object files for one machine
make tar lmp_src.tar.gz of src dir and packages
make makelib update Makefile.lib for library build
make makelist update Makefile.list used by old makes
make package list available packages
make package-status status of all packages
make yes-package install a single package in src dir
make no-package remove a single package from src dir
make yes-all install all packages in src dir
make no-all remove all packages from src dir
make yes-standard install all standard packages
make no-standard remove all standard packages
make yes-user install all user packages
make no-user remove all user packages
make package-update replace src files with package files
make package-overwrite replace package files with src files
make machine build LAMMPS where machine is one of:

altix = SGI Altix, Intel icc, MPI, FFTs from SGI SCSL library

bgl = LLNL Blue Gene Light machine, xlC, native MPI, FFTW

cheetah = ORNL IBM machine, mpCC, native MPI, FFTW

crockett = RedHat Linux box, mpiCC, LAM MPI, no FFTs

cygwin = Windows Cygwin, mpicxx, FFTW

debian = Debian, g++, MPICH, FFTW

diesel = SGI Origin 350, 64-bit, SGI MIPSpro CC, SGI MPT, SGI SCSL MP FFTs

encanto = NM cluster with dual quad-core Xeons, mpicxx, native MPI, FFTW

fink = Mac OS-X w/ fink installed libraries, c++, no MPI, FFTW 2.1.5

freebsd = FreeBSD box, 7.0-RELEASE, LAM/MPI, FFTW

g++ = RedHat Linux box, g++, MPICH2, FFTW

g++_meam = RedHat Linux box, g++, MPICH, FFTW, MEAM library

g++_poems = RedHat Linux box, g++, MPICH, FFTW, POEMS library

g++_poems_meam = RedHat Linux box, g++, MPICH, FFTW, POEMS & MEAM library

g++_reax = RedHat Linux box, g++, MPICH2, FFTW, REAX lib

glory = Linux cluster with 4-way quad cores, Intel mpicxx, native MPI, FFTW

intel = Fedora Core 6, intel icc 9.1, FFTW2, no MPI

intel_mkl = Intel Cluster Tools with MKL library for FFTs and MPI

liberty = HP cluster with dual 3.0 GHz Xeons, mpiCC, native MPI, FFTW

liberty_poems_meam = HP cluster w/ dual Xeons, mpiCC, native MPI, FFTW, POEMS/MEAM libs

linux = RedHat Linux box, Intel icc, MPICH2, FFTW

linux_poems_meam = RedHat Linux box, Intel icc, MPICH, FFTW, POEMS & MEAM lib

linux_poems_meam = RedHat Linux box, Intel icc, MPICH, FFTW, POEMS/MEAM/REAX libs

linux_reax = RedHat Linux box, Intel icc, MPICH2, FFTW, REAX lib

mac = Apple PowerBook G4 laptop, c++, no MPI, FFTW 2.1.5

mac_mpi = Apple PowerBook G4 laptop, Finked LAM/MPI, Finked FFTW 2.1.5

mac_reax = Apple PowerBook G4 laptop, Finked LAM/MPI, Finked FFTW 2.1.5, REAX lib

odin = 1400 cluster, g++, MPICH, no FFTs

openmpi = Fedora Core 6, gcc/g++ 4.1, OpenMPI-1.1 , FFTW2, Open MPI

opensuse = openSUSE linux, g++, MPICH, FFTW

pg = Portland Group compiler, MPICH, FFTW

pg_meam = Portland Group compiler, MPICH, FFTW, MEAM lib

power5 = IBM Power5+ machine, mpCC, FFTW

qed = CSRI cluster, Intel Xeons + Ethernet, mpiCC, MPICH, no FFTs

ross = CPlant cluster (compile on taylor), c++, native MPI, DEC FFTs

sdsc = SDSC BG/L machine, xlC, native MPI, FFTW

seaborg = NERSC IBM machine, mpCC, native MPI, FFTW

serial = RedHat Linux box, g++, no MPI, no FFTs

serial_debug = Fedora Core 6, GNU gcc/g++ 4.1, FFTW2, no MPI, debug info

serial_icc = RedHat Linux box, icc, no MPI, no FFTs

solaris = Sun box, c++, no MPI, no FFTs

spirit = HP cluster with dual 3.4 GHz EM64T (64 bit), mpiCC, native MPI, FFTW

squall = Red Squall (compile on srnsquall), pgiCC, MPI, FFTW

storm = Cray Red Storm, Cray mpicxx, native MPI, FFTW

storm_poems = Cray Red Storm, Cray mpicxx, native MPI, FFTW, POEMS library

g++ = UT Lonestar TACC machine, mpiCC, MPI, FFTW

tbird = Dell cluster with dual 3.6 GHz Xeons, Intel mpicxx, native MPI, FFTW

tesla = 16-proc SGI Onyx3, g++, no MPI, SGI FFTs

tflop = Intel Tflops (compile on sasn100), ciCC, native MPI, Intel FFTs

valor = HP cluster with dual Xeons, mpiCC, native MPI, FFTW

xt3 = PSC BigBen Cray XT3, GCC, native MPI, FFTW

ydl = Yellow Dog Linux box, xlc -q64, MPICH, FFTW

This is the first actual error:
/bin/sh: icc: command not found

You don't have the icc compiler, at least not in your path.
Use g++ or something else if necessary.

Steve