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

runtime error with Intel ifx compiler #247

Closed
ningli-amd opened this issue Jan 18, 2024 · 4 comments · Fixed by #251
Closed

runtime error with Intel ifx compiler #247

ningli-amd opened this issue Jan 18, 2024 · 4 comments · Fixed by #251
Labels
bug Something isn't working

Comments

@ningli-amd
Copy link

Describe the bug

This is from a debug build with the Intel OneAPI ifx compiler. While running the standard channel flow case, I pick up the following error at the beginning of the code:

forrtl: severe (189): LHS and RHS of an assignment statement have incompatible types
Image              PC                Routine            Line        Source
xcompact3d         000000000278A0AF  Unknown               Unknown  Unknown
xcompact3d         000000000043084B  alloc_x_real               32  alloc.inc
xcompact3d         00000000004595A9  init_variables            141  variables.f90
xcompact3d         000000000079E3B9  init_xcompact3d           211  xcompact3d.f90
xcompact3d         000000000079DBB9  init_xcompact3d_.           0  xcompact3d.f90
xcompact3d         000000000079D228  xcompact3d                 51  xcompact3d.f90
xcompact3d         000000000040F74D  Unknown               Unknown  Unknown
libc-2.28.so       00001462526A5D85  __libc_start_main     Unknown  Unknown
xcompact3d         000000000040F66E  Unknown               Unknown  Unknown

This is the v4.0 code.

@ningli-amd ningli-amd added the bug Something isn't working label Jan 18, 2024
@mathrack
Copy link
Contributor

Hello, thank you for reporting this issue. The bug seems to occur when the decomp_info object is copied. Could you try the branch merge_2decomp_main to check if the bug is present there ?

I have merged the branch main of 2decomp inside xcompact3d. The copy of the decomp_info object is no longer present.

@slaizet
Copy link
Contributor

slaizet commented Jan 23, 2024

Hi Ning,
May I ask you if you use cmake or Makefile to compile the code, which ifx version did you use and which MPI library did you use?
Cheers,
Sylvain

@mathrack mathrack linked a pull request Jan 23, 2024 that will close this issue
@ningli-amd
Copy link
Author

Hi Sylvain,
I was built the package using the Makefile approach and with the MKL FFT engine and OpenMPI. The ifx is from OneAPI v2023.2.

@ningli-amd
Copy link
Author

I can confirm that branch merge_2decomp_main does fix the runtime issue.

@mathrack mathrack linked a pull request Feb 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants