[overture] Re: parallel ins with PETSc

  • From: Bill Henshaw <henshaw@xxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Sat, 05 Jan 2008 08:38:10 -0800

Hi Joel,

You should make sure that you have turned on the use of PETSc in the
cg/ins/Makefile :

# sparse solver packages:
usePETSc   := on

When you link cgins you should then see that the files
buildEquationSolvers.o, PETScSolver.o and the PETSc libraries
are on the link line.

...Bill

Joel Guerrero wrote:
Hi kyle,

I just checked and now I'm getting this error, which I think is related to the 
parallel version of petsc. So far I compiled overture with petsc so I dont know 
what could be the problem.

cheers,

jg

initialize the solution...
 interpolateAndApplyBoundaryConditions (start) steps=-1 t=0: number of array 
ID's has increased to 684
Cgins::project: project the initial conditions <<<<

 $$$$$$$$$$$$$$$ Cgins: updateToMatchGrid(CompositeGrid & cg) $$$$$$$$$$$$

Oges::buildEquationSolvers:ERROR: solver PETSc is not currently available
 You may have to copy and edit the file Overture/Oges/buildEquationSolvers.C
 and a file like PETScEquationSolver.C (if you are trying to use PETSc)
 and then link the files to your application in order to get a non-standard 
solver
 See the Oges documentation for further details
error
Overture::abort: I am now going to purposely abort so that you can get a 
traceback from a debugger
:18765] [14] 
../../../../cg_parallel.v22/ins/bin/cgins(_ZN3MPI3Win4FreeEv+0x10d) [0x805acd1]
[linux-p8i7:18765] *** End of error message ***
mpirun noticed that job rank 0 with PID 18765 on node linux-p8i7 exited on signal 6 (Aborted). 1 additional process aborted (not shown)


----- Original Message ----
From: Joel Guerrero <joegi.geo@xxxxxxxxx>
To: overture@xxxxxxxxxxxxx
Sent: Saturday, January 5, 2008 8:15:13 PM
Subject: [overture] Re: parallel ins


Hi Kyle,
I think I'm using the parallel version of petsc, in anycase I will
 check.


Cheers,

Joel

----- Original Message ----
From: Kyle K. Chand <chand1@xxxxxxxx>
To: overture@xxxxxxxxxxxxx
Sent: Saturday, January 5, 2008 8:11:03 PM
Subject: [overture] Re: parallel ins


Hi Joel,

You will need to use the parallel PETSc solvers to use the parallel ins
code. If you have not built Overture with PETSc you will first need to build PETSc and then rebuild Overture.

Regards,
Kyle
On Friday 04 January 2008 16:31, Joel Guerrero wrote:
Hi,

So far I have been using parallel cns, which runs in parallel quite
good.
Now I'm trying to use parallel ins, but I'm getting this error. Any
suggestion,

joel

initialize the solution...
 interpolateAndApplyBoundaryConditions (start) steps=-1 t=0: number
 of
array ID's has increased to 684

Cgins::project: project the initial conditions <<<<
 $$$$$$$$$$$$$$$ Cgins: updateToMatchGrid(CompositeGrid & cg)
 $$$$$$$$$$$$
 insBC: after generalizedDivergence: number of array ID's has
 increased to
687 Oges::ERROR:serial generateMatrix called in parallel!

Overture::abort: I am now going to purposely abort so that you can
 get a
traceback from a debugger [linux-p8i7:16457] *** Process received
 signal
***
[linux-p8i7:16457] Signal: Aborted (6)
[linux-p8i7:16457] Signal code:  (-6)
Oges::ERROR:serial generateMatrix called in parallel!

Overture::abort: I am now going to purposely abort so that you can
 get a
traceback from a debugger [linux-p8i7:16458] *** Process received
 signal
***
[linux-p8i7:16458] Signal: Aborted (6)
[linux-p8i7:16458] Signal code:  (-6)
[linux-p8i7:16458] [ 0] [0xffffe440]
[linux-p8i7:16458] [ 1] /lib/libc.so.6(abort+0x101) [0xb22481e1]
[linux-p8i7:16458] [ 2]


 ../../../../cg_parallel.v22/ins/bin/cgins(_ZN8Overture5abortERK7aString+0x5
a) [0x807989e] [linux-p8i7:16458] [ 3]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges1
4generateMatrixERi+0x34) [0xb5b48eca] [linux-p8i7:16458] [ 4]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges1
0formMatrixERiS0_NS_23SparseStorageFormatEnumEbb+0xf73) [0xb5b489af]
[linux-p8i7:16458] [ 5]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN18Yale
EquationSolver5solveER27doubleCompositeGridFunctionS1_+0x184)
 [0xb5b8c2de]
[linux-p8i7:16458] [ 6]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges5
solveER27doubleCompositeGridFunctionS1_+0x9a) [0xb5b5a630]
[linux-p8i7:16458] [ 7]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns32solveForTimeIndependentVariablesER12GridFunction+0xa4b)
 [0xb77d3e4d]
[linux-p8i7:16458] [ 8]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns7projectER12GridFunction+0x16fe) [0xb7733da4] [linux-p8i7:16458] [
 9]

 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver18initializeSolutionEv+0x1220) [0xb74ace9e]
[linux-p8i7:16458] [10]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns18initializeSolutionEv+0x1e) [0xb78d6de6] [linux-p8i7:16458] [11]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver5setupERKd+0x4a2d) [0xb752acd7] [linux-p8i7:16458]
 [12]

 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver26setParametersInteractivelyEb+0x11b49) [0xb73cdb21]
[linux-p8i7:16458] [13] ../../../../cg_parallel.v22/ins/bin/cgins
[0x805b645] [linux-p8i7:16458] [14]
 /lib/libc.so.6(__libc_start_main+0xe0)
[0xb2232fe0] [linux-p8i7:16458] [15]
../../../../cg_parallel.v22/ins/bin/cgins(_ZN3MPI3Win4FreeEv+0x10d)
[0x805acd1] [linux-p8i7:16458] *** End of error message ***
[linux-p8i7:16457] [ 0] [0xffffe440]
[linux-p8i7:16457] [ 1] /lib/libc.so.6(abort+0x101) [0xb22511e1]
[linux-p8i7:16457] [ 2]


 ../../../../cg_parallel.v22/ins/bin/cgins(_ZN8Overture5abortERK7aString+0x5
a) [0x807989e] [linux-p8i7:16457] [ 3]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges1
4generateMatrixERi+0x34) [0xb5b51eca] [linux-p8i7:16457] [ 4]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges1
0formMatrixERiS0_NS_23SparseStorageFormatEnumEbb+0xf73) [0xb5b519af]
[linux-p8i7:16457] [ 5]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN18Yale
EquationSolver5solveER27doubleCompositeGridFunctionS1_+0x184)
 [0xb5b952de]
[linux-p8i7:16457] [ 6]


 /home/joegi/cfd/overture/Overture_parallel.v22/lib/libOverture.so(_ZN4Oges5
solveER27doubleCompositeGridFunctionS1_+0x9a) [0xb5b63630]
[linux-p8i7:16457] [ 7]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns32solveForTimeIndependentVariablesER12GridFunction+0xa4b)
 [0xb77dce4d]
[linux-p8i7:16457] [ 8]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns7projectER12GridFunction+0x16fe) [0xb773cda4] [linux-p8i7:16457] [
 9]

 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver18initializeSolutionEv+0x1220) [0xb74b5e9e]
[linux-p8i7:16457] [10]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../ins/lib/libCgins.so(_ZN5Cgi
ns18initializeSolutionEv+0x1e) [0xb78dfde6] [linux-p8i7:16457] [11]


 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver5setupERKd+0x4a2d) [0xb7533cd7] [linux-p8i7:16457]
 [12]

 /home/joegi/cfd/overture/cg_parallel.v22/ins/../common/lib/libCgCommon.so(_
ZN12DomainSolver26setParametersInteractivelyEb+0x11b49) [0xb73d6b21]
[linux-p8i7:16457] [13] ../../../../cg_parallel.v22/ins/bin/cgins
[0x805b645] [linux-p8i7:16457] [14]
 /lib/libc.so.6(__libc_start_main+0xe0)
[0xb223bfe0] [linux-p8i7:16457] [15]
../../../../cg_parallel.v22/ins/bin/cgins(_ZN3MPI3Win4FreeEv+0x10d)
[0x805acd1] [linux-p8i7:16457] *** End of error message ***
mpirun noticed that job rank 0 with PID 16457 on node linux-p8i7
 exited on
signal 6 (Aborted). 1 additional process aborted (not shown)






 ___________________________________________________________________________
_________ Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


Other related posts: