[mpich-discuss] Compilation with AOCC - clang-8 errors unsupported options '-soname', etc.

Thomas Jahns jahns at dkrz.de
Fri Nov 8 05:02:26 CST 2019


On 11/7/19 6:37 PM, Zhou, Hui via discuss wrote:
> The attached log does not show libtool options. Is it possible to 
> reproduce and obtain the output of `./libtool —config`?

I think

./libtool --tag=FC --config

might be more interesting?

Thomas



> 
>> Hui Zhou
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On Nov 7, 2019, at 11:22 AM, Je Iaa <jeiaa at gmx.com 
>> <mailto:jeiaa at gmx.com>> wrote:
>>
>> Hi Hui,
>> Thank you for looking into this.
>> You will find the log attached.
>> Regards,
>> J
>> *Sent:* Thursday, November 07, 2019 at 5:03 PM
>> *From:* "Zhou, Hui" <zhouh at anl.gov <mailto:zhouh at anl.gov>>
>> *To:* "discuss at mpich.org <mailto:discuss at mpich.org>" 
>> <discuss at mpich.org <mailto:discuss at mpich.org>>
>> *Cc:* "Je Iaa" <jeiaa at gmx.com <mailto:jeiaa at gmx.com>>
>> *Subject:* Re: [mpich-discuss] Compilation with AOCC - clang-8 errors 
>> unsupported options '-soname', etc.
>> Those options are libtool options that supposed to be passed down to 
>> linker. It looks like the libtool is misconfigured. Could you do `make 
>> V=1` and attach a more verbose log?
>>>> Hui Zhou
>>
>>     On Nov 7, 2019, at 9:53 AM, Je Iaa via discuss <discuss at mpich.org
>>     <mailto:discuss at mpich.org>> wrote:
>>     Hi,
>>     I am trying without success to install mpich3.3.1 on virtual
>>     machine with AMD EPYC Processors and the AOCC2.0.0 compiler.
>>     This is what I did and the error I get:
>>     export PREFIX=/opt/modules/packages
>>     export MPICH_HOME=$PREFIX/mpich/3.3.1-aocc2.0.0
>>     export CC=clang
>>     export CXX=clang++
>>     export FC=flang
>>     export F77=flang
>>
>>     mkdir -p $MPICH_HOME
>>     tar xvf mpich-3.3.1.tar.gz
>>     cd mpich-3.3.1
>>     ./configure --prefix=$MPICH_HOME
>>
>>     make
>>     Failed:
>>     clang-8: error: unsupported option '--whole-archive'
>>     clang-8: error: unsupported option '--no-whole-archive'
>>     clang-8: error: unknown argument: '-soname'
>>     clang-8: error: no such file or directory: 'libmpi.so.12'
>>     make[2]: *** [lib/libmpi.la <http://libmpi.la/>] Error 1
>>     make[2]: Leaving directory `/opt/modules/src/mpich-3.3.1'
>>     make[1]: *** [all-recursive] Error 1
>>     make[1]: Leaving directory `/opt/modules/src/mpich-3.3.1'
>>     make: *** [all] Error 2
>>     Any idea how to sort this out?
>>     Regards,
>>     J
>>     _______________________________________________
>>     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
>>
>> <m.txt>
> 
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 


-- 
Thomas Jahns
HPC-Gruppe
Abteilung Anwendungssoftware

Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a • D-20146 Hamburg • Germany

Phone:  +49 40 460094-151
Fax:    +49 40 460094-270
Email:  Thomas Jahns <jahns at dkrz.de>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5348 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20191108/cfeb2047/attachment.p7s>


More information about the discuss mailing list