[lammps-users] Making LAMMPS with optional packages

Please,

While attempting to make LAMMPS with optional <meam> package, l got the following error; (and l got similar errors for other packages also).

<<<

/bin/sh:csh: not found
make: ***[yes-mean] Error 127

Thanks.

Jide

When you type make yes-mean it invokes
the C-shell (csh) on MEAM/Install.csh.

If you don't have the csh program on your box,
then you'll have to manually copy the files into the
src dir - look at Install.csh to see what it does.

I can't imagine you don't have csh on your box,
unless it's Windows, in which case you shouldn't be
using make.

Steve

When you type make yes-mean it invokes
the C-shell (csh) on MEAM/Install.csh.

If you don't have the csh program on your box,
then you'll have to manually copy the files into the
src dir - look at Install.csh to see what it does.

I can't imagine you don't have csh on your box,
unless it's Windows, in which case you shouldn't be
using make.

please note that distributions like ubuntu and fedora have
stopped installing /bin/csh by default and thus this
kind of "error" will show up more often for linux users.
for VMD we have now an alternate launch script in
bourne shell syntax.

cheers,
    axel.

please note that distributions like ubuntu and fedora have
stopped installing /bin/csh by default and thus this
kind of "error" will show up more often for linux users.

/bin/csh is 350 Kb on my box. Some savings. I would
have told them to remove "vi" instead of "csh".

Steve

Thanks.

I have successfully made the libraries for the meam, poems and the reax packages.
I understand that compiling to build them together with LAMMPS may be tricky. While trying that, l got the following error below.
Please, what did l miss out?

Jide

<<<
-latc -lreax -lpoems -lmeam -lgpu -lmpi -lblas -llapack -lifcore -lsvml -lompstub -limf -lifcore -lsvml -lompstub -limf -lcudart -o ../lmp_serial
/usr/bin/ld: cannot find -latc
collect2: ld returned 1 exit status
make[1]: *** [../lmp_serial] Error 1
make[1]: Leaving directory `/home/bart/Desktop/Programs/lammps-8Dec09/src/Obj_serial'
make: *** [serial] Error 2

Jide, it looks like you are also trying to link to our ATC package. My guess is you did something like 'make package-all' in the src directory but based on your e-mail, it sounds like you didn't actually build the ATC library. However, feel free to build it and give it a test drive ;).
Jeremy