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

NVHPC can't handle some code in FindBaselibs.cmake #248

Open
mathomp4 opened this issue Feb 1, 2022 · 0 comments
Open

NVHPC can't handle some code in FindBaselibs.cmake #248

mathomp4 opened this issue Feb 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mathomp4
Copy link
Member

mathomp4 commented Feb 1, 2022

In our code we have these lines:

execute_process (COMMAND ${CMAKE_CXX_COMPILER} --print-file-name=libstdc++.so OUTPUT_VARIABLE stdcxx OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process (COMMAND ${CMAKE_CXX_COMPILER} --print-file-name=librt.so OUTPUT_VARIABLE rt OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process (COMMAND ${CMAKE_CXX_COMPILER} --print-file-name=libdl.so OUTPUT_VARIABLE dl OUTPUT_STRIP_TRAILING_WHITESPACE)

but unfortunately, nvc++ does not have the --print-file-name option.

I suppose the first question is: do we need these? If not, then removing settles everything. If not, we might need to work with NVIDIA to figure out an NVHPC equivalent.

@mathomp4 mathomp4 added the bug Something isn't working label Feb 1, 2022
@mathomp4 mathomp4 self-assigned this Feb 1, 2022
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

No branches or pull requests

1 participant