[petsc-users] [Fortran] VTK viewer error
Dharmendar Reddy
dharmareddy84 at gmail.com
Thu Apr 18 02:00:51 CDT 2013
Hello,
I am getting an erro when i try to use vtk viewer. I make the
following set of calls.
call PetscObjectGetComm(this%meshdm, comm, ierr)
call PetscViewerCreate(comm, viewer, ierr)
! This line gives a compile error, as PETSCVIEWERVTK is not defined for
FORTRAN
! !call PetscViewerSetType(viewer, PETSCVIEWERVTK)
call PetscViewerSetFormat(viewer,PETSC_VIEWER_ASCII_VTK,ierr)
call PetscViewerFileSetName(viewer, trim(filename),ierr)
!call VecView(X, PETSC_VIEWER_DEFAULT ,ierr)
call DMView(this%meshdm,ierr)
call VecView(X,viewer,ierr)
call PetscViewerDestroy(viewer,ierr)
What am i doing wrong here ?
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Out of memory. This could be due to allocating
[0]PETSC ERROR: too large an object or bleeding by not properly
[0]PETSC ERROR: destroying unneeded objects.
[0]PETSC ERROR: Memory allocated 582624 Memory used by process 30969856
[0]PETSC ERROR: Try running with -malloc_dump or -malloc_log for info.
[0]PETSC ERROR: Memory requested 18446744073296916480!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development GIT revision:
e0030536e6573667cee5340eb367e8213e67d689 GIT
Date: 2013-04-16 21:48:15 -0500
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: ./PoisTest on a mpi_rScalar_Debug named
login4.stampede.tacc.utexas.edu by Re
ddy135 Thu Apr 18 01:47:22 2013
[0]PETSC ERROR: Libraries linked from
/home1/00924/Reddy135/LocalApps/petsc/mpi_rScalar_Debug
/lib
[0]PETSC ERROR: Configure run at Tue Apr 16 22:30:58 2013
[0]PETSC ERROR: Configure options --download-blacs=1 --download-ctetgen=1
--download-metis=
1 --download-mumps=1 --download-parmetis=1 --download-scalapack=1
--download-superlu_dist=1 -
-download-triangle=1 --download-umfpack=1
--with-blas-lapack-dir=/opt/apps/intel/13/composer_
xe_2013.2.146/mkl/lib/intel64/ --with-debugging=1
--with-mpi-dir=/opt/apps/intel13/mvapich2/1
.9/ --with-petsc-arch=mpi_rScalar_Debug
--with-petsc-dir=/home1/00924/Reddy135/LocalApps/pets
c PETSC_ARCH=mpi_rScalar_Debug
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: PetscMallocAlign() line 46 in
/home1/00924/Reddy135/LocalApps/petsc/src/sys/m
emory/mal.c
[0]PETSC ERROR: PetscTrMallocDefault() line 189 in
/home1/00924/Reddy135/LocalApps/petsc/src/
sys/memory/mtr.c
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
probably memory access
out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC E
RROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find
memory corruption er
rors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: --------------------- Stack Frames
------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR: INSTEAD the line number of the start of the function
[0]PETSC ERROR: is given.
[0]PETSC ERROR: [0] PetscObjectTypeCompare line 140
/home1/00924/Reddy135/LocalApps/petsc/src
/sys/objects/destroy.c
[0]PETSC ERROR: [0] DMView line 546
/home1/00924/Reddy135/LocalApps/petsc/src/dm/interface/dm
.c
[0]PETSC ERROR: [0] PetscTrMallocDefault line 181
/home1/00924/Reddy135/LocalApps/petsc/src/s
ys/memory/mtr.c
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Development GIT revision:
e0030536e6573667cee5340eb367e8213e67d689 GIT
Date: 2013-04-16 21:48:15 -0500
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: ./PoisTest on a mpi_rScalar_Debug named
login4.stampede.tacc.utexas.edu by Re
ddy135 Thu Apr 18 01:47:22 2013
[0]PETSC ERROR: Libraries linked from
/home1/00924/Reddy135/LocalApps/petsc/mpi_rScalar_Debug
/lib
[0]PETSC ERROR: Configure run at Tue Apr 16 22:30:58 2013
[0]PETSC ERROR: Configure options --download-blacs=1 --download-ctetgen=1
--download-metis=
1 --download-mumps=1 --download-parmetis=1 --download-scalapack=1
--download-superlu_dist=1 -
-download-triangle=1 --download-umfpack=1
--with-blas-lapack-dir=/opt/apps/intel/13/composer_
xe_2013.2.146/mkl/lib/intel64/ --with-debugging=1
--with-mpi-dir=/opt/apps/intel13/mvapich2/1
.9/ --with-petsc-arch=mpi_rScalar_Debug
--with-petsc-dir=/home1/00924/Reddy135/LocalApps/pets
c PETSC_ARCH=mpi_rScalar_Debug
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory
unknown file
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0
--
-----------------------------------------------------
Dharmendar Reddy Palle
Graduate Student
Microelectronics Research center,
University of Texas at Austin,
10100 Burnet Road, Bldg. 160
MER 2.608F, TX 78758-4445
e-mail: dharmareddy84 at gmail.com
Phone: +1-512-350-9082
United States of America.
Homepage: https://webspace.utexas.edu/~dpr342
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130418/aa77c57b/attachment.html>
More information about the petsc-users
mailing list