bakamotokatas / WRF-Install-Script

Install WRF with required libraries
112 stars 37 forks source link

Error during installation of versions 4.4 and 4.5 #6

Open mrbfia opened 1 year ago

mrbfia commented 1 year ago

Hello. My bash installation WRF4.4_Install.bash -arw presents the following errors:

.... collect2: error: ld returned 1 exit status Command exited with non-zero status 1 0.37user 0.01system 0:00.38elapsed 100%CPU (0avgtext+0avgdata 43992maxresident)k 0inputs+1160outputs (0major+24736minor)pagefaults 0swaps make[2]: [makefile:45: diffwrf] Error 1 (ignored) /tmp/ccpw2vNK.ltrans11.ltrans.o: in function "med_before_solveio":

:(.text+0xbaf7): undefined reference for "wrf_fddaobs_in_" /usr/bin/ld: /tmp/ccpw2vNK.ltrans21.ltrans.o: in function "__module_integrate_MOD_integrate": :(.text+0x72398): undefined reference for "solve_interface_" collect2: error: ld returned 1 exit status Command exited with non-zero status 1 380.48user 4.79system 2:30.53elapsed 255%CPU (0avgtext+0avgdata 1746364maxresident)k 0inputs+464224outputs (0major+2752498minor)pagefaults 0swaps make[1]: [Makefile:33: em_real] Error 1 (ignored) .... ========================================================================== build started: qua 01 nov 2023 14:39:14 -03 build completed: qua 01 nov 2023 15:15:52 -03 ---> Problems building executables, look for errors in the build log <--- ========================================================================== What can it be? Linux geosigweb 6.2.0-36-generic #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Best regards an thanks.
bakamotokatas commented 1 year ago

Hello @mrbfia ,

Can you send the compile.log file located under the WRF-4.4-ARW or WRF-4.5-ARW folder?

mrbfia commented 1 year ago

compile.log

bakamotokatas commented 1 year ago

can you run sudo apt remove mpich libhdf5-mpich-dev in terminal and run again the script.

mrbfia commented 1 year ago

I followed the procedure:

"can you run sudo apt remove mpich libhdf5-mpich-dev in terminal and run again the script."

for version 4.5 and the same error occurred. Attached log

compile.log