[mpich-discuss] Troubles compiling mpich 3.1.3 and 3.1.4 with MX
Kenneth Raffenetti
raffenet at mcs.anl.gov
Fri Mar 13 09:30:41 CDT 2015
Hi Caroline,
You can try the attached patch to fix the library name for myriexpress.
The patch requires re-running autogen.sh in the base mpich directory,
which means you'll have to have autoconf/automake/libtool installed and
up-to-date on your machine.
I also wanted to point out that support for the MX netmod is dropped in
the MPICH 3.2 series.
Thanks,
Ken
On 03/12/2015 03:08 PM, Caroline Papadopoulos wrote:
> Dear list,
>
> I am having issues compiling the following versions of mpich:
>
> 3.1.3
> 3.1.4
>
> but
>
> 3.1.2 and earlier versions compile just fine.
>
> I am using the same compile options except MYINSTALLDIR is updated
> to the correct version:
>
>> export MYINSTALLDIR=/export/home/root/bin/mpich-3.1.3_pgi-15.3
>> export CC=pgcc
>> export CXX=pgcpp
>> export F77=pgfortran
>> export FC=pgf90
>> unset F90
>> export CFLAGS=''
>> export CXXFLAGS=${CFLAGS}
>> export FFLAGS=${CFLAGS}
>> export FCFLAGS=${FFLAGS}
>> unset F90FLAGS
>> ./configure --prefix=${MYINSTALLDIR} --with-device=ch3:nemesis:mx
>> --with-mx-include=/opt/mx/include --with-mx-lib=/opt/mx/lib >&
>> config.txt
>> make >& make.txt
>> make install >& make_install.txt
>
>
> The error that I am getting for 3.1.3 and 3.1.4 is:
>
>> CC src/pmi/simple/lib_libmpi_la-simple_pmiutil.lo
>> CC src/pmi/simple/lib_libmpi_la-simple_pmi.lo
>> GEN lib/libmpi.la
>> /usr/bin/ld: cannot find -lmx
>> make[2]: *** [lib/libmpi.la] Error 2
>> make[2]: Leaving directory `/export/home/root/src/mpich-3.1.3'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/export/home/root/src/mpich-3.1.3'
>> make: *** [all] Error 2
>
>
> In fact the mx library is called:
>
> libmyriexpress.a libmyriexpress.so
>
> rather than libmx.a and libmx.so
>
> So is there a configure option to have it use -lmyriexpress instead of
> -lmx ??
>
> This all works fine up to 3.1.3, so for now I am just going to use
> 3.1.2 but did want to update to the newest version 3.1.4.
>
>
>
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myriexpress.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150313/29aea7d1/attachment.bin>
-------------- next part --------------
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list