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

Invalid OMP directive encountered when compiling FVCOM using mpiifort #12

Open
jimc101 opened this issue Sep 8, 2022 · 0 comments
Open

Comments

@jimc101
Copy link

jimc101 commented Sep 8, 2022

When compiling FVCOM using recent releases of mpiifort, we have encountered the error:

swmod2.f90(115): error #7844: Invalid directive.
!$OMP& KM_WAM, KM01, SIGM_10, SIGM01)
^
compilation aborted for swmod2.f90 (code 1)
make: *** [makefile:43: swmod2.o] Error 1

The problem seems to relate to this issue, and can be fixed by adding the compiler flag “-qno-openmp-simd” to the make include OPT variable. Is this the right fix?

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

No branches or pull requests

1 participant