hiya,
I have used the following steps to compile petsc & libmesh on my macbook
pro.
hope this helps.
cheers,
Vasilis
*PETSc:*
./configure --with-debugging=0 COPTFLAGS="-g -O2" CXXOPTFLAGS="-g -O2"
FOPTFLAGS="-g -O2" --disable-shared \
--with-fblaslapack=1 --download-f2cblaslapack=yes \
--with-metis=1 --download-metis=yes --with-parmetis=1
--download-parmetis=yes \
--with-superlu=1 --download-superlu=yes --with-superlu_dist=1
--download-superlu_dist=yes \
--with-mpi=1 --download-mpich=yes \
--prefix=/path/to/install/petsc-3.7.2
make PETSC_DIR=/path/to/compile/petsc PETSC_ARCH=arch-darwin-c-opt all
make PETSC_DIR=/path/to/compile/petsc PETSC_ARCH=arch-darwin-c-opt install
make PETSC_DIR=/path/to/install/petsc-3.7.2 PETSC_ARCH="" test
make PETSC_DIR=/path/to/install/petsc-3.7.2 PETSC_ARCH="" streams
*libMesh:*
./configure PETSC_DIR=/path/to/install/petsc-3.7.2
PETSC_ARCH=arch-darwin-c-opt \
--enable-everything --disable-shared --with-methods="dbg opt" \
--disable-complex --disable-1D-only --disable-2D-only
--disable-periodic \
--disable-openmp --disable-eigen --disable-ifem --disable-slepc
--disable-trilinos \
--enable-netcdf --enable-netcdf-4 --enable-exodus \
--disable-vtk --disable-tecio --disable-tecplot \
--disable-tbb --disable-pthreads --disable-cppthreads
--disable-qhull \
--with-metis=PETSc \
--prefix=/path/to/install/libmesh-1.1.0
make
make install
On 27 June 2016 at 19:36, John Peterson <[email protected]> wrote:
> On Fri, Jun 24, 2016 at 2:13 PM, Jeff opt <[email protected]> wrote:
>
> > Hi all
> >
> > I am installing libmesh (1.0.0-rc2) on OSX 10.10.5. I ran into this
> > problem when `make check`
> >
> > *** Testing ncgen3.
> >
> > *** creating classic file c0.nc from c0.cdl...
> >
> > ./run_tests.sh: line 8: 99478 Segmentation fault: 11 ./ncgen3 -b -o
> c0.nc
> > $srcdir/c0.cdl
> >
>
> So, one of the netcdf test programs segfaulted? I've never seen this
> happen before.
>
>
>
>
> > It's kind of weird since I already disabled netcdf when configuring. The
> > config.log is attached.
> >
>
> Sorry, the email list eats all attachments. I wonder if disabling netcdf
> is actually the cause of this issue? I don't know if we have any build
> targets where we test disabling netcdf. Would it be possible for you to
> not disable it?
>
> --
> John
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users