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

feng lin rimbong at gmail.com
Thu Jan 24 14:32:52 PST 2013


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:
  ['petscsnes', 'petscksp', 'petscdm', 'petscmat', 'petscvec']
  Shared missing: ['petscsnes', 'petscksp', 'petscdm', 'petscmat',
'petscvec', 'petsc']
  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']



Any one can tell me the possible reason?

command I used:

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
for Gale: $ ./configure.sh --petsc-dir=/home/feng/Gale2.0.1/petsc-3.2-p7

I've set: PETSC_DIR=/home/feng/Gale2.0.1/petsc-3.2-p7
PETSC_ARCH=arch-linux2-c-debug

file attached is the config.log file

Regards,
Feng Lin


On Tue, Jan 22, 2013 at 4:36 PM, Morgan, Frank <Frank.Morgan at jhuapl.edu>wrote:

>  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
>
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20130124/5b540b67/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 80420 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-long/attachments/20130124/5b540b67/attachment-0001.obj 


More information about the CIG-LONG mailing list