[petsc-users] Installation error on macOS Mojave using GNU compiler

Danyang Su danyang.su at gmail.com
Thu Jan 3 18:00:43 CST 2019


Hi All,

I am trying to install PETSc on macOS Mojave using GNU compiler. 
First, I tried the debug version using the following configuration and it works fine.

./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-scalapack --download-parmetis --download-metis --download-ptscotch --download-fblaslapack --download-hypre --download-superlu_dist --download-hdf5=yes --download-ctetgen

After testing debug version, I reconfigured PETSc with optimization turned on using the following configuration. However, I got error during this step.

./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-cxx-dialect=C++11 --download-mpich --download-scalapack --download-parmetis --download-metis --download-ptscotch --download-fblaslapack --download-hypre --download-superlu_dist --download-hdf5=yes --download-ctetgen --with-debugging=0 COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native -mtune=native" FOPTFLAGS="-O3 -march=native -mtune=native"

The error information is

ctoolchain/usr/bin/ranlib: file: .libs/libmpl.a(mpl_dbg.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libmpl.a(mpl_dbg.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libmpl.a(mpl_dbg.o) has no symbols
/var/folders/jm/wcm4mv8s3v1gqz383tcf_4c00000gp/T//ccrlfFuo.s:14:2: error: instruction requires: AVX-512 ISA AVX-512 VL ISA
        vmovdqu64       (%rdi), %xmm0
        ^
make[2]: *** [src/binding/fortran/use_mpi/mpi_constants.mod-stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



Thanks,

Danyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190103/5c5c8cd0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 3296944 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190103/5c5c8cd0/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190103/5c5c8cd0/attachment-0003.html>


More information about the petsc-users mailing list