Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[F]nodes指示文の前にtemplate指示文を書くとエラー #580

Closed
mnakao opened this issue May 17, 2018 · 0 comments
Closed

[F]nodes指示文の前にtemplate指示文を書くとエラー #580

mnakao opened this issue May 17, 2018 · 0 comments

Comments

@mnakao
Copy link
Member

mnakao commented May 17, 2018

例えば、下記のコードで実行時エラーになります。

program main
  !$xmp template t(10)
  !$xmp nodes p(2)
  !$xmp distribute t(block) onto p
  integer a(10)
  !$xmp align a(i) with t(i)
end program main

$ mpirun -np 2 ./a.out
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

nodes指示文とtemplate指示文を入れ替えると正常動作します.
openmpi-2.0.2-2での動作です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants