[petsc-users] petsc freezes
Dominik Szczerba
dominik at itis.ethz.ch
Mon Mar 29 09:16:09 CDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jed,
Indeed, I could not run anything in parallel at all. Quite desperate, I
had rebooted my PC, and all works again. Must have been some pending
system update or hanging sockets etc.
Thanks,
Dominik
Jed Brown wrote:
> On Sat, 27 Mar 2010 10:31:58 +0100, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> After a long period with no problems, suddenly my program freezes with
>> - -np>1, right after:
>>
>> int main(int argc, char** argv)
>> {
>> int myid=0, np=1;
>> PetscErrorCode ierr;
>> ierr = PetscInitialize(&argc, &argv, (char *)0, (char *)0);CHKERRQ(ierr);
>> // this is never reached
>> // ...
>> }
>>
>> This was with Petsc 3.0.0-p9. I have just downloaded and compiled the
>> latest version (3.1-p0) to find out that "make ... test" freezes as well:
>>
>>> make PETSC_DIR=/home/domel/pack/petsc-3.1-p0
>> PETSC_ARCH=linux-gnu-c-release test
>> Running test examples to verify correct installation
>> C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1
>> MPI process
>>
>> [FREEZE]
>>
>> I am using 64bit Ubuntu 9.10. How can I investigate what is happening?
>
> I suspect a problem with your MPI configuration. Can you run a simple
> MPI program in parallel? To investigate, run in a debugger or attach a
> debugger after it has hung.
>
> mpiexec -n 2 ./app -start_in_debugger
>
> OR
>
> mpiexec -n 2 xterm -e gdb --args ./app
>
> OR
>
> mpiexec -n 2 ./app &
> gdb -pid `pgrep app`
>
> What does the stack trace look like?
>
> Jed
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkuwtiMACgkQ/EBMh9bUuzJ60ACgvtHCruaU1Ol7K7hgeKWym/Dg
Kg4AnjFfjtBs6r+DGHcNOmPDMYqKb13Y
=j1pZ
-----END PGP SIGNATURE-----
More information about the petsc-users
mailing list