Need help to handle a bug

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Jun 26 10:32:00 GMT 2017


Dear Saeed,

A failing testcase would help us enormously :-)

Regards

Paul

On 26 June 2017 at 10:36, saeedparvar <s.parvar@fe.up.pt> wrote:
> To whom it may concern.
> 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 thing that I noticed is the code blocks when a subroutine ,which
> has a loop inside itself with index variable such as I,J for example, is
> called from a loop which has the same index variable(counter I,J) of that
> subroutine. When I disable OMP command of just those subroutine everything
> is fine and the code works well.
> Do you have any remedy for it?
> I tried to use some update version such as GCC 4.7.2 and even 5.2.1, but the
> condition exacerbated as the code block in early stage in comparison with
> previous situation even if disabling those OMP commands.
> I was wondering if you could kindly offer a solution to fix this problem.
> Best regards
> --
> Saeed Parvar
> Researcher
> Department of Mechanical Engineering
> Faculty of Engineering (FEUP)
> University of Porto



-- 
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein



More information about the Fortran mailing list