[MPICH] Application Link Error when using mpich2-1.0.6 in smpd mode
Cavey, Lester
Lester.Cavey at ATK.COM
Tue Oct 16 11:02:11 CDT 2007
If I build mpich2-1.0.6 configured in regular mode (non-smpd), my linux
application links and runs fine. If I build mpich2-1.0.6 configured in
smpd mode, I get the following error message when I try to link my
application:
"/usr/local/mpich2-1.0.6/lib//libmpich.a(smpd_hash.o): In function
`smpd_hash':
smpd_hash.c:(.text+0x4b): undefined reference to `MD5'"
I get the error when I build mpich2-1.0.6 either like this:
./configure --with-pm=smpd --prefix=/usr/local/mpich2 2>&1 |
tee c.txt
make 2>&1 | tee m.txt
make install 2>&1 | tee mi.txt
or like this:
export CFLAGS=-static
export CXXFLAGS=-static
export FFLAGS=-static
./configure --with-pm=smpd --prefix=/usr/local/mpich2 2>&1 |
tee c.txt
make 2>&1 | tee m.txt
make install 2>&1 | tee mi.txt
My application links to libfmpich.a, libmpich.a, libmpichf90.a and
libmpichcxx.a. I use the Intel Fortran ifort command to link with these
static libraries.
Any ideas on how I can take care of the undefined reference?
Thanks,
Lester
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20071016/77514493/attachment.htm>
More information about the mpich-discuss
mailing list