[petsc-users] Error configuring with Ctetgen

Satish Balay balay at mcs.anl.gov
Mon Oct 20 22:59:22 CDT 2014


'make test' should use the correct mpiexec.

>>>>>
Trying to download http://www.mpich.org/static/downloads/3.1/mpich-3.1.tar.gz for MPICH
#define PETSC_VERSION_DATE_GIT "2014-10-06 13:58:18 -0500"
#define PETSC_VERSION_GIT "v3.5.2-529-g545cac9"
#define PETSC_VERSION_BRANCH_GIT "master"
<<<<<

You apear to use a (couple of weeks old) master branch. [latest uses
mpich-3.1.3]. But I don't see why that would cause such an error
though...

Satish


On Mon, 20 Oct 2014, Matthew Knepley wrote:

> On Mon, 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.
> >
> 
> Sounds like you are using the wrong mpiexec.
> 
>   Matt
> 
> 
> > 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
> >> >
> >>
> >>
> >
> 
> 
> 



More information about the petsc-users mailing list