[mpich-discuss] `smpd_hash':undefined reference to `MD5'

Anthony Chan chan at mcs.anl.gov
Sat Mar 8 14:35:26 CST 2008


If your configure for smpd and mpich2 build went through fine, I would
expect that all the required libraries for MD5 are on your machine.  Try
link with /opt/mpich2-smpd/bin/mpif90 or mpif77 (instead of ifort)to see
if the MD5 resolves.  If not, try link with -lssl or -lcrypto
(In general, we recommend user to use MPI compiler wrappers instead
of the native compiler whenever possible)

A.Chan

On Sat, 8 Mar 2008, Marc Cozzi wrote:

> I am trying to build a few applications using mpich2-1.0.4p1 on an
> Intel Xeon EM64T cluster running Fedora core 3 w/ Intel 10.1 compilers.
> The reason I'm using mpich 1.0.4 is because something in mpich 1.0.6
> broke tight integration in SGE 5.3 that's running on the cluster. I think it
> was suggested that one build mpich with a configuration as follows:
> ./configure --prefix=/opt/mpich2-smpd --with-pm=smpd --with-pmi=smpd --with-device=c3:sock
>
> This produces an mpich2 install that allow me to build the Amber MD package and runs well
> in the SGE 5.3 environment with something like:
> mpiexec -nopm -rsh -n 8 -machinefile bla bla bla......
>
> However, when building NWchem 5.1, another MD package, I run into errors during the
> build as follows:
> ifort -i8 -align -w -g -vec_report3 -O2 -g   -L/users1/ndrl/nwchem/nwchem-5.1_smpd/lib/LINUX64 -L/users1/ndrl/nwchem/nwchem-5.1_smpd/src/tools/lib/LINUX64  -o /users1/ndrl/nwchem/nwchem-5.1_smpd/bin/LINUX64/nwchem nwchem.o stubs.o -lnwctask -lccsd -lmcscf -lselci -lmp2 -lmoints -lstepper -ldriver -ldftgrad -lnwdft -lgradients -lcphf -lesp -lddscf -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lcafe -lspace -lanalyze -lqhop -lpfft -ldplot -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltddft -ltce -lbq -lcons -lperfm -lneb -lnwcutil -lpario -lglobal -lma -lpeigs -lperfm -lcons -lbq -lnwcutil -L/usr/lib -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread -llapack  -lblas  -larmci -L/opt/mpich2_smpd_static/lib  -ltcgmsg-mpi -lfmpich -lmpich -lpmpich -lmpi -lpthread
> /opt/mpich2_smpd_static/lib/libmpich.a(smpd_hash.o)(.text+0x54): In function `smpd_hash':
> : undefined reference to `MD5'
> make: *** [all] Error 1
>
> There was a dated thread on the Sun Grid web page,
> http://gridengine.sunsource.net/servlets/ReadMsg?list=users&msgNo=12875
>
> So... I tried building mpich2 1.0.4 with static environment and get the same error.
>
> Any idea's or suggestions would be greatly welcome.
>
>   --marc
>
>
>




More information about the mpich-discuss mailing list