[petsc-users] compilation on mac

Manav Bhatia bhatiamanav at gmail.com
Thu Feb 25 22:31:09 CST 2016


Hi, 

   I am attempting to compile petsc 3.6.3 on my mac with the following options: 

./configure --prefix=${PWD}/../ --CC=mpicc --CXX=mpicxx  --FC=mpif90  --with-clanguage=c++ --with-fortran=0 --with-mpi-include=/opt/local/include/openmpi-mp  --with-mpiexec=/opt/local/bin/mpiexec  -with-mpi-lib=[/opt/local/lib/openmpi-mp/libmpi_cxx.dylib,/opt/local/lib/openmpi-mp/libmpi.dylib]    --with-shared-libraries=1 --with-x=1 --with-x-dir=/opt/X11 --with-debugging=0 --with-lapack-lib=/usr/lib/liblapack.dylib --with-blas-lib=/usr/lib/libblas.dylib --download-superlu=yes --download-superlu_dist=yes --download-suitesparse=yes --download-mumps=yes --download-scalapack=yes  --download-parmetis=yes  --download-parmetis-shared=1 --download-metis=yes  --download-metis-shared=1  --download-hypre=yes  --download-hypre-shared=1 --download-ml=yes  --download-ml-shared=1  --download-sundials=yes  --download-sundials-shared=1 

   The configuration script is putting oddly named libraries in hypre and sundials files in the directory arch-darwin-cxx-opt/lib/petsc/conf

in hypre:   --with-MPI-libs="mpi_cxx.dyl mpi.dyl"

in sundials: --with-mpi-libs="-lmpi_cxx -lmpi_cxx.dyl -lmpi -lmpi.dyl"


   This is creating problems elsewhere in compilation. 

   Are there ways to get around this? 

Thanks,
Manav


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160225/1703291a/attachment.html>


More information about the petsc-users mailing list