[petsc-users] petsc 3.2 compiling on cray

Xiangdong Liang xdliang at gmail.com
Thu Dec 8 01:11:44 CST 2011


Hello everyone,

I am trying to compile petsc-3.2 on cray. However, when I specify blas
and lapack library
--with-blas-lapack-lib=[/opt/acml/4.4.0/pgi64/lib/libacml.a,
libacml_mv.a], petsc complains like this:

===============================================================================
             Configuring PETSc to compile on your system
===============================================================================
*******************************************************************************
                ERROR in COMMAND LINE ARGUMENT to ./configure
-------------------------------------------------------------------------------
The option libacml_mv.a] should probably be libacml-mv.a]
*******************************************************************************


However, the library is indeed named as libacml_mv.a. I can compile
successfully without specifying the lapack and blas libraries. Will it
affect the performance? Thanks

Xiangdong



The configure option I use is:

./config/configure.py
--with-blas-lapack-lib=[/opt/acml/4.4.0/pgi64/lib/libacml.a,
libacml_mv.a] \
--with-cc=cc --with-cxx=CC --with-fc=ftn -with-shared-lib\
raries=0 --COPTFLAGS='-fastsse -O3 -tp istanbul-64' --CXXOPTFLAGS='-fastsse -O3\
 -tp istanbul-64' --FOPTFLAGS='-fastsse -O3 -tp istanbul-64' --with-debugging=0\
   --prefix=$MYINSTALL --PETSC_ARCH=arch-opt --with-clib-autodetect=0 --\
with-cxxlib-autodetect=0 --with-fortranlib-autodetect=0 --download-blacs=yes --\
download-scalapack=yes --download-parmetis=yes --download-superlu=yes --downloa\
d-superlu_dist=yes --download-scotch=yes --download-pastix=yes --download-mumps\
=yes --download-spooles=yes --with-hdf5=yes --with-hdf5-dir=/opt/cray/hdf5/1.8.\
5.0/hdf5-gnu/ --download-ptscotch --download-umfpack=yes --download-hypre=yes -\
-download-spai=yes


More information about the petsc-users mailing list