An error message while installing gromacs on windows 10 (Linux bash shell, ubuntu)
1
0
Entering edit mode
5.1 years ago
DS • 0

Hello,

I would like to install gromacs on windows 10 (Linux bash shell). I followed the instructions from https://bioinformaticsreview.com/20151126/how-to-install-gromacs-5-x-x-on-linux-ubuntu-14-04-lts .

DS@DS:/mnt/c/users/ds/desktop$   sudo cmake .. -DGMX_BUILD_OWN_FFTW=OFF -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH=/mnt/c/users/ds/desktop/regressiontests-5.1.1

CMake Error: The source directory "/mnt/c/users/ds" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

I couldn't figure out the error. Could you please help me?

gromacs ubuntu • 2.2k views
ADD COMMENT
2
Entering edit mode
5.1 years ago
austinjpaul ▴ 40

Make sure you are in the correct directory before running the cmake command. .. refers to the parent directory, which should have the downloaded materials including the CMakeLists.txt file. It looks like you might have skipped the cd build (and maybe other previous) commands.

ADD COMMENT
0
Entering edit mode

Thank you for your answer. I successfully installed but I couldn't execute it. Could you help me?

DS@DS:/mnt/c/users/ds/desktop/gromacs-5.1.1/build$ source /usr/local/gromacs/bin/GMXRC No such file or directory

ADD REPLY
0
Entering edit mode

That is not how you execute programs. You should just do $ /usr/local/gromacs/bin/GMXRC your_command_options ..

You may want to spend some time learning basics of how unix shell works by following tutorials here.

ADD REPLY

Login before adding your answer.

Traffic: 2711 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6