PETSc, hangs, on, PetscInitialize
Marcus Heck
heck at fnb.tu-darmstadt.de
Fri Jun 15 06:53:55 CDT 2007
Hi,
I am runing PETSc on the FE-solver FEAP. If I run a normal FE analysis
everithing is fine!
Then I want do run a coupled FSI computation. So I initialize PETSc and
MpCCI (my coupling library) or the other way round (MpCCI, PETSc). But
PETSc enters the PetscInitialize and never comes out. Does anyone has an
idea.
Thanks a lot
Marcus
Here some infos about PETSc and my code:
**************
PETSc config:
./config/configure.py --prefix=/amd/software/linux/petsc-2.3.2-p10 --with-cc=gcc --with-fc=g77 --LD_SHARED= g++ --LDFLAGS="-O1" --with-mpi-dir=/usr/lib/mpich --with-mpi-shared=1
Compile and linking command in both cases are identical, except the
MpCCI library includes.
If there is any idea let me know please
Thanks a lot in advance
Marcus
**************
CODE inside FEAP75.f
write(*,*) 'FEAP starting MpCCI setup and interface definition.'
call CCI_Init( iError )
write(*,*) 'FEAP starting MpCCI done'
write(*,*)'pcontr(): initializing PETSC'
call PetscInitialize(PETSC_NULL_CHARACTER,petsc_ierr)
write(*,*)'pcontr(): initializing PETSC done'
call pstart()
**************
CODE OUTPUT:
FEAP starting MpCCI setup and interface definition.
===========================================================================
MpCCI 3.0.3 (for MPICH 1.2.5) - compilation date Dec 22 2004 20:08:09
FhG-SCAI, Fraunhofer Institute for Algorithms and Scientific Computing
Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
Coupled computation started at 15-6-2007 11:16:16.
Running on host 'ares'.
===========================================================================
************************************
* This MpCCI 3.0 Professional *
* is licensed for *
* TU Darmstadt, FB Maschinenbau, M *
* until date 28-feb-2008. *
************************************
FEAP starting MpCCI done
pcontr(): initializing PETSC
**************
strace on the pid tells:
3p$ strace -p17164
Process 17164 attached - interrupt to quit
select(5, [3 4], NULL, NULL, {6, 266000}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}) = 0 (Timeout)
select(5, [3 4], NULL, NULL, {9, 0}
-- 8< --- snip -- 8< ---
**************
Totalview telals following:
main (f77) -> perscinitialize_ (C) -> PETScParseFortranArgs_Private (C)
-> PMPI_Bcast -> inta_Bcast -> ...
Please see screen shot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03.png
Type: image/png
Size: 48773 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070615/6f93f00c/attachment.png>
More information about the petsc-users
mailing list