LDT compile issues #1443
-
Hello I have compile LDT before, however when doing the test case I noticed I need HDF4 and now nothing is working anymore and I have been stuck for a while. That's the error code I get: ./interp/upscaleByAveraging_input.F90:16:35: note: ‘upscalebyaveraging_input’ was previously declared here [ERR] Compile failed any ideas how to fix it? I have used HDF-4.2.16 but the same error occurred with the previous version Kind reads and thank you for any help!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hello. Which version of LISF are you compiling: the master branch or one of the releases? Also, what does |
Beta Was this translation helpful? Give feedback.
-
Hello, I am using the public version 7.4.3 and ls -l /lib64/libtirpc* yields no such file and directory, I think I must have saved libtirpc wrong then, would that explain the failure in linking? |
Beta Was this translation helpful? Give feedback.
Please try this. Edit your ldt/make/configure.ldt file. You want to change the LDFLAGS line by adding
-ltirpc
like this:-L$(LIB_HDF4) -lmfhdf -ldf -ljpeg -lz -ltirpc
Then rerun
./compile
in the ldt subdirectory.