[petsc-users] Using MUMPS and (PT)SCOTCH with PETSC
Barry Smith
bsmith at mcs.anl.gov
Fri Sep 5 14:50:16 CDT 2014
You need the https://gforge.inria.fr/frs/download.php/file/28934/scotch_5.1.12a_esmumps.tar.gz version with mumps in the tar ball name
Barry
On Sep 5, 2014, at 2:17 PM, Kai Song <ksong at lbl.gov> wrote:
> Hi Barry,
>
> Thanks for the suggestion. I downloaded the scotch tar ball in the petsc source directory, and set up the configure flag as suggested, but I got the following error:
> ================
> make[1]: Leaving directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/libscotchmetis'make: *** No rule to make target `ptesmumps'. Stop.
> *******************************************************************************
> ===============================================================================
> Trying to download file://scotch_5.1.12b.tar.gz for PTSCOTCH =============================================================================== ===============================================================================
> Compiling PTScotch; this may take several minutes =============================================================================== *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> -------------------------------------------------------------------------------
> Error running make on PTScotch: Could not execute "cd /clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src && make clean ptesmumps":
> /bin/mkdir -p ../bin
> /bin/mkdir -p ../include
> /bin/mkdir -p ../lib
> (cd libscotch ; make clean)
> make[1]: Entering directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/libscotch'
> rm -f *~ *.o lib*.a parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes
> make[1]: Leaving directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/libscotch'
> (cd scotch ; make clean)
> make[1]: Entering directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/scotch'
> rm -f *~ *.o acpl amk_ccc amk_fft2 amk_grf amk_hy amk_m2 amk_p2 atst gbase gcv *ggath *gmap gmk_hy gmk_m2 gmk_m3 gmk_msh gmk_ub2 gmtst *gord gotst gout *gpart *gscat *gtst mcv mmk_m2 mmk_m3 mord mtst
> make[1]: Leaving directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/scotch'
> (cd libscotchmetis ; make clean)
> make[1]: Entering directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/libscotchmetis'
> rm -f *~ *.o lib*.a
> make[1]: Leaving directory `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12/src/libscotchmetis'make: *** No rule to make target `ptesmumps'. Stop.
> *******************************************************************************
>
> makefile:15: arch-linux2-c-debug/conf/petscvariables: No such file or directory
> /clusterfs/voltaire/home/software/source/petsc-3.5.0/conf/variables:117: /clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscvariables: No such file or directory
> /clusterfs/voltaire/home/software/source/petsc-3.5.0/conf/rules:993: /clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscrules: No such file or directory
> make: *** No rule to make target `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscrules'. Stop.
> makefile:15: arch-linux2-c-debug/conf/petscvariables: No such file or directory
> /clusterfs/voltaire/home/software/source/petsc-3.5.0/conf/variables:117: /clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscvariables: No such file or directory
> /clusterfs/voltaire/home/software/source/petsc-3.5.0/conf/rules:993: /clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscrules: No such file or directory
> make: *** No rule to make target `/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/conf/petscrules'. Stop.
> makefile:15: conf/petscvariables: No such file or directory
> make: *** No rule to make target `conf/petscvariables'. Stop.
>
> ================
>
> Do you know what am I missing?
>
> Thanks,
>
> Kai
>
>
>
>
> On Fri, Sep 5, 2014 at 11:25 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Set a new value for PETSC_ARCH
>
> Obtain the Scotch 5.1.12b tar ball. Used ./configure —download-ptscotch=nameoftarball.tar.gz —download-mumps —download-scalapack etc
>
> It will use the provided tar ball instead of downloading 6.0.0 Send errors to petsc-maint at mcs.anl.gov
>
> Barry
>
>
>
> On Sep 5, 2014, at 10:06 AM, Evan Um <evanum at gmail.com> wrote:
>
> > Dear PETSC users,
> >
> > I tried to use SCOTCH 5.1.12b in my PETSC codes since MUMPS has compatibility issues with the latest SCOTCH library.
>
> > I was told that SCOTCH/6.0.0 that comes with PETSC/3.5.0 is automatically downloaded and installed. Is it still possible to use old SCOTCH library 5.1.2b in PETSC? As mentioned in MUMPS's FAQ, MUMPS has compatibility issues with the latest SCOTCH. MUMPS developers suggest that MUMPS should work with SCOTCH 5.1.12b. In advance, thanks for your kind comments.
> >
> > Regards,
> > Evan
> >
> > Errors from MUMPS with SCOTCH 6.0.0 and PETSC 3.5.0:
> > (5): ERROR: stratParserParse: invalid method parameter name "type", before "h,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}}}},ole=s,ose=s,osq=n{sep=/(vert>120)?m{type=h,vert=100,low=h{pass=10},asc=b{width=3,bnd=f{bal=0.2},org=h{pass=10}f{bal=0.2}}};,ole=f{cmin=15,cmax=100000,frat=0.0},ose=g}}
>
>
>
>
> --
> Kai Song
> <ksong at lbl.gov> 1.510.495.2180
> 1 Cyclotron Rd. Berkeley, CA94720, MS-50B 3209
> High Performance Computing Services (HPCS)
> Lawrence Berkeley National Laboratory - http://scs.lbl.gov
More information about the petsc-users
mailing list