|
|
想请教一下AmberTools安装失败的原因,
在解压完后:
cd amber22_src/build
./run_cmake
出现了如下错误,使用sudo apt-get install gfortran等命令重装gfortran或者换版本也没用:
The Fortran compiler identification is GNU 7.5.0
-- Check for working Fortran compiler: /home/wzd/anaconda3/bin/x86_64-conda-linux-gnu-gfortran
-- Check for working Fortran compiler: /home/wzd/anaconda3/bin/x86_64-conda-linux-gnu-gfortran -- broken
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestFortranCompiler.cmake:45 (message):
The Fortran compiler
"/home/abc/anaconda3/bin/x86_64-conda-linux-gnu-gfortran"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/abc/Downloads/amber22_src/build/CMakeFiles/CMakeTmp
ollect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_6e0f3.dir/build.make:87:cmTC_6e0f3] 错误 1
make[1]: 离开目录“/home/wzd/Downloads/amber22_src/build/CMakeFiles/CMakeTmp”
make: *** [Makefile:121:cmTC_6e0f3/fast] 错误 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:109 (enable_language)
-- Configuring incomplete, errors occurred!
|
|