Hi Alexandra,
Thank you for your reply. I have installed icc and the log file attached was generated. Please see if it is OK.
Now I am facing another issue. I have installed Netcdf 4 (both FORTRAN and C tar bundles) using Macports. After that, I have tried to build executables using Make_ncdf.com. Before that, I have edited the Make_ncdf.src to set the environment as shown below:
#
# --- set NCDF to the root directory for netCDF version 3.5 or 3.6 or later.
# --- available from:
http://www.unidata.ucar.edu/packages/netcdf/#
# --- Note that the Fortran 90 routines and module files are required.
#
#setenv NCDF /net/ajax/data/scrf/wallcraf/NETCDF/netcdf-3.5.0
#setenv NCDF /net/ajax/data/scrf/wallcraf/NETCDF/netcdf-3.5.1-intel
#setenv NCDF /net/ajax/data/scrf/wallcraf/NETCDF/netcdf-3.6.0-p1-amd64
#setenv NCDF /u/home/wallcraf/netcdf-3.5.0
#setenv NCDF /common/netcdf-3.6.2-amd64
#setenv NCDF /common/netcdf-3.6.2-amd64pg
#setenv NCDF /common/netcdf/deprecated/netcdf-3.6.2-amd64pg
#
setenv NCDF /opt/local
#
# --- Use EXTRANCDF for the extra libraries needed for NCDF v4
#
#setenv EXTRANCDF "/u/home/wallcraf/pkgs/hdf5-1.8.4-serial/lib/libhdf5_hl.a /u/home/wallcraf/pkgs/hdf5-1.8.4-serial/lib/libhdf5.a /u/home/wallcraf/pkgs/zlib-1.2.3/lib/libz.a"
setenv EXTRANCDF "-L${NCDF}/lib -lnetcdff -lnetcdf"
The NCDF path mentioned is where Macports installed Netcdf 4. When I try to build the NETCDF executables, is shows the message:
MacBook-Pro-de-Bernardo:ALL Bernardo$ sudo port contents netcdf
Password:
Port netcdf contains:
/opt/local/bin/nc-config
/opt/local/bin/nccopy
/opt/local/bin/ncdump
/opt/local/bin/ncgen
/opt/local/bin/ncgen3
/opt/local/include/netcdf.h
/opt/local/include/netcdf_mem.h
/opt/local/include/netcdf_meta.h
/opt/local/lib/cmake/netCDF/netCDFConfig.cmake
/opt/local/lib/cmake/netCDF/netCDFConfigVersion.cmake
/opt/local/lib/cmake/netCDF/netCDFTargets-release.cmake
/opt/local/lib/cmake/netCDF/netCDFTargets.cmake
/opt/local/lib/libnetcdf.11.3.0.dylib
/opt/local/lib/libnetcdf.11.dylib
/opt/local/lib/libnetcdf.dylib
/opt/local/lib/libnetcdf.settings
/opt/local/lib/pkgconfig/netcdf.pc
/opt/local/share/man/man1/nccopy.1.gz
/opt/local/share/man/man1/ncdump.1.gz
/opt/local/share/man/man1/ncgen.1.gz
/opt/local/share/man/man1/ncgen3.1.gz
/opt/local/share/man/man3/netcdf.3.gz
MacBook-Pro-de-Bernardo:ALL Bernardo$ ./Make_ncdf.com
intelIFC
/opt/local
NCDF = /opt/local is not correct
Please, could you help me with this issue?
Thank you once again,
Bernardo