On Feb 14, 2006, at 7:24 AM, fescada wrote:
> I finally test the lam 7.1.2b31 on my cluster, and it works.
Excellent.
> 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
We're aware of these -- they're an artifact of the configure
process. But they should be harmless.
> 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
If this is from b31, I wouldn't focus much on the wrapper compiler
flag changes -- I think the other changes that we made are what made
it work. If you still care, you can try compiling manually with the
same options that you had before -- I'm *guessing* that it should
still work fine and that the real difference is the bug fixes that we
have made in LAM.
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/
|