<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"><title>Gale 2.0.1 install problem with PETSc libraries</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Trying to install Gale on redhat linux. Get error messages as follows:<br>
**** &nbsp;ERROR ****<br>
Failed to locate required package PETSc.<br>
Details in 'config.log'<br>
<br>
Seems to be a problem with PETSc library but I’m running out of ideas. Do you see anything?<br>
<br>
I have petsc-3.2-p7; config.log attached.<br>
<br>
This was my third attempt. First time, Gale couldn’t &nbsp;find several petsc libs...<br>
&nbsp;&nbsp;Static missing: ['petscsnes', 'petscksp', 'petscdm', 'petscmat', 'petscvec']<br>
<br>
I reinstalled PETSc with config flag --with-single-library=0 which generated those static libs (instead of a sinlge petsc lib) <br>
in petsc-3.2-p7/linux-gnu-c-debug/lib<br>
<br>
Tried Gale again and it complained that it could not find the petsc library...<br>
&nbsp;&nbsp;Static missing: ['petsc']<br>
&nbsp;&nbsp;Looked in: ['/home/morgamf1/Applications/petsc/petsc-3.2-p7/linux-gnu-c-debug/lib']<br>
<br>
Then I repeated PETSc config&#43;make with --with-single-library=1; that added the petsc lib to the others.<br>
<br>
Then I retired Gale...<br>
./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<br>
<br>
And got the error above. <br>
<br>
I have defined in cshrc...<br>
setenv PETSC_DIR /home/morgamf1/Applications/petsc/petsc-3.2-p7<br>
setenv PETSC_ARCH linux-gnu-c-debug<br>
<br>
</span></font>
</body>
</html>