[CIG-LONG] Gale 2.0.1 install problem with PETSc

Eunseo Choi echoi at ig.utexas.edu
Wed Jan 30 13:07:29 PST 2013


Feng,

I realized that in my config.cfg, all the blas/lapack information is in
LINKFLAGS, not in LIBPATH or LIBS.
I'm not sure how critical this difference would be but here are some lines
from my config.cfg.

LINKFLAGS = ['-L/usr/X11/lib', '-lX11', '-lblas', '-L/usr/lib', '-llapack',
'-L/Users/eunseo/opt/petsc-3.2-p7/darwin12.2.0-c-debug/lib', '-lmpl',
'-Wl,-multiply_defined,suppress', '-Wl,-multiply_defined', '-Wl,suppress',
'-Wl,-commons,use_dylibs', '-Wl,-search_paths_first']
LIBPATH = ['/Users/eunseo/opt/petsc-3.2-p7/darwin12.2.0-c-debug/lib',
'/Users/eunseo/opt/hdf5-1.8.10/lib', '/Users/eunseo/opt/petsc-3.2-p7/lib']
RPATH = ['/Users/eunseo/opt/petsc-3.2-p7/darwin12.2.0-c-debug/lib',
'/Users/eunseo/opt/hdf5-1.8.10/lib', '/Users/eunseo/opt/petsc-3.2-p7/lib']
LIBS = ['petsc', 'hdf5', 'pmpich', 'mpich', 'xml2']

Just another thought.

If you could build and test petsc yourself, it means petsc must have been
able to locate and figure out how to use blas/lapack on your system.
The information about these libraries is shown after a petsc configuration
and also saved in configure.log.
Search for "Configure Actions" in petsc's configure.log.
I believe you should give to GALE what follows after "BLAS/LAPACK:" in that
summary of configure actions.
If you are already doing so, it really beats me. :(

Cheers,
Eunseo



On Wed, Jan 30, 2013 at 1:22 PM, Walter Landry <wlandry at caltech.edu> wrote:

> feng lin <rimbong at gmail.com> wrote:
> > Walter,
> >
> > I put fblas after flapack, but still the same problem
> >
> > they are like :
> > undefined reference to `for_write_seq_fmt'
> > undefined reference to `for_write_seq_fmt_xmit'
> > undefined reference to `for_concat'
>
> This looks like from a fortran library.  Did you compile fblaslapack
> with gfortran?  Try adding "gfortran" and maybe "gfortranbegin" to the
> list of libraries.
>
> Cheers,
> Walter Landry
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>
>
>


-- 
============================================
Eunseo Choi
Post-Doctoral Fellow

http://www.ig.utexas.edu/people/staff/echoi/

Institute for Geophysics
The University of Texas at Austin
J.J. Pickle Research Campus

10100 Burnet Rd. (R2200); BLDG 196
Austin, TX 78758-4445

Phone: 512-475-9568 Fax: 512-471-0348
============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20130130/8c6317b6/attachment.htm 


More information about the CIG-LONG mailing list