Install WW3
Update WW3 configurations
Install step 5.1: Download WW3 v6.07.1:
cd $SKRIPS_DIR
wget https://github.com/NOAA-EMC/WW3/archive/refs/tags/6.07.1.zip
unzip 6.07.1.zip
mv WW3-6.07.1 ww3_607
# save a copy
cp -rf ww3_607 ww3_607.org
Install step 5.2: Set the auxiliary FORTRAN and C compiler:
cd ww3_607
w3_setup $WW3_DIR/model -c intel
# sometimes we need to specify the WW3 switch:
# w3_setup $WW3_DIR/model -c intel -s Ifremer2
Use ifort and cc for SHAHEEN III:
Auxiliary FORTRAN compiler [gfortran] : ifort
Auxiliary C compiler [gcc] : cc
Use mpif90 and mpicc for kala or EXPANSE:
Auxiliary FORTRAN compiler [gfortran] : mpif90
Auxiliary C compiler [gcc] : mpicc
Install step 5.3: Compile WaveWatch III:
cd $SKRIPS_DIR
cd scripts/ww3
./install_ww3_kala.sh
Notes
When using Shaheen, I would use ifort and cc as the auxiliary compilers.
When using ring, Step 5.2 I would use “w3_setup $WW3_DIR/model”