<div dir="ltr">I had the same problem with your first and second time. And I haven't fixed it yet. Even I config and make with flag --with-single-library=1, I still keep getting the message: Static missing: <div> ['petscsnes', 'petscksp', 'petscdm', 'petscmat', 'petscvec']<div>
Shared missing: ['petscsnes', 'petscksp', 'petscdm', 'petscmat', 'petscvec', 'petsc']</div><div> Looked in: ['/home/feng/Gale2.0.1/petsc-3.2-p7/lib', '/home/feng/Gale2.0.1/petsc-3.2-p7/arch-linux2-c-debug/lib']</div>
<div><br></div><div><br></div><div><br></div><div>Any one can tell me the possible reason?</div><div><br></div><div style>command I used:</div><div style><br></div><div style>for petsc: $ ./configure --with-single-library=1 --download-f-blas-lapack=1 --download-mumps=yes --download-parmetis=yes --download-scalapack=yes --download-blacs=yes -with-x11=no<br>
</div><div>for Gale: $ ./configure.sh --petsc-dir=/home/feng/Gale2.0.1/petsc-3.2-p7</div><div><br></div><div style>I've set: PETSC_DIR=/home/feng/Gale2.0.1/petsc-3.2-p7 PETSC_ARCH=arch-linux2-c-debug</div><div><br><div style>
file attached is the config.log file</div></div></div><div style><br></div><div style>Regards,</div><div style>Feng Lin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 4:36 PM, Morgan, Frank <span dir="ltr"><<a href="mailto:Frank.Morgan@jhuapl.edu" target="_blank">Frank.Morgan@jhuapl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Trying to install Gale on redhat linux. Get error messages as follows:<br>
**** 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 find several petsc libs...<br>
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>
Static missing: ['petsc']<br>
Looked in: ['/home/morgamf1/Applications/petsc/petsc-3.2-p7/linux-gnu-c-debug/lib']<br>
<br>
Then I repeated PETSc config+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>
</div>
<br>_______________________________________________<br>
CIG-LONG mailing list<br>
<a href="mailto:CIG-LONG@geodynamics.org">CIG-LONG@geodynamics.org</a><br>
<a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long</a><br></blockquote></div><br></div>