[CIG-LONG] new install

Matty matty.mookerjee at sonoma.edu
Thu Jan 31 20:46:43 PST 2013


OK, I tried editing my config.cfg file (attached) as you described in 
the previous thread, but the install terminated fairly quickly.

I, like Frank, download and install fblas with my petsc install. Here is 
my Petsc install command:

  ./configure --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack 
--download-mpich --without-x


Here's the output from running scons:

scons: Reading SConscript files ...
Copy("/home/matty/Programs/Gale/gale/build/StGermain/stg_static_modules.cxx", 
"/home/matty/Programs/Gale/gale/StGermain/libStGermain/src/stg_static_modules.cxx.tmpl")
scons: done reading SConscript files.
scons: Building targets ...
Install file: "boost/boost/config.hpp" as "build/include/boost/config.hpp"
ar rc build/lib/libjson_parser.a build/json_parser/add_components.os 
build/json_parser/parse_json.os build/json_parser/fix_start_end.os 
build/json_parser/print_xml.os build/json_parser/add_defaults.os
ranlib build/lib/libjson_parser.a
mpicxx -o build/bin/Gale 
-Wl,-rpath=/home/matty/Programs/Petsc/petsc-3.2-p7/lib 
-Wl,-rpath=/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib 
-Wl,-rpath=/home/matty/Programs/Gale/gale/build/lib StGermain/src/main.o 
build/StGermain/stg_static_modules.o 
-L/home/matty/Programs/Petsc/petsc-3.2-p7/lib 
-L/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib 
-L/home/matty/Programs/Petsc/petsc-3.2-p7/linux-gnu-c-debug/lib 
-Lbuild/lib -lUnderworld -lPICellerator -lStgFEM -lStgDomain -lStGermain 
-lpcu -lmuparserx -ljson_parser -ljson_spirit -lboost_filesystem 
-lboost_system -lpetsc -lhdf5 -lxml2 -lflapack -lfblas
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(dgesvd.o): 
In function `dgesvd_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dgesvd.f:215: 
undefined reference to `_gfortran_concat_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dgesvd.f:379: 
undefined reference to `_gfortran_concat_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(dhseqr.o): 
In function `dhseqr_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dhseqr.f:345: 
undefined reference to `_gfortran_concat_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(dormbr.o): 
In function `dormbr_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:183: 
undefined reference to `_gfortran_concat_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:186: 
undefined reference to `_gfortran_concat_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(dormbr.o):/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/dormbr.f:191: 
more undefined references to `_gfortran_concat_string' follow
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(ilaenv.o): 
In function `ilaenv_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:200: 
undefined reference to `_gfortran_compare_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:201: 
undefined reference to `_gfortran_compare_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:207: 
undefined reference to `_gfortran_compare_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:207: 
undefined reference to `_gfortran_compare_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:207: 
undefined reference to `_gfortran_compare_string'
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(ilaenv.o):/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack/ilaenv.f:207: 
more undefined references to `_gfortran_compare_string' follow
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libflapack.a(dlamch.o): 
In function `dlamc2_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: 
undefined reference to `_gfortran_st_write'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: 
undefined reference to `_gfortran_transfer_integer_write'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/lapack-extra/dlamch.f:525: 
undefined reference to `_gfortran_st_write_done'
/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib/libfblas.a(xerbla.o): 
In function `xerbla_':
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/blas/xerbla.f:33: 
undefined reference to `_gfortran_st_write'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/blas/xerbla.f:33: 
undefined reference to `_gfortran_transfer_character_write'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/blas/xerbla.f:33: 
undefined reference to `_gfortran_transfer_integer_write'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/blas/xerbla.f:33: 
undefined reference to `_gfortran_st_write_done'
/home/matty/Programs/Petsc/petsc-3.2-p7/externalpackages/fblaslapack-3.1.1/blas/xerbla.f:35: 
undefined reference to `_gfortran_stop_string'
collect2: ld returned 1 exit status
scons: *** [build/bin/Gale] Error 1
scons: building terminated because of errors.


> Matty <matty.mookerjee at sonoma.edu> wrote:
>> Walter,
>>
>> That definitely seemed to help. I got through the configure stage this
>> time.  It didn't find PETScExt, but I think I recall that that was
>> OK. When I ran scons I get this error:
> Now you need to add flapack and fblas
>
>    http://www.geodynamics.org/pipermail/cig-long/2013-January/000890.html
>
> Cheers,
> Walter Landry
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>

-------------- next part --------------
prefix = '/home/matty/Programs/Gale/gale'
build_dir = 'build'
with_debugging = 1
with_warnings = 1
lib_type = 'static'
CXX = 'mpicxx'
CXXFLAGS = []
LINKFLAGS = ['$__RPATH']
with_glucifer = 0
with_hdf5 = 1
with_experimental = False
with_osmesa = 1
with_sdl = 1
with_x11 = 1
with_carbon = 1
with_png = 1
with_jpeg = 1
with_fame = 1
eptiming = 0
with_memory_stats = 0
with_cautious_mode = 0
CPPPATH = ['/usr/include/libxml2', '/home/matty/Programs/Petsc/petsc-3.2-p7/include', '/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/include']
LIBPATH = ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib', '/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib', '/home/matty/Programs/Petsc/petsc-3.2-p7/linux-gnu-c-debug/lib']
RPATH = ['/home/matty/Programs/Petsc/petsc-3.2-p7/lib', '/home/matty/Programs/Petsc/petsc-3.2-p7/arch-linux2-c-debug/lib']
LIBS = ['petsc', 'hdf5', 'xml2','flapack','fblas']
CPPDEFINES = ['DEBUG', 'HAVE_LIBXML2', 'HAVE_MPI', 'HAVE_HDF5', 'HAVE_PETSC']
CXXFLAGS = []
FRAMEWORKS = []
CCFLAGS = ['-g', '-Wwrite-strings', '-Wno-strict-aliasing', '-Wno-unknown-pragmas', '-g3', '-Wall']
shared_libs = 0
static_libs = 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 9195 bytes
Desc: config.log
Url : http://geodynamics.org/pipermail/cig-long/attachments/20130131/0220dc26/attachment-0001.bin 


More information about the CIG-LONG mailing list