[Bug fortran/81205] Hybrid MPI and OpenMp: Blocking code in loops

2017-06-26 Thread pasha.313 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81205 --- Comment #7 from Pasha --- (In reply to Harald Anlauf from comment #6) > (In reply to Pasha from comment #5) > > (In reply to Harald Anlauf from comment #4) > > > (In reply to Pasha from comment #2) > > > > This is my main routine for example

[Bug fortran/81205] Hybrid MPI and OpenMp: Blocking code in loops

2017-06-26 Thread pasha.313 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81205 --- Comment #5 from Pasha --- (In reply to Harald Anlauf from comment #4) > (In reply to Pasha from comment #2) > > This is my main routine for example > > . > > . > > . > > !!$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(K,jL) > > DO k=1,nG3 > >

[Bug fortran/81205] Hybrid MPI and OpenMp: Blocking code in loops

2017-06-26 Thread pasha.313 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81205 --- Comment #3 from Pasha --- For example, in this case index variables are not the same in both subroutines but it blocks running.

[Bug fortran/81205] Hybrid MPI and OpenMp: Blocking code in loops

2017-06-26 Thread pasha.313 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81205 --- Comment #2 from Pasha --- This is my main routine for example . . . !!$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(K,jL) DO k=1,nG3 DO jL=1,nL2 j = idx2start + jL IF(masque(j,k))THEN ! dudx

[Bug fortran/81205] New: Hybrid MPI and OpenMp: Blocking code in loops

2017-06-26 Thread pasha.313 at hotmail dot com
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: pasha.313 at hotmail dot com Target Milestone: --- I am developing a CFD code which was paralleled via MPI. I am adding OpenMp to make it a hybrid parallel code. I am using Gfortan (GCC version 4.4.7) right now. The first