In file included from Ewald_ParticleMesh.cpp(5): libpme_standalone.h(389): error: function call must have a constant value in a constant expression static constexpr long double epsilon = 10.0 * std::numeric_limits::epsilon(); ^ libpme_standalone.h(2174): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Unexpected complex eigenvalues encountered while making shape matrix."); ^ libpme_standalone.h(2196): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Unknown lattice type in setLatticeVectors"); ^ libpme_standalone.h(1277): error: namespace "std" has no member "runtime_error" if (nRows_ != nCols_) throw std::runtime_error("Attempting to diagonalize a non-square matrix."); ^ detected during instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1291): error: namespace "std" has no member "runtime_error" if (info) throw std::runtime_error("Something went wrong during diagonalization!"); ^ detected during instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1152): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Attepting to perform a square matrix operation on a non-square matrix!"); ^ detected during: instantiation of "libpme::Matrix libpme::Matrix::inverse() const [with Real=double]" at line 2184 instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1127): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Unexpected complex eigenvalues encountered when applying operator to Matrix."); ^ detected during: instantiation of "libpme::Matrix libpme::Matrix::inverse() const [with Real=double]" at line 2184 instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1100): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Unexpected non-symmetric matrix found."); ^ detected during: instantiation of "libpme::Matrix libpme::Matrix::applyOperation(const std::function &) const [with Real=double]" at line 1086 instantiation of "libpme::Matrix libpme::Matrix::inverse() const [with Real=double]" at line 2184 instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1163): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Attempting to multiply matrices with incompatible dimensions."); ^ detected during: instantiation of "libpme::Matrix libpme::Matrix::operator*(const libpme::Matrix &) const [with Real=double]" at line 1135 instantiation of "libpme::Matrix libpme::Matrix::applyOperation(const std::function &) const [with Real=double]" at line 1086 instantiation of "libpme::Matrix libpme::Matrix::inverse() const [with Real=double]" at line 2184 instantiation of "void libpme::PMEInstance::setLatticeVectors(Real, Real, Real, Real, Real, Real, libpme::PMEInstance::LatticeType) [with Real=double]" at line 180 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1765): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Parameters have not been set yet! Call setParameters(...) before runPME(...);"); ^ detected during instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1767): error: namespace "std" has no member "runtime_error" throw std::runtime_error( ^ detected during instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1770): error: namespace "std" has no member "runtime_error" throw std::runtime_error( ^ detected during instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1773): error: namespace "std" has no member "runtime_error" throw std::runtime_error( ^ detected during instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(1776): error: namespace "std" has no member "runtime_error" throw std::runtime_error( ^ detected during instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(277): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Invalid FFTW transform passed to in place transform()."); ^ detected during: instantiation of "void libpme::PMEInstance::forwardTransform() [with Real=double]" at line 2812 instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(298): error: namespace "std" has no member "runtime_error" throw std::runtime_error("Invalid FFTW transform passed to transform()."); ^ detected during: instantiation of "void libpme::PMEInstance::forwardTransform() [with Real=double]" at line 2812 instantiation of "Real libpme::PMEInstance::computeERec(int, const libpme::Matrix &, const libpme::Matrix &) [with Real=double]" at line 183 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(3068): error: more than one instance of overloaded function "std::to_string" matches the argument list: function "std::to_string(long long)" function "std::to_string(unsigned long long)" function "std::to_string(long double)" argument types are: (int) msg += std::to_string(__LINE__ - 5); ^ detected during instantiation of "void libpme::PMEInstance::setup(int, Real, int, int, int, int, Real, int) [with Real=double]" at line 171 of "Ewald_ParticleMesh.cpp" libpme_standalone.h(3069): error: namespace "std" has no member "runtime_error" throw std::runtime_error(msg.c_str()); ^ detected during instantiation of "void libpme::PMEInstance::setup(int, Real, int, int, int, int, Real, int) [with Real=double]" at line 171 of "Ewald_ParticleMesh.cpp" CXX Exec_Change.cpp CXX Exec_ClusterMap.cpp libpme_standalone.h(2094): error: namespace "std" has no member "runtime_error" if (parameterAngMom) throw std::runtime_error("Multipole self terms have not been coded yet."); ^ detected during: instantiation of "void libpme::PMEInstance::common_init(int, Real, int, int, int, int, Real, int) [with Real=double]" at line 3103 instantiation of "void libpme::PMEInstance::setup(int, Real, int, int, int, int, Real, int) [with Real=double]" at line 171 of "Ewald_ParticleMesh.cpp" compilation aborted for Ewald_ParticleMesh.cpp (code 2) make[4]: *** [Ewald_ParticleMesh.o] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/usr/local/programs/amber18/AmberTools/src/cpptraj/src' make[3]: *** [install] Error 2 make[3]: Leaving directory `/usr/local/programs/amber18/AmberTools/src/cpptraj' make[2]: *** [build_cpptraj] Error 2 make[2]: Leaving directory `/usr/local/programs/amber18/AmberTools/src' make[1]: *** [serial] Error 2 make[1]: Leaving directory `/usr/local/programs/amber18/AmberTools/src' make: *** [install] Error 2