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

Remove -Mchkfpstk flag from cmake/NVHPC.cmake #339

Open
cponder opened this issue Feb 3, 2022 · 1 comment
Open

Remove -Mchkfpstk flag from cmake/NVHPC.cmake #339

cponder opened this issue Feb 3, 2022 · 1 comment

Comments

@cponder
Copy link

cponder commented Feb 3, 2022

The -Mchkfpstk flag here

5    set(check_all "-Mbounds -Mchkfpstk -Mchkstk")

causes an error

nvfortran-Error-Unknown switch: -Mchkfpstk

I assume that it's an old flag no longer supported.

@cponder
Copy link
Author

cponder commented Feb 3, 2022

A workaround is to add the -noswitcherror, which is usually used to make the PGI compilers digest GCC or Intel flags.
But I'd prefer to just clean it out.

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