[petsc-users] code changes from CPU to GPU

2012-02-08 Thread Matthew Knepley
;> > --with-thrust-dir=/opt/apps/cuda/4.0/cuda/ --COPTFLAGS=-xW >> > --CXXOPTFLAGS=-xW --FOPTFLAGS=-xW >> > [0]PETSC ERROR: >> > >> > [0]PETSC ERROR: VecGhostGetLocalForm() line 82 in >> > src/vec/vec/impls/mpi/commonmpvec.c >> > [0]PETSC ERROR: zero() line 974 in >> > >> "unknowndirectory/"/work/01820/ylu/libmesh_svn01232012/include/numerics/petsc_vector.h >> > application called MPI_Abort(comm=0x8402, 62) - process 0 >> > >> > Best, >> > Yujie >> >> > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/08ccbc37/attachment.htm>

[petsc-users] code changes from CPU to GPU

2012-02-08 Thread recrusader
ROR: > > > > [0]PETSC ERROR: VecGhostGetLocalForm() line 82 in > > src/vec/vec/impls/mpi/commonmpvec.c > > [0]PETSC ERROR: zero() line 974 in > > > "unknowndirectory/"/work/01820/ylu/libmesh_svn01232012/include/numerics/petsc_vector.h > > application called MPI_Abort(comm=0x8402, 62) - process 0 > > > > Best, > > Yujie > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/46feadb3/attachment-0001.htm>

[petsc-users] TS question

2012-02-08 Thread Boyce Griffith
Hi, Folks -- I was wondering if there was a reference for the time-stepping method implemented by TSARKIMEX2E? Thanks! -- Boyce

[petsc-users] code changes from CPU to GPU

2012-02-08 Thread recrusader
; --with-cusp-dir=/opt/apps/cuda/4.0/cuda/ > > --with-thrust-dir=/opt/apps/cuda/4.0/cuda/ --COPTFLAGS=-xW > > --CXXOPTFLAGS=-xW --FOPTFLAGS=-xW > > [0]PETSC ERROR: > > > > [0]PETSC ERROR: VecGhostGetLocalForm() line 82 in > > src/vec/vec/impls/mpi/commonmpvec.c > > [0]PETSC ERROR: zero() line 974 in > > > "unknowndirectory/"/work/01820/ylu/libmesh_svn01232012/include/numerics/petsc_vector.h > > application called MPI_Abort(comm=0x8402, 62) - process 0 > > > > Best, > > Yujie > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/be09ad78/attachment.htm>

[petsc-users] code changes from CPU to GPU

2012-02-08 Thread Barry Smith
The "ghosted" forms of vectors is not supported currently with GPUs. Barry On Feb 8, 2012, at 2:53 PM, recrusader wrote: > Dear PETSc developers, > > I have FEM codes. It works very well in CPU computation. > Now, I add '-vec_type seqcusp -mat_type aijcusp' when running the > codes, I me

[petsc-users] code changes from CPU to GPU

2012-02-08 Thread recrusader
Dear PETSc developers, I have FEM codes. It works very well in CPU computation. Now, I add '-vec_type seqcusp -mat_type aijcusp' when running the codes, I met the following errors. My question that whether there is an example to demonstrate how to revise the codes for the conversion from CPU to GP

[petsc-users] Hang at PetscLayoutSetUp()

2012-02-08 Thread Dmitry Karpeev
lines: > if line.find("MatCreateMPIAIJ") != -1: > matcreates = matcreates + 1 > if host in bad_hosts: > bad_hosts[host] += 1 > else: > bad_hosts[host] = 1 > > print bad_hosts > > print "Num matches: " + str(matcreates) > > print "Bad Hosts: " > for host, num in bad_hosts.items(): > if num != 4: > print host > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/53c5a72e/attachment.htm>

[petsc-users] Hang at PetscLayoutSetUp()

2012-02-08 Thread Derek Gaston
MatCreateMPIAIJ") != -1: matcreates = matcreates + 1 if host in bad_hosts: bad_hosts[host] += 1 else: bad_hosts[host] = 1 print bad_hosts print "Num matches: " + str(matcreates) print "Bad Hosts: " for host, num in bad_hosts.items(): if nu

[petsc-users] one compilation error in PETSc-dev with enabling GPU and complex number

2012-02-08 Thread Jed Brown
ass that only assumed a ring instead of a field. > ;-) -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/e9186715/attachment-0001.htm>

[petsc-users] one compilation error in PETSc-dev with enabling GPU and complex number

2012-02-08 Thread Jed Brown
but I guess you are assuming a certain syntax for converting between reals and complex.) -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/adf98c14/attachment.htm>

[petsc-users] one compilation error in PETSc-dev with enabling GPU and complex number

2012-02-08 Thread Jed Brown
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120208/3f2dba2a/attachment.htm>