LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: ash (a.sh1001_at_[hidden])
Date: 2010-04-12 01:37:35

Yes, you are right

There is a difference between fedora 8 and opensuse lib paths.

In opensuse the lam is created in /usr/local/lib and the search to find the
folder under /usr/lib/lam is unsuccessful. so I want to know how I can
reconfigure suse in order to force it to make lam in the expected path or
change lam to look in /usr/local/lib instead of /usr/lib/lam.

P.S there exists a directory /usr/lib/mpi/gcc/openmpi that i have not
created. may it be possible that lam looks in the specified path?

P.S in my fedora 8 machine mpicc generate the following code:
*gcc -I/usr/local/include -pthread -o cpi.exe cpi.c -L/usr/local/lib
-llammpio -llamf77mpi -lmpi -llam -lutil -ldl*
in opensuse:

*gcc -I/usr/lib/mpi/gcc/openmpi/include/openmpi
-I/usr/lib/mpi/gcc/openmpi/include -pthread -o cpi.exe cpi.c
-L/usr/lib/mpi/gcc/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl
-Wl,--export-dynamic -lnsl -lutil -lm -ldl*