On Thu, Dec 8, 2011 at 1:11 AM, Xiangdong Liang <span dir="ltr">&lt;<a href="mailto:xdliang@gmail.com">xdliang@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello everyone,<br>
<br>
I am trying to compile petsc-3.2 on cray. However, when I specify blas<br>
and lapack library<br>
--with-blas-lapack-lib=[/opt/acml/4.4.0/pgi64/lib/libacml.a,<br>
libacml_mv.a], petsc complains like this:<br>
<br>
===============================================================================<br>
             Configuring PETSc to compile on your system<br>
===============================================================================<br>
*******************************************************************************<br>
                ERROR in COMMAND LINE ARGUMENT to ./configure<br>
-------------------------------------------------------------------------------<br>
The option libacml_mv.a] should probably be libacml-mv.a]<br>
*******************************************************************************<br></blockquote><div><br></div><div>If you specify the full path to the library, this should go away. This is just an error check to</div><div>
prevent people from mistyping options.</div><div><br></div><div>   Thanks,</div><div><br></div><div>      Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
However, the library is indeed named as libacml_mv.a. I can compile<br>
successfully without specifying the lapack and blas libraries. Will it<br>
affect the performance? Thanks<br>
<br>
Xiangdong<br>
<br>
<br>
<br>
The configure option I use is:<br>
<br>
./config/configure.py<br>
--with-blas-lapack-lib=[/opt/acml/4.4.0/pgi64/lib/libacml.a,<br>
libacml_mv.a] \<br>
--with-cc=cc --with-cxx=CC --with-fc=ftn -with-shared-lib\<br>
raries=0 --COPTFLAGS=&#39;-fastsse -O3 -tp istanbul-64&#39; --CXXOPTFLAGS=&#39;-fastsse -O3\<br>
 -tp istanbul-64&#39; --FOPTFLAGS=&#39;-fastsse -O3 -tp istanbul-64&#39; --with-debugging=0\<br>
   --prefix=$MYINSTALL --PETSC_ARCH=arch-opt --with-clib-autodetect=0 --\<br>
with-cxxlib-autodetect=0 --with-fortranlib-autodetect=0 --download-blacs=yes --\<br>
download-scalapack=yes --download-parmetis=yes --download-superlu=yes --downloa\<br>
d-superlu_dist=yes --download-scotch=yes --download-pastix=yes --download-mumps\<br>
=yes --download-spooles=yes --with-hdf5=yes --with-hdf5-dir=/opt/cray/hdf5/1.8.\<br>
5.0/hdf5-gnu/ --download-ptscotch --download-umfpack=yes --download-hypre=yes -\<br>
-download-spai=yes<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>