-
Notifications
You must be signed in to change notification settings - Fork 657
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
typo error: -vectorize-noncontigous-memory-aggressively #1930
Comments
Typo in arch/configure.defaults |
Hi, The recipe which is available tested with AOCC 3. Yes, in AOCC4, this flag has been changed to "--vectorize-non-contiguous-memory-aggressively". There is no typo in AOCC flags. |
The typo is on line 2095 (or 2094) of the file arch/configure.defaults: https://github.com/wrf-model/WRF/blob/master/arch/configure.defaults#L2095 This is the line with the typo: AMDLDFLAGS =-Wl,-mllvm -Wl,-enable-loop-reversal -Wl,-mllvm -Wl,-enable-gather -Wl,-mllvm -Wl,-vectorize-noncontigous-memory-aggressively The correct flag is -vectorize-non-contiguous-memory-aggressively |
Because of the typo, WRF 4.5.X do not compile with AOCC.
make[1]: [Makefile:34: em_real] Error 1 (ignored)
ld.lld: error: -mllvm: ld.lld: Unknown command line argument '-vectorize-noncontigous-memory-aggressively'. Try: '/opt/npad/shared/spack-v.0.21.0/opt/spack/linux-rocky8-zen/aocc-4.0.0-e44fzvu2tzd5sxxgoi3ce25awgmledsf/bin/ld.lld --help'
ld.lld: Did you mean '--vectorize-non-contiguous-memory-aggressively'?
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
Command exited with non-zero status 1
The text was updated successfully, but these errors were encountered: