[AMBER-Developers] Cmake: How does it work?

From: Scott Le Grand <varelse2005.gmail.com>
Date: Thu, 30 Jul 2020 14:27:41 -0700

So I am getting weird crap with the cmake path to building AMBER, what am I
doing wrong here?

And so begins:
slegrand.delos:/media/work/slegrand/amber/build$ ./run_cmake
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present. A line of code such as

    cmake_minimum_required(VERSION 3.5)

  should be added at the top of the file. The version specified may be
lower
  if you wish to support older CMake versions for this project. For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    COMPILER
    CUDA
    DOWNLOAD_MINICONDA
    INSTALL_TESTS
    MINICONDA_USE_PY3
    MPI


-- Build files have been written to: /media/work/slegrand/amber/build

If the cmake build report looks OK, you should now do the following:

    make install
    source /media/work/slegrand/amber20/amber.sh

Consider adding the last line to your login startup script, e.g. ~/.bashrc

slegrand.delos:/media/work/slegrand/amber/build$ make install
make: *** No rule to make target 'install'. Stop.
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Jul 30 2020 - 14:30:02 PDT
Custom Search