-
Notifications
You must be signed in to change notification settings - Fork 259
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
Linker errors when compiling with INLINE_POST option enabled on macOS/Intel #925
Comments
I imagine those are unitialized module variables that Intel marks as common symbols and that |
You could test it by running |
Excellent, @kgerheiser that solved the problem. I guess this issue needs to move to UPP. Thanks a lot! |
See NOAA-EMC/UPP#416 for the issue in the UPP repository. The ufs-weather-model issue can be closed once UPP has created a new release with the bugfix included and the UFS weather model uses it, or with PR #904, which makes UPP a submodule in the UFS WM. |
I'm going to guess this can be closed, since UPP is now a submodule in UWM. |
Description
With icc/ifort and mpich on macOS, the following errors are thrown at the last step of linking the application. All of the errors originate from the UPP library. This does not happen with GNU. I am wondering if it is related to the issue that @kgerheiser recently fixed for the ufs-weather-model or not (common symbols not being linked into a library by default on macOS with Intel)?
Note that if I turn off the CMake
INLINE_POST
option, the code compiles fine.The text was updated successfully, but these errors were encountered: