[mpich-discuss] couldn't built mpich-master on SuSE Linux with Sun C

Raffenetti, Kenneth J. raffenet at mcs.anl.gov
Tue Oct 9 17:11:24 CDT 2018


Siegmar,

In case you didn't see it, this is the PR: 
https://github.com/pmodels/mpich/pull/3353.

Ken

On 10/3/18 3:53 PM, Congiu, Giuseppe wrote:
> Siegmar,
> 
> I have created a pull request that should fix the fortran detection 
> problem with mpich. Can you try it and see if it works for you?
> 
> Thank you,
> Giuseppe
> 
> 
> 
>> On Oct 3, 2018, at 1:25 PM, Congiu, Giuseppe <gcongiu at anl.gov 
>> <mailto:gcongiu at anl.gov>> wrote:
>>
>> Hi Siegmar,
>>
>> We have looked into the problem. It seems this is not MPICH specific 
>> but rather libtools specific. I have created an issue 
>> (https://github.com/pmodels/mpich/issues/3350) for this. You can look 
>> at it for bug fix updates.
>>
>> Best,
>> Giuseppe
>>
>>> On Oct 1, 2018, at 6:16 AM, Siegmar Gross 
>>> <siegmar.gross at informatik.hs-fulda.de 
>>> <mailto:siegmar.gross at informatik.hs-fulda.de>> wrote:
>>>
>>> Hi Giuseppe,
>>>
>>> my email is being held until the list moderator can review it for 
>>> approval,
>>> because the attachments are too big. Therefore, I send it directly to 
>>> you.
>>>
>>>
>>> Best regards
>>>
>>> Siegmar
>>>
>>>
>>> -------- Forwarded Message --------
>>> Subject: Re: [mpich-discuss] couldn't built mpich-master on SuSE 
>>> Linux with Sun C
>>> Date: Mon, 1 Oct 2018 10:37:58 +0200
>>> From: Siegmar Gross <Siegmar.Gross at informatik.hs-fulda.de 
>>> <mailto:Siegmar.Gross at informatik.hs-fulda.de>>
>>> To: Users MPICH <discuss at mpich.org <mailto:discuss at mpich.org>>
>>>
>>> Hi Giuseppe,
>>>
>>> today I've tried to build the latest master version so that you don't 
>>> have
>>> to deal with an old version. I still get the same error.
>>>
>>> loki mpich-master_2018-10-01_Linux.x86_64.64_cc 150 cc -V
>>> cc: Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30
>>>
>>> I've attached the requested files. Thank you very much for any help 
>>> in advance.
>>>
>>>
>>> Best regards
>>>
>>> Siegmar
>>>
>>>
>>>
>>> On 09/26/18 21:41, Congiu, Giuseppe wrote:
>>>> Hi Siegmar,
>>>> I have tried replicating the linking problem using the configure 
>>>> options you provided. I have used Oracle Developer Studio 12.3.
>>>> Mpich master “701bc7e5f84467188dcdc1ff585349e994a9990a". Compilation 
>>>> worked fine for me. Can you attach your config.log
>>>> file so I can have a look at it? Moreover, can you recompile Mpich 
>>>> with "make V=1" and attach the corresponding output as well?
>>>> Thank you,
>>>> Giuseppe
>>>>> On Jun 6, 2018, at 6:21 AM, Siegmar Gross 
>>>>> <siegmar.gross at informatik.hs-fulda.de 
>>>>> <mailto:siegmar.gross at informatik.hs-fulda.de>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I tried to build mpich-master on my "SUSE Linux Enterprise Server 12.3
>>>>> (x86_64)" with Sun C 5.15 (Oracle Developer Studio 12.6). 
>>>>> Unfortunately,
>>>>> I get the following error, that I already reported already on May 9th.
>>>>>
>>>>>
>>>>> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 122 tail -22 
>>>>> log.make.Linux.x86_64.64_cc | grep -v NOTICE
>>>>> "../mpich/src/include/mpir_handlemem.h", line 61: warning: null 
>>>>> dimension: indirect
>>>>> "../mpich/src/include/mpir_handlemem.h", line 122: warning: null 
>>>>> dimension: indirect
>>>>>  MOD      src/binding/fortran/use_mpi/mpi.mod-stamp
>>>>> "./src/include/mpichconf.h", line 1708: Warning (Anachronism): 
>>>>> Attempt to redefine __restrict__ without using #undef.
>>>>> 1 Warning(s) detected.
>>>>> f90: Warning: Option -shared passed to ld, if ld is invoked, 
>>>>> ignored otherwise
>>>>> f90: Warning: Option --whole-archive passed to ld, if ld is 
>>>>> invoked, ignored otherwise
>>>>> f90: Warning: Option --no-whole-archive passed to ld, if ld is 
>>>>> invoked, ignored otherwise
>>>>> f90: Warning: Option -path passed to ld, if ld is invoked, ignored 
>>>>> otherwise
>>>>> f90: Warning: Option -path passed to ld, if ld is invoked, ignored 
>>>>> otherwise
>>>>> f90: Warning: Option -soname passed to ld, if ld is invoked, 
>>>>> ignored otherwise
>>>>> /usr/bin/ld: -r and -shared may not be used together
>>>>> postopt: error: ld failed to link the binary
>>>>> Makefile:16787: recipe for target 'lib/libmpi.la 
>>>>> <http://libmpi.la/>' failed
>>>>> make[2]: *** [lib/libmpi.la <http://libmpi.la/>] Error 2
>>>>> make[2]: Leaving directory 
>>>>> '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'
>>>>> Makefile:39797: recipe for target 'all-recursive' failed
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory 
>>>>> '/export2/src/mpich-master/mpich-master_2018-06-06_Linux.x86_64.64_cc'
>>>>> Makefile:10453: recipe for target 'all' failed
>>>>> make: *** [all] Error 2
>>>>> loki mpich-master_2018-06-06_Linux.x86_64.64_cc 123
>>>>>
>>>>>
>>>>> I used the following commands to update and configure MPICH.
>>>>>
>>>>> cd mpich
>>>>> git pull https://github.com/pmodels/mpich.git master
>>>>> git submodule update --init --recursive
>>>>> autogen.sh
>>>>>
>>>>> mkdir mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc
>>>>> cd mpich-master_`date -I'date'`_${SYSTEM_ENV}.${MACHINE_ENV}.64_cc
>>>>>
>>>>> ../mpich/configure \
>>>>>  --prefix=/usr/local/mpich-master_64_cc \
>>>>>  --libdir=/usr/local/mpich-master_64_cc/lib64 \
>>>>>  --includedir=/usr/local/mpich-master_64_cc/include64 \
>>>>>  CC="cc" CXX="CC" F77="f77" FC="f95" \
>>>>>  CFLAGS="-m64" CXXFLAGS="-m64" FFLAGS="-m64" FCFLAGS="-m64" \
>>>>>  LDFLAGS="-m64 -L/usr/lib64 -R/usr/lib64" \
>>>>>  --enable-fortran=yes --enable-cxx --enable-romio \
>>>>>  --enable-debuginfo --enable-smpcoll \
>>>>>  --enable-threads=multiple --with-thread-package=posix \
>>>>>  --enable-shared \
>>>>>  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc
>>>>>
>>>>> make -j 6 |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_cc
>>>>>
>>>>>
>>>>> I would be grateful, if somebody can fix the problem or is it a 
>>>>> problem of the
>>>>> Oracle compiler?. Do you need anything else? Thank you very much 
>>>>> for any help
>>>>> in advance.
>>>>>
>>>>>
>>>>> Kind regards
>>>>>
>>>>> Siegmar
>>>>> _______________________________________________
>>>>> discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>>>>> To manage subscription options or unsubscribe:
>>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>> _______________________________________________
>>>> discuss mailing list discuss at mpich.org <mailto:discuss at mpich.org>
>>>> To manage subscription options or unsubscribe:
>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>> <config.log><log.configure.Linux.x86_64.64_cc><log.make.Linux.x86_64.64_cc>
>>
> 
> 
> _______________________________________________
> 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


More information about the discuss mailing list