<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Although it is dependent on the programming environment you have,&nbsp; I suggest putting &#8220;&#8211;lsci_(compiler name)_mp&#8221; instead of putting ACML.&nbsp; If you are using gnu, it is &#8211;lsci_gnu_mp.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Keita<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> petsc-users-bounces@mcs.anl.gov [mailto:petsc-users-bounces@mcs.anl.gov] <b>On Behalf Of </b>Matthew Knepley<br><b>Sent:</b> Thursday, December 08, 2011 8:06 AM<br><b>To:</b> PETSc users list<br><b>Subject:</b> Re: [petsc-users] petsc 3.2 compiling on cray<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>On Thu, Dec 8, 2011 at 1:11 AM, Xiangdong Liang &lt;<a href="mailto:xdliang@gmail.com">xdliang@gmail.com</a>&gt; wrote:<o:p></o:p></p><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Configuring PETSc to compile on your system<br>===============================================================================<br>*******************************************************************************<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ERROR in COMMAND LINE ARGUMENT to ./configure<br>-------------------------------------------------------------------------------<br>The option libacml_mv.a] should probably be libacml-mv.a]<br>*******************************************************************************<o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>If you specify the full path to the library, this should go away. This is just an error check to<o:p></o:p></p></div><div><p class=MsoNormal>prevent people from mistyping options.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp;Thanks,<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; Matt<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal><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='-fastsse -O3 -tp istanbul-64' --CXXOPTFLAGS='-fastsse -O3\<br>&nbsp;-tp istanbul-64' --FOPTFLAGS='-fastsse -O3 -tp istanbul-64' --with-debugging=0\<br>&nbsp; --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<o:p></o:p></p></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <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<o:p></o:p></p></div></body></html>