Skip to content

Commit

Permalink
bug fix for prep_chem build for ubuntu 22.04+
Browse files Browse the repository at this point in the history
  • Loading branch information
bakamotokatas authored Sep 17, 2022
1 parent fafa543 commit 5f4614a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WRF4.4_Install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ if [ "$type" = "Chem" ]; then
sed -i "s#HDF5=.*#HDF5=/usr/lib/x86_64-linux-gnu/hdf5/serial#" include.mk.gfortran.wrf
sed -i "s#HDF5_INC=.*#HDF5_INC=-I/usr/include/hdf5/serial#" include.mk.gfortran.wrf
sed -i 's#-L$(HDF5)/lib#-L/usr/lib/x86_64-linux-gnu/hdf5/serial#' include.mk.gfortran.wrf
sed -i 's#F_OPTS=.*#F_OPTS= -Xpreprocessor -D$(CHEM) -O2 -fconvert=big-endian -frecord-marker=4 -fallow-argument-mismatch#' include.mk.gfortran.wrf
sed -i "s#-L/scratchin/grupos/catt-brams/shared/libs/gfortran/zlib-1.2.8/lib#-L/usr/lib#" include.mk.gfortran.wrf
sed -i "842s#.*# 'ENERGY ',\&#" ../../src/edgar_emissions.f90
sed -i "843s#.*# 'INDUSTRY ',\&#" ../../src/edgar_emissions.f90
Expand Down

0 comments on commit 5f4614a

Please sign in to comment.