Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Barry Smith

   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-ma...@mcs.anl.gov

   Barry


   
On Sep 5, 2014, at 10:06 AM, Evan Um eva...@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=/(vert120)?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=10,frat=0.0},ose=g}}
   



Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Kai Song
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 bsm...@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-ma...@mcs.anl.gov

Barry



 On Sep 5, 2014, at 10:06 AM, Evan Um eva...@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, 

Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Barry Smith

  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 ks...@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 bsm...@mcs.anl.gov wrote:
 
Set a new value for PETSC_ARCH
 
Obtain the Scotch 

Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Kai Song
Hi Barry,

I got the similar error for scotch_5.1.12b_esmumps.tar.gz:
=
===

Trying to download file://scotch_5.1.12b_esmumps.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_esmumps/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_esmumps/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_esmumps/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_esmumps/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_esmumps/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_esmumps/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_esmumps/src/libscotchmetis'
(cd esmumps ;make clean)
make[1]: Entering directory
`/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12_esmumps/src/esmumps'
rm -f *~ common.h *.o lib*.a main_esmumps
make[1]: Leaving directory
`/clusterfs/voltaire/home/software/source/petsc-3.5.0/arch-linux2-c-debug/externalpackages/scotch_5.1.12_esmumps/src/esmumps'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.

=

Feel free to let me know if you need any additional information. My
configure line looks like this:

./configure --prefix=/clusterfs/voltaire/home/software/modules/petsc/3.5.0
--download-fblaslapack=1 --download-mumps=1
--download-parmetis=parmetis-4.0.3.tar.gz
--download-ptscotch=scotch_5.1.12b_esmumps.tar.gz --download-scalapack
--download-metis=1 --download-superlu=1 --download-superlu_dist=1
--download-hypre=1
--with-mpi-dir=/global/software/sl-6.x86_64/modules/gcc/4.4.7/openmpi/1.6.5-gcc/

Thanks,

Kai



On Fri, Sep 5, 2014 at 2:50 PM, Barry Smith bsm...@mcs.anl.gov wrote:


   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 

Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Jed Brown
Barry Smith bsm...@mcs.anl.gov writes:

   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

And yes, this is absurd, so don't forget to complain to upstream.  One
can only hope that overwhelming user outcry may be sufficient for them
to reconsider this distribution decision.


pgpo8lQuxfrVy.pgp
Description: PGP signature


Re: [petsc-users] Using MUMPS and (PT)SCOTCH with PETSC

2014-09-05 Thread Jed Brown
Kai Song ks...@lbl.gov writes:

 Hi Barry,

 I got the similar error for scotch_5.1.12b_esmumps.tar.gz:

Looks like this commit was only valid with 6.0, so you'll have to revert
it to use 5.1.12b.

https://bitbucket.org/petsc/petsc/commits/4620623451f619bc2d23a7c3de5bdf5ee5fd0ff2

Is there a reason you prefer Scotch over ParMETIS?


pgpPVV1ssOEl6.pgp
Description: PGP signature