Re: [AMBER] Fatal Error: File 'netcdf.mod' opened at (1) is not a GFORTRAN module file

From: case <case.biomaps.rutgers.edu>
Date: Wed, 5 Dec 2012 08:41:10 -0500

On Wed, Dec 05, 2012, Thomas Evangelidis wrote:
>
> Do you know what this error means and how can be solved? I use Fedora 17
> 64bit with gcc and gfortran 4.7.2.
>
> ./configure -cuda gnu
> make install
> ...
> ...
> gfortran -DBINTRAJ -DDIRFRC_EFS -DDIRFRC_COMTRANS -DDIRFRC_NOVEC
> -DFFTLOADBAL_2PROC -DPUBFFT -O3 -mtune=native -DCUDA -Duse_SPFP
> -I/home/thomas/Programs/amber12/include -c binrestart.F90
> binrestart.F90:48.7:
>
> use netcdf
> 1
> Fatal Error: File 'netcdf.mod' opened at (1) is not a GFORTRAN module file

Have you been using other compilers before? I suspect that you just need to
go to $AMBERHOME/include and remove any netcdf.* files you find there.

I'm not sure why the configure script is not doing this, but see if it helps.

....dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Dec 05 2012 - 06:00:03 PST
Custom Search