GROMACS version:5.1.4
GROMACS modification: Yes/No
Here post your question
Dear all,
I am trying to install gromacs-5.1.4 on cygwin platform by following the steps given on the gromacs website. During the make command following error occurs:
[ 51%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gmx_dete
ct_hardware.cpp.o
[ 51%] Building C object src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gmx_omp_nt
hreads.c.o
[ 51%] Building C object src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gmx_thread
_affinity.c.o
/cygdrive/c/Users/hp/Downloads/gromacs-5.1.4/src/gromacs/gmxlib/gmx_thread_affinity.c:48:12: fatal error: sys/syscall.h: No such file or directory
48 | # include <sys/syscall.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:7825: src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gmx_thread_affinity.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3015: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [Makefile:183: all] Error 2
Yes, for the most part, GROMACS is backwards compatible. It’s troublesome, however, to analyse newer gromacs data with an older version, so you will be bound to the version you installed.
Usually we advice to stick to one GROMACS version within a project. If it’s pure trajectory processing, using the newer GROMACS version should be okay.
I’m sorry, I missed to make one connection - with GROMACS2020 we had some trouble installing on cygwin, see the forum post here:
If that as an option for you, I would recommend to try using the windows subsystem for linux. I know it’s another thing to install and keep track of, but in my experience, it perfroms superior to cygwin and will pay of quickly.