[mpich-discuss] Compilation with AOCC - clang-8 errors unsupported options '-soname', etc.
Zhou, Hui
zhouh at anl.gov
Thu Nov 7 11:37:51 CST 2019
The attached log does not show libtool options. Is it possible to reproduce and obtain the output of `./libtool —config`?
—
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20191107/db5fed8c/attachment.html>
More information about the discuss
mailing list