> mpicc MPI_C_SAMPLE.o -o hello -L/usr/local/mpi/lam-6.5.9/lib
> ld:
> Unresolved:
> lam_mpi_comm_world
> lam_mpi_int
> *** Exit 1
> Stop.
>
> I didn't find my system (Alpha-Tru64 Unix5.1 ) in the system, you
> tested. Are there some known problems on this system?
We don't have any Alpha machines to test on, but there shouldn't be any
problems. This doesn't look like a platform problem, actually.
Did you call MPI_Init somewhere in your application? The unresolved
symbols are actually static data structures, which are included in the
file that contains a function called by MPI_Init. If you don't call
MPI_Init, those structures are never "pulled in" to the final executable
and you get unresolved symbols.
Hope this helps,
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|