-
Notifications
You must be signed in to change notification settings - Fork 827
Coupled WRF/WRF Hydro build fails with Intel HSW/BDW configuration #1325
Description
Building coupled WRF/WRF Hydro models fails when choosing configuration INTEL (ifort/icc): HSW/BDW. This appears to be caused by an incomplete #ARCH specification in line 1832 of file arch/configure.defaults, which does not specify ifort as Fortran compiler. Script arch/Config.pl hands over this compiler description to WRF Hydro script hydro/wrf_hydro_config, which unsuccessfully scans the compiler specification for compiler names such as gfortran or ifort. WRF Hydro configuration fails quietly, and the WRF build will stop with missing file hydro/Makefile.comm when trying to build WRF Hydro.
The problem could be fixed by replacing line 1832 in arch/configure.defaults with something like
#ARCH Linux x86_64 ppc64le i486 i586 i686, ifort compiler with icc #serial smpar dmpar dm+sm
I did not create a pull request as I wasn't sure which conventions are used for such descriptions.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/NCAR/wrf_hydro_nwm_public.git- In WRF top directory:
rm -r hydro; cp -r ../wrf_hydro_nwm_public/trunk/NDHMS hydro - Run
configurescript, choosing one of theINTEL (ifort/icc): HSW/BDWconfigurations, e.g.,dmpar - Build WRF
The build will fall over with an error when it reaches the WRF Hydro sources, with make complaining about missing file hydro/Makefile.comm, which should have been created during the configure stage as explained above.