[CIG-LONG] Gale 2.0.1 install problem with PETSc libraries

Morgan, Frank Frank.Morgan at jhuapl.edu
Tue Jan 22 14:36:00 PST 2013


Trying to install Gale on redhat linux. Get error messages as follows:
****  ERROR ****
Failed to locate required package PETSc.
Details in 'config.log'

Seems to be a problem with PETSc library but I’m running out of ideas. Do you see anything?

I have petsc-3.2-p7; config.log attached.

This was my third attempt. First time, Gale couldn’t  find several petsc libs...
  Static missing: ['petscsnes', 'petscksp', 'petscdm', 'petscmat', 'petscvec']

I reinstalled PETSc with config flag --with-single-library=0 which generated those static libs (instead of a sinlge petsc lib)
in petsc-3.2-p7/linux-gnu-c-debug/lib

Tried Gale again and it complained that it could not find the petsc library...
  Static missing: ['petsc']
  Looked in: ['/home/morgamf1/Applications/petsc/petsc-3.2-p7/linux-gnu-c-debug/lib']

Then I repeated PETSc config+make with --with-single-library=1; that added the petsc lib to the others.

Then I retired Gale...
./configure.sh --cxx=mpicxx --petsc-dir=/home/morgamf1/Applications/petsc/petsc-3.2-p7 --mpi-dir=/opt/mpich2/gnu --libxml2-inc-dir=/usr/include/libxml2 --libxml2-lib-dir=/usr/lib64 --hdf5-dir=/home/morgamf1/Applications/hdf5/hdf5-1.8.10/hdf5

And got the error above.

I have defined in cshrc...
setenv PETSC_DIR /home/morgamf1/Applications/petsc/petsc-3.2-p7
setenv PETSC_ARCH linux-gnu-c-debug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20130122/94b806f9/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 88960 bytes
Desc: config.log
Url : http://geodynamics.org/pipermail/cig-long/attachments/20130122/94b806f9/attachment-0001.obj 


More information about the CIG-LONG mailing list