[AMBER] Amber14 installation issue

From: Alexey Orlov <rnase.qsar.chem.msu.ru>
Date: Wed, 20 Feb 2019 20:56:56 +0300

Dear Amber users,

I encountered a problem with the installation of Amber14 and
AmberTools15 on Linux Ubuntu 18.04.

I followed through steps from Amber14 Reference Manual. ./configure gnu
reports no issues, but make install is throwing errors.

At first, I faced the problems described here
(http://archive.ambermd.org/201703/0433.html) and here
(http://archive.ambermd.org/201612/0121.html), but resolved them with
the suggested solutions.

Finally, I got the following error message:

utilities.cpp: In function ‘bool fexists(const string&)’:
utilities.cpp:15:11: error: cannot convert ‘std::ifstream {aka
std::basic_ifstream<char>}’ to ‘bool’ in return
     return f;
Makefile:29: recipe for target 'utilities.o' failed
make[2]: *** [utilities.o] Error 1
make[2]: Leaving directory
Makefile:16: recipe for target 'serial' failed
make[1]: *** [serial] Error 2
make[1]: Leaving directory '/home/aorlov/amber14/AmberTools/src'
Makefile:7: recipe for target 'install' failed
make: *** [install] Error 2

My gcc and g++ versions are 6.5.0. To make the version of gfortran
compatible with them I manually changed fc variables in lines 944 and
1814 in configure2 file (AmberTools/src/ directory) to gfortran-6.

Any help with this issue would be much appreciated.

With best regards,

AMBER mailing list
Received on Wed Feb 20 2019 - 10:00:01 PST
Custom Search