Re: [AMBER] installation error

From: David Mathog <>
Date: Tue, 24 Sep 2019 09:34:58 -0700

On 2019-09-24 07:13, ilhan.yavuz wrote:

> use netcdf
> 1
> Fatal Error: Cannot read module file ‘netcdf.mod’ opened at (1),
> because
> it was created by a different version of GNU Fortran
> compilation terminated.

Well, I just installed amber yesterday on a CentOS 7 system and it
accepted the netcdf yum
installed for that operating system. Build was:

#as root
yum install netcdf-devel netcdf-cxx-devel netcdf-fortran-devel
ln -s /usr/lib64/gfortran/modules/netcdf.mod /usr/include/netcdf.mod
#previous because otherwise amber build cannot find the file

#as account building amber
   export PATH=/opt/ompi401/bin:$PATH #or it cannot figure out which
mpi, fails in fftw
   ./configure --python-install local -mpi \
      --with-python /usr/bin/python \
      --with-netcdf /usr gnu
   make 2>&1 | tee build_2019_09_23C.log
   export AMBERHOME=$PWD
   export DO_PARALLEL='/opt/ompi401/bin/mpirun -n 4'
   make test 2>&1 | tee tests_2019_09_23C.log
   # 1016 file comparisons passed
   # 0 file comparisons failed (0 ignored)
   # 1 tests experienced errors
   # Test log file saved as


David Mathog
Manager, Sequence Analysis Facility, Biology Division, Caltech

AMBER mailing list
Received on Tue Sep 24 2019 - 10:00:02 PDT
Custom Search