I am trying to install the latest GROMACS on Macbook Pro 2017 15-inch (High Sierra) and got the following error message when issuing "make" command during the installation steps.
My command for cmake was: cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -DGMX_GPU=ON -DGMX_USE_OPENCL=ON Thanks in advance for the help. [ 91%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp.o In file included from /Users/ygchung/Desktop/codes/gromacs-2018-rc1/src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp:54: In file included from /Users/ygchung/Desktop/codes/gromacs-2018-rc1/src/gromacs/gpu_utils/oclutils.h:46: In file included from /Users/ygchung/Desktop/codes/gromacs-2018-rc1/src/gromacs/gpu_utils/gmxopencl.h:61: In file included from /System/Library/Frameworks/OpenCL.framework/Headers/opencl.h:16: In file included from /System/Library/Frameworks/OpenCL.framework/Headers/gcl.h:23: */usr/include/dispatch/dispatch.h:38:45: **error: **expected value in expression* #if !defined(HAVE_UNISTD_H) || HAVE_UNISTD_H * ^* 1 error generated. make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp.o] Error 1 make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2 make: *** [all] Error 2 -- Gromacs Users mailing list * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting! * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists * For (un)subscribe requests visit https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-requ...@gromacs.org.