I have just converted my code to generate netcdf4 rather than netcdf3 files but I am running into some problems with the compilation.
The code appears to compile and link the appropriate intel and necdf4 libraries detailed below
NTELLIB=/apps/intel/2011.6.233/composer_xe_2011_sp1.6.233/compiler/lib/intel64/
INTELINC=/apps/intel/2011.6.233/composer_xe_2011_sp1.6.233/compiler/include/
NCDFLIB=/apps/netCDF/4.3.0/intel/lib/
NCDFINCLUDE=/apps/netCDF/4.3.0/intel/include/
NCDFLIBB=/apps/netCDF/4.2/fortran/intel/lib/
NCDFINCLUDEB=/apps/netCDF/4.2/fortran/intel/include/
The library directories are also set in LD_LIBRARY_PATH
However at runtime I get the following error message
forrtl: severe (168): Program Exception - illegal instruction
Image PC Routine Line Source
libintlc.so.5 00002B5068501188 Unknown Unknown Unknown
libnetcdff.so.5 00002B5069129068 Unknown Unknown Unknown
libnetcdff.so.5 00002B5069134DC8 Unknown Unknown Unknown
orac_preproc.x 000000000052BF5C nc_open_ 45 nc_open.F90
which indicates to me that the netcdf and intel libraries cannot be found?
Can anyone helpme with this error?