[mpich-discuss] Troubles compiling mpich 3.1.3 and 3.1.4 with MX

Caroline Papadopoulos cpapadop at ucsd.edu
Fri Mar 13 11:09:17 CDT 2015


Thank you !!!,

I will give it a whirl and let you know :-)

cheers,

Caroline


On 03/13/2015 07:30 AM, Kenneth Raffenetti wrote:
> 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
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>

-- 
==  Caroline Papadopoulos         Physical Oceanography Research Division
==			  	  Scripps Institution of Oceanography
==  office:450 Nierenberg Hall    9500 Gilman Drive, Dept 0230
==  email:caroline at ucsd.edu       University of California, San Diego
==  Phone:(858) 822-2726          La Jolla, CA 92093-0230
==
_______________________________________________
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