On Mar 13, 2008, at 9:32 PM, Justin Bronder wrote:
> jbronder_at_mejis ~/src/mpi-examples $ mpicc hello_c.c
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `ah_find'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `lam_ksignal'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `lam_arr_append'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `ah_delete'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `lam_errorstr'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `lam_ssi_cr_did'
> /usr/lib64/mpi/mpi-lam-unpatched/usr/lib64/libmpi.so: undefined
> reference to `lam_rtrnameget'
> ...
> This is a long list.
Your solution doesn't make sense in this case -- those symbols have
nothing to do with liblamf77mpi, but are in liblam.so. liblamf77mpi
should never be linked into hello_c.c, as it's all Fortran code. Is it
possible that something else is going on?
Brian
--
Brian Barrett
LAM/MPI Developer
Make today a LAM/MPI day!
|