Skip to content

Error when compiling LDT after success for LIS #1056

Closed Answered by bmcandr
tais958 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tais958,

Thanks for bringing this to our attention. It looks a good chunk of the subroutine read_amsr2_attributes in USAFSI_amsr2Mod.F90 should be within a preprocessor block that checks whether we're compiling with HDF5. This also appears to be an issue in USAFSI_xcalgmiMod.F90.

Here are 2 options:

  1. Make the following changes:

    • In USAFSI/USAFSI_amsr2Mod.F90 add #if (defined USE_HDF5) to line 218 241 and #endif to line 631 (just before end subroutine read_amsr2_attributes)
    • In USAFSI_xcalgmiMod.F90 add #if (defined USE_HDF5) to line 236 and #endif to line 507 (just before end subroutine read_xcalgmi_attributes)
  2. Install the optional HDF5 library and compile LDT and LIS with HDF5 ena…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tais958
Comment options

@bmcandr
Comment options

@tais958
Comment options

@bmcandr
Comment options

Answer selected by dmocko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants