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

Zhou, Hui zhouh at anl.gov
Thu Nov 7 10:03:33 CST 2019


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20191107/c46e551c/attachment-0001.html>


More information about the discuss mailing list