LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: fescada (fescada_at_[hidden])
Date: 2006-02-14 07:24:55


Hi all,

I finally test the lam 7.1.2b31 on my cluster, and it works.

I think my problem was not a bug on MPI, but an error on my instalattion. I don't know why, but mpicc wrapper
duplicate some -l options.

mpicc mpi_helo_thread.c -o helo_thread -showme
gcc -I/opt/lam-7.1.1/include -pthread mpi_helo_thread.c -o helo_thread -ldl -lpthread -L/lib
-L/opt/lam-7.1.1/lib -llammpio -llamf77mpi -lmpi -llam -laio -laio -lutil -lcr -ldl

that is my wrapper NOW, have duplicates to, but works.

mpicc MYAPP -showme
gcc -I/opt/lam-7.1.2b31/include -pthread MYAPP -L/lib -L/opt/lam-7.1.2b31/lib -llammpio -llamf77mpi -lmpi -llam
-laio -laio -lutil /usr/lib/libcr.so -lcr /usr/lib/libcr.so -ldl

Tanks for your patience

Fabio