<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:324208882;
        mso-list-type:hybrid;
        mso-list-template-ids:-822962822 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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="color:#1F497D">Here is what I did:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span style="color:#1F497D">First I used<o:p></o:p></span></p>
<p class="MsoPlainText" style="margin-left:1.0in">./configure \<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:1.0in">--with-blas-lib=/data/Users/jzhong/scalapack-2.0.1/lib/librefblas.a  \ --with-lapack-lib=/data/Users/jzhong/scalapack-2.0.1/lib/libreflapack.a  \ --download-blacs --download-scalapack \<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:1.0in">--with-mpi-dir=/data/Users/jzhong/mpich2 \ --with-mpiexec=/data/Users/jzhong/mpich2/bin/mpiexec \ --with-cmake=/data/Users/jzhong/CMAKE/cmake-2.8.8/bin/cmake \ --with-scalar-type=complex --with-precision=double
 --with-clanguage=c --with-fortran-kernels=generic \<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:1.0in"><b>--with-ptscotch=1 --download-ptscotch=yes \
<o:p></o:p></b></p>
<p class="MsoPlainText" style="margin-left:1.0in">--download-mumps --download-superlu_dist \
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:1.0in">--download-parmetis --download-metis --with-fortran-interfaces<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">And<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in;text-indent:.5in">make …<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">to download and compile ptscotch during the first round of PETSc installation in
<b><span style="color:#1F497D">/data/Users/jzhong/petsc-3.3-p3-option4p2</span></b>;<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span style="color:#1F497D">Next I used<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">./configure \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-blas-lib=/data/Users/jzhong/scalapack-2.0.1/lib/librefblas.a  \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-lapack-lib=/data/Users/jzhong/scalapack-2.0.1/lib/libreflapack.a  \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--download-blacs --download-scalapack \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-mpi-dir=/data/Users/jzhong/mpich2 \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-mpiexec=/data/Users/jzhong/mpich2/bin/mpiexec \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-cmake=/data/Users/jzhong/CMAKE/cmake-2.8.8/bin/cmake \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-scalar-type=complex --with-precision=double --with-clanguage=c --with-fortran-kernels=generic \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--with-ptscotch=1  \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="color:#1F497D">--with-ptscotch-include=/data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/include \<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="color:#1F497D">--with-ptscotch-lib="/data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/lib/libptscotch.a /data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/lib/libptscotcherr.a
 /data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/lib/libptscotcherrexit.a /data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/lib/libptscotchparmetis.a" \<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--download-mumps --download-superlu_dist \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="color:#1F497D">--download-parmetis --download-metis --with-fortran-interfaces<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">and <o:p>
</o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span style="color:#1F497D">make…<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">                to reconfigure PETSc the compatible object and include files for
<b>ptscotch </b></span>during the second round of PETSc installation in a different folder
<b><span style="color:#1F497D">/data/Users/jzhong/petsc-3.3-p3-option4p3</span></b><span style="color:#1F497D">.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">                No complains<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span style="color:#1F497D">Compile and run my source code with the second build of PETSc.  Here is the error info when I tried to use
<b>ptscotch instead of ParMETIS</b><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><b><span style="color:#1F497D">…</span></b><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">ZMUMPS 4.10.0<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">L U Solver for unsymmetric matrices<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">Type of parallelism: Working host<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">****** ANALYSIS STEP ********<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">PT-SCOTCH not available.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">Aborting.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">…<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span></span><![endif]><span style="color:#1F497D">I believe it got stuck in zmumps_part5.F<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">#if ! defined(ptscotch)        
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">         IF ((id%KEEP(244) .EQ. 2) .AND. (id%KEEP(245) .EQ. 1)) THEN<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">            id%INFO(1)  = -38<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">            IF(id%MYID .EQ.0 ) THEN<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">               WRITE(LP,'("PT-SCOTCH not available.")')<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">               WRITE(LP,'("Aborting.")')<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">               RETURN<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">            END IF<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">         END IF<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D">#endif<o:p></o:p></span></p>
<p class="MsoListParagraph"><b><span style="color:#1F497D">This indicates in both rounds of installation of PETSc, PETSc did’t inform mumps that defined(ptscotch) is TRUE. This may indicate a bug in ./configure.<o:p></o:p></span></b></p>
<p class="MsoListParagraph"><b><span style="color:#1F497D"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:#1F497D">Jinquan<o:p></o:p></span></b></p>
<p class="MsoListParagraph" style="margin-left:1.0in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<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>Jinquan Zhong<br>
<b>Sent:</b> Thursday, October 25, 2012 3:11 PM<br>
<b>To:</b> petsc-users@mcs.anl.gov<br>
<b>Subject:</b> [petsc-users] PT-SCOTCH not available<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dear PETSc folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to install PT-SCOTCH as the external package for PETSc.  I used
<o:p></o:p></p>
<p class="MsoNormal">                --with-ptscotch=1<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">--download-ptscotch=yes<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">to install PETSc.  No complains.  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But when I tried to use PT-SCOTCH, here is the message I got<o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">ZMUMPS 4.10.0<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">L U Solver for unsymmetric matrices<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Type of parallelism: Working host<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">****** ANALYSIS STEP ********<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">PT-SCOTCH not available.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Aborting.<o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any idea to make it work?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jinquan<o:p></o:p></p>
</div>
</body>
</html>