Re: [OMPI devel] fortran application hanging when compiled with -g

2006-08-11 Thread Jeff Squyres
I'm not quite sure I understand -- does the application hang in an MPI call? Or is there some compiler error that is causing it to execute a DO loop incorrectly? On 8/11/06 6:25 AM, "Sven Stork" wrote: > The real problem is not the -g it is the -O0 option which will be > automatically added by

Re: [OMPI devel] fortran application hanging when compiled with -g

2006-08-11 Thread Sven Stork
The real problem is not the -g it is the -O0 option which will be automatically added by -g. If you compile with "-g -ON" for 0 < N everythings works as expected. Thanks, Sven On Friday 11 August 2006 11:54, Bettina Krammer wrote: > Hi, > > when I use the attached hello.f with Open MPI 1.1.0 a

[OMPI devel] fortran application hanging when compiled with -g

2006-08-11 Thread Bettina Krammer
Hi, when I use the attached hello.f with Open MPI 1.1.0 and underlying Intel 9.0 or 9.1 compiler on our Xeon cluster, it is deadlocking when compiled with -g option but works without -g: === output with -g: $mpirun -np 2 ./hello-g My rank is0 ! waiting for messag