Support in building local Tinker9 on HPC #173
-
Dear all, I am trying to build a local version of Tinker9 on a HPC. I'm not an expert in compiling, so probably I am missing something trivial (probably also some important info below) and I would be grateful for any support. Currently, I am struggling with the nvc++ compiler. I've build a local version of HPC_SDK from NVIDIA to get OpenACC, which didn't show any errors. However, during the cmake I get the following issue: -- Check for working CXX compiler: /home/jkozuch/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/compilers/bin/nvc++ -- broken
is not able to compile a simple test program. I am using the following with gcc 9.3.0: The entire output from cmake is pasted below. Seems like issues with the HPC_SDK or compatibilities (?). Are there other sources to obtain OpenACC, if HPK_SDK is the issue here? Big thanks in advance! Best, -- The CXX compiler identification is PGI 21.9.0
is not able to compile a simple test program. It fails with the following output:
uild.make CMakeFiles/cmTC_1f34e.dir/build CMake will not be able to correctly generate this project. -- Configuring incomplete, errors occurred! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I just fixed an issue if
to
Remember to delete the CMake-generated files before re-running CMake again. Second, if a If none of the above works, please locate the file
|
Beta Was this translation helpful? Give feedback.
I just fixed an issue if
CUDACXX
is set, although I don't think it is relevant to the problem you saw here. First I'd like to edit these two linesto
Remember to delete the CMake-generated files before re-running CMake again.
Second, if a
CMakeLists.txt(Edit: CMakeCache.txt) is generated in your build directory and nvc++ etc. are already in your PATH, you can run$tinker9/cmake/check-pgi
inside your build directory. This is a script I wrote to check the possible compatibi…