[petsc-users] petsc 3.2 compiling on cray
Keita Teranishi
keita at cray.com
Thu Dec 8 12:02:32 CST 2011
Hi,
Although it is dependent on the programming environment you have, I suggest putting "-lsci_(compiler name)_mp" instead of putting ACML. If you are using gnu, it is -lsci_gnu_mp.
Thanks,
Keita
From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Matthew Knepley
Sent: Thursday, December 08, 2011 8:06 AM
To: PETSc users list
Subject: Re: [petsc-users] petsc 3.2 compiling on cray
On Thu, Dec 8, 2011 at 1:11 AM, Xiangdong Liang <xdliang at gmail.com<mailto:xdliang at gmail.com>> wrote:
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]
*******************************************************************************
If you specify the full path to the library, this should go away. This is just an error check to
prevent people from mistyping options.
Thanks,
Matt
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
--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111208/91abb3ca/attachment.htm>
More information about the petsc-users
mailing list