Question: An error message while installing gromacs on windows 10 (Linux bash shell, ubuntu)
0
gravatar for DS
4 weeks ago by
DS0
DS0 wrote:

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 • 140 views
ADD COMMENTlink modified 4 weeks ago by austinjpaul40 • written 4 weeks ago by DS0
2
gravatar for austinjpaul
4 weeks ago by
austinjpaul40
austinjpaul40 wrote:

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 COMMENTlink modified 4 weeks ago • written 4 weeks ago by austinjpaul40

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 REPLYlink written 4 weeks ago by DS0

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 REPLYlink modified 4 weeks ago • written 4 weeks ago by genomax65k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1181 users visited in the last hour