Skip to content

Installation issue #207

@Maxim-93

Description

@Maxim-93

Initially ran the following:
cmake -B /home/tinker9-1.3.0/build -S /home/tinker9-1.3.0

which gave this error:

CMake Error at CMakeLists.txt:408 (find_program):
  Could not find T9_ACC_COMPILER using the following names: nvc++, pgc++

As this was an issue with the compiler (and given that in the Tinker9 installation instructions, it's specified that both CUDA and NVHPC is needed for one of the next steps), I installed NVHPC as I already have CUDA installed.

This then led to the following error message when rerunning the above command:

- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Error at ext/interface/CMakeLists.txt:536 (message):
  Must use a GNU or Intel Fortran compiler; Please export
  FC=valid_fortran_compiler; NVHPC is not supported.

Also, running the following:
FC=gfortran compute_capability=70 gpu_lang=cuda cmake ..

-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Could NOT find Catch2 (missing: Catch2_DIR)
CMake Error at /usr/share/cmake-3.22/Modules/ExternalProject.cmake:2882 (message):
  No download info given for 'BuildCatch2' and its source directory:

   /home/epstein/tinker9-1.3.0/ext/ext/catch2v3

  is not an existing non-empty directory.  Please specify one of:

   * SOURCE_DIR with an existing non-empty directory
   * DOWNLOAD_COMMAND
   * URL
   * GIT_REPOSITORY
   * SVN_REPOSITORY
   * HG_REPOSITORY
   * CVS_REPOSITORY and CVS_MODULE
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/ExternalProject.cmake:3716 (_ep_add_download_command)
  test/CMakeLists.txt:14 (ExternalProject_Add)


-- Configuring incomplete, errors occurred!

Not entirely sure how to proceed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Huh?Something is weird

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions