Hello all,
I am new to working with WRF and am currently trying to compile it on my Linux machine. I installed WRF and its dependencies using Spack. However, I am encountering two issues during the build process:
I am new to working with WRF and am currently trying to compile it on my Linux machine. I installed WRF and its dependencies using Spack. However, I am encountering two issues during the build process:
- AR Issue:
- The Makefile sets the AR variable to INTERNAL_BUILD_ERROR_SHOULD_NOT_NEED_AR, and the build fails. It seems the ar archiver tool is not being properly configured.
- Linker Error:
- During the linking stage, I receive the following error: vbnet
/usr/bin/ld: libwrflib.a(module_io.o): in function `wrf_write_field1_':
module_io.f90.text+0x14093): undefined reference to `ext_pnc_write_field_'
/usr/bin/ld: libwrflib.a(module_io.o): in function `wrf_read_field1_':
module_io.f90.text+0x17f9b): undefined reference to `ext_pnc_read_field_'
collect2: error: ld returned 1 exit status
- During the linking stage, I receive the following error: vbnet