lammps installation

Hi all

I want to install FFTW-2.1.5 on a cluster locally (at my home not in the root of cluster) including 16 nodes each of them has 4 cores. I installed FFTW at my home but only in the essential node(cluster.local) I can use of it. In the other nodes (e.g. compute-0-0.local) I recieve the following error:

error while loading shared libraries: libfftw.so.2: cannot open shared object file: No such file or directory

Would you please help me?

Is there any identify way to install FFTW on a cluster locally?

Thanks alot for your time and attention,

Regards

Elena

Hi

you probably only need to specify the path to your fftw library.
You have to modify the LD_LIBRARY_PATH environment variable to include the path to your local fftw installation.
And you have to do it in a way that it is automatically set upon login (so its available when a job is started on a compute node).
Usually you do that by putting it in your shell startup sript (e.g. ".bashrc" or ".cshrc").

Christian

-------- Original-Nachricht --------

Additionally, you need to insure you actually built
FFTW as a shared library. Check if the *.so file
you mention exists. If there is only a libfftw.a then
that is the static library, not the dynamic one.

Steve

Hi all

I want to install FFTW-2.1.5 on a cluster locally (at my home not in the
root of cluster) including 16 nodes each of them has 4 cores. I installed
FFTW at my home but only in the essential node(cluster.local) I can use of
it. In the other nodes (e.g. compute-0-0.local) I recieve the following
error:

error while loading shared libraries: libfftw.so.2: cannot open shared
object file: No such file or directory

Would you please help me?

recompile/reinstall fftw2 while using the --disable-shared flag to configure.
this will avoid having to mess with LD_LIBRARY_PATH. shared libraries
are mostly advantageous, if they are installed in a system location or
when applications load code dynamically.

cheers,
    axel.