Open reinh-bader opened 5 years ago
Thanks for reporting this. This smells like a GFortran front-end/IR problem to me. I'll try to investigate and if I confirm that to be the case we should open an issue upstream.
Retesting with gfortran 15 (current development) and mpich and intel mpi. In both cases I see no issues. Can you retest?
System information including:
uname -a
: Linux mpp2-login5 4.4.180-94.100-default #1 SMP Tue Jul 9 19:57:20 UTC 2019 (1569ffb) x86_64 x86_64 x86_64 GNU/LinuxTo help us debug your issue please explain:
What you were trying to do (and why)
assign to an array constructor:
a = (/ this_image(), 5*this_image() /)
What happened (include command output, screenshots, logs, etc.)
resulting value of a after the statement is [ 0,0 ]
What you expected to happen
resulting value of a after statement is [ 1,5 ] on image 1
Step-by-step reproduction instructions to reproduce the error/bug
Use the following code:
build it with caf tu.f90 execute with cafrun -n 1 ./a.out
Notes: