[petsc-users] Error configuring with Ctetgen

Barry Smith bsmith at mcs.anl.gov
Mon Oct 20 22:50:57 CDT 2014



   cd src/vec/vec/examples/tutorials
   make ex1
   gdb ./ex1 
   run 

    if it stops type bt carriage return and send all the output

   
> On Oct 20, 2014, at 10:37 PM, Justin Chang <jychang48 at gmail.com> wrote:
> 
> 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
> >
> 
> 
> <configure.log><make.log>



More information about the petsc-users mailing list