[petsc-users] PT-SCOTCH not available

Jinquan Zhong jzhong at scsolutions.com
Thu Oct 25 18:50:28 CDT 2012


Here is what I did:

1.       First I used

./configure \

--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 \

--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 \

--with-ptscotch=1 --download-ptscotch=yes \

--download-mumps --download-superlu_dist \

--download-parmetis --download-metis --with-fortran-interfaces



And



make ...



to download and compile ptscotch during the first round of PETSc installation in /data/Users/jzhong/petsc-3.3-p3-option4p2;



2.       Next I used
./configure \
--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 \
--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 \
--with-ptscotch=1  \
--with-ptscotch-include=/data/Users/jzhong/petsc-3.3-p3-option4p2/externalpackages/scotch_5.1.12b_esmumps-p2/include \
--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" \
--download-mumps --download-superlu_dist \
--download-parmetis --download-metis --with-fortran-interfaces

and
make...

                to reconfigure PETSc the compatible object and include files for ptscotch during the second round of PETSc installation in a different folder /data/Users/jzhong/petsc-3.3-p3-option4p3.
                No complains

3.       Compile and run my source code with the second build of PETSc.  Here is the error info when I tried to use ptscotch instead of ParMETIS

...

ZMUMPS 4.10.0

L U Solver for unsymmetric matrices

Type of parallelism: Working host



****** ANALYSIS STEP ********



PT-SCOTCH not available.

Aborting.

...

4.       I believe it got stuck in zmumps_part5.F

#if ! defined(ptscotch)

         IF ((id%KEEP(244) .EQ. 2) .AND. (id%KEEP(245) .EQ. 1)) THEN

            id%INFO(1)  = -38

            IF(id%MYID .EQ.0 ) THEN

               WRITE(LP,'("PT-SCOTCH not available.")')

               WRITE(LP,'("Aborting.")')

               RETURN

            END IF

         END IF

#endif

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.


Jinquan




From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Jinquan Zhong
Sent: Thursday, October 25, 2012 3:11 PM
To: petsc-users at mcs.anl.gov
Subject: [petsc-users] PT-SCOTCH not available

Dear PETSc folks,

I am trying to install PT-SCOTCH as the external package for PETSc.  I used
                --with-ptscotch=1
--download-ptscotch=yes

to install PETSc.  No complains.

But when I tried to use PT-SCOTCH, here is the message I got
...
ZMUMPS 4.10.0
L U Solver for unsymmetric matrices
Type of parallelism: Working host

****** ANALYSIS STEP ********

PT-SCOTCH not available.
Aborting.
...

Any idea to make it work?

Thanks,

Jinquan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121025/921c2555/attachment.html>


More information about the petsc-users mailing list