Jan 22, 2011

installation problems on CFLAGS, CPPFLAGS, and LDFLAGS

When installing LAMMPS and ESPResSo, the softwares do not find fftw path automatically.
So, adding the fftw path to the default path (.bashrc and/or .bash_profile) is necessary.


CFLAGS=-I/usr/global/fftw/2.1.5/gnu/include
CPPFLAGS=-I/usr/global/fftw/2.1.5/gnu/include
LDFLAGS=-L/usr/global/fftw/2.1.5/gnu/lib
export CFLAGS CPPFLAGS LDFLAGS


For information, ESPResSo can use fftw 3 but LAMMPS use fftw 2 at present (Jan 2011).


.bashrc is loaded when using remote desktop connection (then, terminal).
.bash_profile is loaded when connecting with telnet or SSH secure shell.

No comments:

Post a Comment