[petsc-users] Error configuring with Ctetgen

Justin Chang jychang48 at gmail.com
Mon Oct 20 22:37:55 CDT 2014


I did rm-rf arch-darwin-c-debug and ran config with the following options:

./configure --download-exodusii --download-hdf5 --download-metis
--download-mpich --download-mumps --download-netcdf --download-parmetis
--download-scalapack --download-triangle --with-cc=gcc --with-cxx=g++
--with-debugging=1 --with-fc=gfortran --with-valgrind=1 -with-cmake=cmake
--download-ctetgen

And it compiles. However, once I run make all test I get the error
"Attempting to use an MPI routine before initializing MPICH" when it
attempts to run the test examples. Now I can't run any PETSc code
whatsoever. Attached are the new make and configure log files.

Thanks,
Justin

On Mon, Oct 20, 2014 at 9:57 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> Try:
>
> rm -rf arch-darwin-c-debug
> and rerun onfigure
>
> [basically you have old version of ctetgen - and configure does not
> have smarts to detect this or update to the appropriate version
> automatically.  And its likely you have old versions of other packages
> aswell - so its best to do a clean build]
>
> BTW - you shouldn't need --download-fblaslapack on OSX [as it provides
> -llapack -lblas via vecLib]
>
> Satish
>
> On Mon, 20 Oct 2014, Justin Chang wrote:
>
> > Hi all,
> >
> > On my MacOSx I am trying to install the developer's version of petsc with
> > the following options:
> >
> > ./configure --download-exodusii --download-fblaslapack --download-hdf5
> > --download-metis --download-mpich --download-mumps --download-netcdf
> > --download-parmetis --download-scalapack --download-triangle
> --with-cc=gcc
> > --with-cxx=g++ --with-debugging=1 --with-fc=gfortran --with-valgrind=1
> > -with-cmake=cmake --download-ctetgen
> >
> > The error I get is with the --download-ctetgen option
> >
> >
> *******************************************************************************
> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> > details):
> >
> -------------------------------------------------------------------------------
> > Error running make on Ctetgen: Could not execute "cd
> > /Users/jychang48/petsc-dev/arch-darwin-c-debug/externalpackages/ctetgen
> &&
> > /usr/bin/make PETSC_DIR=/Users/jychang48/petsc-dev install-ctetgen":
> > make: *** No rule to make target `install-ctetgen'.  Stop.
> >
> *******************************************************************************
> >
> > Do you guys know what is wrong? Attached are the make and log files.
> >
> > Thanks,
> > Justin
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141020/581e9497/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 6846130 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141020/581e9497/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 94242 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141020/581e9497/attachment-0003.obj>


More information about the petsc-users mailing list