Terrascope logo Proba-V MEP logo
This forum applies to Terrascope and Proba-V MEP. Please note that the forum is in English only.
Please log in using the link in the top menu to add new forum topics or comments.

use gfortran compiler with netcdf

Hi there,  I am tyring to use gfortran to compile my FORTRAN code with the options like gfortran test.f90 -o test_nc.exe -I/usr/include -lnetcdff I got error of  Fatal Error: Can't open module file 'netcdf.mod' for reading at (1): No such file or directory   I think this relates to the installed version, So I checked it with the command nc-config --all And I got the following, Is it possible to have a netCDF version that also supports gFortran?  Thx!   This netCDF 4.3.3.1 has been built with the following features:   --cc        -> gcc   --cflags    ->  -I/usr/include -I/usr/include/hdf   --libs      ->   --has-c++   -> no   --cxx       ->   --has-c++4  -> no   --cxx4      ->   --fc        ->   --fflags    ->   --flibs     ->   --has-f90   -> no   --has-dap   -> yes   --has-nc2   -> yes   --has-nc4   -> yes   --has-hdf5  -> yes   --has-hdf4  -> yes   --has-pnetcdf-> no   --prefix    -> /usr   --includedir-> /usr/include   --version   -> netCDF 4.3.3.1
stay up to date!
subscribeto our newsletter
new perspectives

Stay up to date!