[petsc-users] Error configuring with Ctetgen
Matthew Knepley
knepley at gmail.com
Mon Oct 20 22:47:45 CDT 2014
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
>> >
>>
>>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141020/8320bc81/attachment.html>
More information about the petsc-users
mailing list