← Back to team overview

dorsal team mailing list archive

Re: Failed to configure petsc on a plain snowleopard

 

Den 29.03.11 11.38, skrev Harish Narayanan:
On 3/29/11 11:03 AM, Andre Massing wrote:
Hi!

I just wanted to install a fresh FEniCS unstable version on my
snowleopard (no mpi tricks this time :) but I ran into a couple of
problems. This is the first one:
Despite the fact that petsccore is used in the snowleopard.platform
petsc does the FortranMPICheck and aborting because of the missing
mipf90 compiler.
I could remedy this by adding --with-fc=0  to the package file but was
wondering if somebody else has run into the problem. If so, I would
suggest to add the above mentioned flag to the package file.
Here is my error message:


Unpacking petsc-3.1-p7
Building petsc-3.1-p7
===============================================================================

              Configuring PETSc to compile on your system
===============================================================================

===============================================================================

                 WARNING! Compiling PETSc with no debugging, this should
                               only be done for timing and production
runs. All development should                                         be
done when configured using --with-debugging=1
===============================================================================

TESTING: FortranMPICheck from
config.packages.MPI(config/BuildSystem/config/packages/MPI.py:636)
*******************************************************************************

          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
for details):
-------------------------------------------------------------------------------

Fortran error! mpi_init() could not be located!
*******************************************************************************


Failure with exit status: 1

Exit message: There was a problem configuring petsc-3.1-p7.

I did not see this and I installed everything from scratch recently. I
think I will add the flag anyway!

Hmm, that is strange. I just remember that there was once a post with the same problem. At least it does not hurt to add the flag.
Thanks for that!

--
Andre



Harish


--
André Massing       		email: massing@xxxxxxxxx
Ph.D. student			mobile: +47 469 57 401
Simula Research Laboratory
NO-1367 Fornebu, Norway




References