[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installing Petsc




Hi!

I'm new in this world, and I'm trying to install Petsc in order to develop my final studies project. I have received a few error messages and I have tried to study the configure.log file:

              Popping language C
*********************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
---------------------------------------------------------------------------------------
Downloaded mpi could not be used. Please check install in /new/proyecto/PETSc/petsc-2.3.3-p8/externalpackages/mpich2-1.0.5p4/linux-gnu-c-debug
*********************************************************************************
  File "./config/configure.py", line 190, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/framework.py", line 878, in configure
    child.configure()
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/package.py", line 380, in configure
    self.executeTest(self.configureLibrary)
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/base.py", line 93, in executeTest
    return apply(test, args,kargs)
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/packages/MPI.py", line 548, in configureLibrary
    config.package.Package.configureLibrary(self)
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/package.py", line 331, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/home/ubuntu/Escritorio/PETSc/petsc-2.3.3-p8/python/BuildSystem/config/package.py", line 160, in generateGuesses
    raise RuntimeError('Downloaded '+self.package+' could not be used. Please check install in '+d+'\n')


I have seen many messages with:

Possible ERROR while running linker: gcc: opción '-PIC' no reconocida
gcc: opción '-PIC' no reconocida


What am I doing wrongly?

I thank you beforehand for your attention.