array in module

1 view
Skip to first unread message

Noriyuki Kushida

unread,
Mar 23, 2020, 12:07:56 PM3/23/20
to omni-c...@googlegroups.com
Dear All,

I am sorry for my frequent emails.
However, I have met another issue, and if you can give an idea to circumvent this, I would appreciate it.

What I want to do is basically to use arrays which are defined in a module file.
I feel XcalableMP/Omnicompiler allow us to do, since I can achieve this in a small sample.
(I attache this sample code to this email)

On the other hand, I got the following error on GDB when I do on my real code.
(variablesArray.f90 is almost like array.f90, but it has 50 array definitions).
Because the error message looks relevant to a compiler module, I wonder if this way of use is intended.
Could you let me know my understanding is correct?

If this could be an issue, I can provide you with the entire code but in the middle of porting.

Best regards,
Noriyuki Kushida

Thread 1 "sol" received signal SIGSEGV, Segmentation fault.
0x00000000004053b3 in xmpf_traverse_module_m_variables_array ()
    at /home/kushida/program/yingyang/FORTRAN/FDM_CPU_2D_virtual_cell/variablesArray.f90:110
110     !$xmp distribute t_vp_rk(gblock(*),gblock(*),*) onto pThread 1 "sol" received signal 
sample.tar.gz

Masahiro Nakao

unread,
Mar 24, 2020, 4:45:07 AM3/24/20
to omni-c...@googlegroups.com
Dear Kushida-san,

Your attached codes are grammatically correct.
To solve your problem, please give us full codes.
If possible, please send the smallest code that causes an error.
Then we can reply right away.

Thanks,
> --
> You received this message because you are subscribed to the Google
> Groups "omni-compiler" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to omni-compile...@googlegroups.com
> <mailto:omni-compile...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/omni-compiler/CAKx-aKy2HMeSh4tVX52P3rEZHoyks2DKiixS0fMhvyPsHOBu-Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/omni-compiler/CAKx-aKy2HMeSh4tVX52P3rEZHoyks2DKiixS0fMhvyPsHOBu-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
Masahiro NAKAO
Email : masahir...@riken.jp
Researcher
RIKEN Center for Computational Science (R-CCS)
Reply all
Reply to author
Forward
0 new messages