-
Hi, I was able to successfully compile LIS. Since most of required libraries are identical to what LIS requires, I thought it would go smoothly. However, an error still showed in the process as below: ifort -c -O2 -u -traceback -fpe0 -nomixed_str_len_arg -names lowercase -convert big_endian -assume byterecl -DIFC -I/qfs/projects/ops/rh6/esmf/7.1/mod/modO/Linux.intel.64.intelmpi.default -DUSE_INCLUDE_MPI -I/pic/projects/sooty2/tais958/lib/eccodes-2.12.5_intel-16.0.2/include/ -I/share/apps/netcdf/4.3.2/intel/16.0.2/include/ -I./ -I../lib/xmrg/ -I../params/VIC/ -I../USAFSI/ ../USAFSI/USAFSI_amsr2Mod.F90 [ERR] Compile failed I also tried to use mpiifort and mpiicc, but it seems to be the same result. Wondering if anyone could comment on this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @tais958, Thanks for bringing this to our attention. It looks a good chunk of the subroutine Here are 2 options:
I will open an issue about this so we can get it fixed. Edited to remove initial workaround. |
Beta Was this translation helpful? Give feedback.
Hi @tais958,
Thanks for bringing this to our attention. It looks a good chunk of the subroutine
read_amsr2_attributes
inUSAFSI_amsr2Mod.F90
should be within a preprocessor block that checks whether we're compiling with HDF5. This also appears to be an issue inUSAFSI_xcalgmiMod.F90
.Here are 2 options:
Make the following changes:
USAFSI/USAFSI_amsr2Mod.F90
add#if (defined USE_HDF5)
to line218241 and#endif
to line 631 (just beforeend subroutine read_amsr2_attributes
)USAFSI_xcalgmiMod.F90
add#if (defined USE_HDF5)
to line 236 and#endif
to line 507 (just beforeend subroutine read_xcalgmi_attributes
)Install the optional HDF5 library and compile LDT and LIS with HDF5 ena…