|
请问ubuntu2004里面安装gromacs-2020.6,在make install的时候报错是怎么回事呢?gcc版本还是anaconda出问题了?
...
...
...
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/optional(1230): error: too few template parameters -- does not match previous declaration (declared
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/array(243): here)
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/optional(1230): error: expected a ";"
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/bits/unordered_map.h(1151): error: argument list for class template "std::unordered_map" is missing
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/bits/unordered_map.h(1151): error: expected a ")"
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/bits/unordered_map.h(1151): error: template parameter "_InputIterator" may not be redeclared in this scope
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/bits/unordered_map.h(1152): error: expected a ";"
/home/xx/anaconda3/envs/myenv/x86_64-conda-linux-gnu/include/c++/9.3.0/bits/unordered_map.h(1164): error: argument list for class template "std::unordered_map" is missing
Error limit reached.
100 errors detected in the compilation of "/opt/softs/gromacs-2020.6/src/gromacs/nbnxm/cuda/nbnxm_cuda.cu".
Compilation terminated.
CMake Error at libgromacs_generated_nbnxm_cuda.cu.o.Release.cmake:280 (message):
Error generating file
/opt/softs/gromacs-2020.6/build/src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/./libgromacs_generated_nbnxm_cuda.cu.o
make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:65: src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/libgromacs_generated_nbnxm_cuda.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4200: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
|
|