Skip to content

Commit

Permalink
Merge pull request easybuilders#3522 from stefan-wolfsheimer/wrf-4.6.1
Browse files Browse the repository at this point in the history
pass netCDF-Fortran path via `$NETCDFF_DIR` in WPS easyblock
  • Loading branch information
boegel authored Dec 7, 2024
2 parents 559e7b9 + 5d16514 commit dee750f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easybuild/easyblocks/w/wps.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ def configure_step(self):
wrfdir = os.path.join(wrf, det_wrf_subdir(get_software_version('WRF')))
else:
raise EasyBuildError("WRF module not loaded?")
netcdf_fortran = get_software_root('NETCDFMINFORTRAN')
if netcdf_fortran:
env.setvar('NETCDFF_DIR', netcdf_fortran)

self.compile_script = 'compile'

Expand Down

0 comments on commit dee750f

Please sign in to comment.