Skip to content

Commit

Permalink
chore: directory changed
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisjared committed Apr 17, 2024
1 parent 5a03d63 commit 7a4049a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build_wrf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@ pushd $DIR/..
if [ ! -f WRF-${WRF_VERSION}/run/real.exe ]; then
wget -nv https://github.com/wrf-model/WRF/releases/download/v${WRF_VERSION}/v${WRF_VERSION}.tar.gz -O WRF-v${WRF_VERSION}.tar.gz
tar -xzvf WRF-v${WRF_VERSION}.tar.gz
pushd WRF-${WRF_VERSION} || exit
pushd WRFV${WRF_VERSION} || exit
echo "34\n1\n" | ./configure
./compile em_real
ls -ls *.exe
popd
ln -s WRF-${WRF_VERSION} WRF
ln -s WRFV${WRF_VERSION} WRF
fi

# Build WPS
if [ ! -f WPS-${WPS_VERSION}/wps.exe ]; then
wget -nv https://github.com/wrf-model/WPS/archive/v${WPS_VERSION}.tar.gz -O WPS-v${WPS_VERSION}.tar.gz
tar -xzvf WPS-v${WPS_VERSION}.tar.gz

pushd WPS-${WPS_VERSION} || exit
pushd WPSV${WPS_VERSION} || exit
echo "1" | ./configure
./compile
ls -ls *.exe
popd
ln -s WPS-${WPS_VERSION} WPS
ln -s WPSV${WPS_VERSION} WPS
fi

rm *.tar.gz
Expand Down

0 comments on commit 7a4049a

Please sign in to comment.