LDT Compilation Fails with undefined reference relevant to hdf4 Library #1705
-
I found a LISF post on Discussions with a similar issue, LDT compile issues #1443 but its solution didn't work for me. When compiling NASA LIS LDT on Discover, LDT compilation fails with undefined reference seemingly relevant to hdf4 library. ld: /discover/nobackup/projects/nu-wrf/lib/ekman/intel-intelmpi/hdf4/lib//libmfhdf.a(putget.o): in function sd_xdr_NCvshort': putget.c:(.text+0x2c): undefined reference to xdr_opaque' Any input will be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jinwoongyoo Are you trying this on Discover Milan nodes? If so, please ensure you are using this environment (and no other modules):
More about using this module on Discover is available in Discussion #1642. What debug configure level are you using? The above discussion lists known issues with "-3" or "-2". If the module environment and/or the debug configure level is not the issue, please attach or points us to your configure.ldt file. |
Beta Was this translation helpful? Give feedback.
Hi @dmocko
I was able to compile my LDT successfully.
It turned out that the error was due to my old LIS/LDT version 7.4 that cannot be compiled on the latest lisf_7.5_intel_2023.2.1 library on Discover. Transplanting my modification code into the latest LIS/LDT version 7.5 solved the issue.
Thank you very much!
Regards,
Jinwoong