[petsc-users] Problem with IS and VecScatter

Barletta, Ivano ibarletta at inogs.it
Mon May 15 10:37:48 CDT 2017


Hello users/developers

I'm trying to build a vecscatter object to
migrate data from a vector x to a vector x2
having same global size but different parallel layout.

Prior to this, I build an Index Set using the method

ISCreateStride

The IS is created correctly, since the program returns
ierr=0 when I call the subroutine (I'm using Fortran 90).

but when I run the program in parallel I get this error

   0:[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
   0:[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing
package:
http://www.mcs.anl.gov/petsc/documentation/installation.html#external
   0:[0]PETSC ERROR: Unknown IS type: general
   0:[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
for trouble shooting.
   0:[0]PETSC ERROR: Petsc Release Version 3.7.5, Jan, 01, 2017
   0:[0]PETSC ERROR: ./opa on a arch-linux2-c-debug named n419.cluster.net
by ib04116 Mon May 15 17:19:25 2017
   0:[0]PETSC ERROR: Configure options --with-cc=mpiicc --with-fc=mpiifort
--with-cxx=mpiicpc --with-mpiexec=mpirun
--with-blas-lapack-dir=/users/home/opt/intel/composer_xe_2013/mkl
--with-scalapack-lib="-L/users/home/opt/intel/composer_xe_2013/mkl//lib/intel64
-lmkl_scalapack_ilp64 -lmkl_blacs_intelmpi_ilp64"
--with-scalapack-include=/users/home/opt/intel/composer_xe_2013/mkl/include
--download-metis --download-parmetis --download-mumps --download-superlu
--with-debugging=yes CFLAGS=-I/users/home/opt/netcdf/netcdf-4.3/include
-I/users/home/opt/szip/szip-2.1/include
-I/users/home/opt/hdf5/hdf5-1.8.11/include -I/usr/include FFLAGS=-xHost
-no-prec-div -O3 -I/users/home/opt/netcdf/netcdf-4.3/include
LDFLAGS=-L/users/home/opt/netcdf/netcdf-4.3/lib -lnetcdff
-L/users/home/opt/hdf5/hdf5-1.8.11/lib
-L/users/home/opt/netcdf/netcdf-4.3/lib -L/usr/lib64/ -lz -lgpfs -lnetcdf
-lcurl -lnetcdf

The program cannot complete the scatter process
and remains hanging.

One odd thing is that, though I create a stride, the IS
object is marked as general. An even more odd thing is
that I've used the same code in a simple test case and
everything worked fine...

Have you got any hint about this?

Thanks
Ivano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170515/b94ec310/attachment.html>


More information about the petsc-users mailing list