Hello, Can you tell me which version of netcdf-fortran you are compiling, and can you provide the corresponding netcdf-fortran config.log? The netcdf-c config.log file looks fine, and I suspect the issue might be with the Fortran interface. Thanks! -Ward > Hello dear user support team, > I tried to install Netcdf 4.7.0 and netcdf-fortran on an Ubuntu system. My > installation of Netcdf-C was successful, I believe, > since I was able to see netcdf utilities and library files in /usr/local. > For example, > > address@hidden:~$ ll /usr/local/bin > total 528 > drwxr-xr-x 2 root root 4096 May 15 15:16 ./ > drwxr-xr-x 11 root root 4096 May 15 12:05 ../ > -rwxr-xr-x 1 root root 7867 May 15 15:16 nc-config* > -rwxr-xr-x 1 root root 56976 May 15 15:16 nccopy* > -rwxr-xr-x 1 root root 95008 May 15 15:16 ncdump* > -rwxr-xr-x 1 root root 258224 May 15 15:16 ncgen* > -rwxr-xr-x 1 root root 104744 May 15 15:16 ncgen3* > > address@hidden:~$ ll /usr/local/lib/ > total 3016 > drwxr-xr-x 5 root root 4096 May 15 15:16 ./ > drwxr-xr-x 11 root root 4096 May 15 12:05 ../ > -rw-r--r-- 1 root root 1749016 May 15 15:16 libnetcdf.a > -rwxr-xr-x 1 root root 1010 May 15 15:16 libnetcdf.la* > -rw-r--r-- 1 root root 852 May 15 15:16 libnetcdf.settings > lrwxrwxrwx 1 root root 19 May 15 15:16 libnetcdf.so -> > libnetcdf.so.15.0.1* > lrwxrwxrwx 1 root root 19 May 15 15:16 libnetcdf.so.15 -> > libnetcdf.so.15.0.1* > -rwxr-xr-x 1 root root 1303592 May 15 15:16 libnetcdf.so.15.0.1* > > address@hidden:~$ ll /usr/local/include/ > total 92 > drwxr-xr-x 2 root root 4096 May 15 15:16 ./ > drwxr-xr-x 11 root root 4096 May 15 12:05 ../ > -rw-r--r-- 1 root root 1453 May 15 15:16 netcdf_aux.h > -rw-r--r-- 1 root root 616 May 15 15:16 netcdf_filter.h > -rw-r--r-- 1 root root 67862 May 15 15:16 netcdf.h > -rw-r--r-- 1 root root 1542 May 15 15:16 netcdf_mem.h > -rw-r--r-- 1 root root 2401 May 15 15:16 netcdf_meta.h > > However, after I followed the instructions ( > https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html > ) > to install netcdf-fortran, I failed to find 'netcdf.inc' in > /usr/local/include and 'libnetcdff.a' in /usr/local/lib. Here are the > command > line entries I used to install netcdf-fortran: > > NCDIR=/usr/local > NFDIR=/usr/local > CPPFLAGS=-I${NCDIR}/include LDFLAGS=-L${NCDIR}/lib ./configure > --prefix=${NFDIR} --disable-netcdf-4 > make check > sudo make install > > Anything wrong here? Please advise. A copy of config.log was attached. > Thanks. > Ticket Details =================== Ticket ID: VHO-500166 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.