GROMACS version:gromacs-2020.1
GROMACS modification: No
I am porting the gromacs (version 2020.1) application using NEC Compilers.
Environment options:
Export CC=mpincc
Export CXX=mpinc++
-
Using cmake(version 3.17.0).
-
Cmake command used:
“cmake … -DCMAKE_C_COMPILER=mpincc -DCMAKE_CXX_COMPILER=mpinc++ -DCMAKE_C_FLAGS=" -report-all -fopenmp " -DCMAKE_CXX_FLAGS=" -report-all -fopenmp " -DGMX_MPI=ON -DCMAKE_PREFIX_PATH=/opt/nec/ve/nlc/2.0.0/ -DCMAKE_INSTALL_PREFIX=/S/home/nti/work/shubham/GROMACS_Intel/gromacs-2020.1/ -DGMX_DOUBLE=on -DFFTW_INCLUDE_DIR=/opt/nec/ve/nlc/2.0.0/include/ -DGMX_FFT_LIBRARY=fftw3 -DFFTW_LIBRARY=/opt/nec/ve/nlc/2.0.0/lib/ ”
- Make command: “make”
It results in error:
[ 1%] Built target release-version-info
[ 1%] Built target thread_mpi
[ 1%] Built target lmfit_objlib
[ 4%] Built target tng_io_obj
[ 4%] Built target tng_io_zlib
[ 25%] Built target linearalgebra
Scanning dependencies of target modularsimulator
[ 25%] Building CXX object src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/modularsimulator.cpp.o
"/S/home/nti/work/shubham/GROMACS_Aurora/gromacs-2020.1/src/gromacs/compat/stri
ng_view.h", line 894: error: incomplete type is not allowed
const basic_string_view v;
^
1 error detected in the compilation of “/S/home/nti/work/shubham/GROMACS_Aurora/gromacs-2020.1/src/gromacs/modularsimulator/modularsimulator.cpp”.
make[2]: *** [src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/modularsimulator.cpp.o] Error 1
make[1]: *** [src/gromacs/modularsimulator/CMakeFiles/modularsimulator.dir/all] Error 2
make: *** [all] Error 2
Can you suggest the possible cause of error.