Skip to content

MatthewMasarik-NOAA/ADC-WW3-NWM-NEMS

 
 

Repository files navigation

ADC-WW3-NWM-NEMS

ESMF application for building a NUOPC / NEMS application coupling ADCIRC, ATMESH, WW3 / WW3DATA, and NWM.

ADC-WW3-NWM-NEMS is an ESMF application developed as part of the Coastal Act coupling project to determine wind versus water percentage loss caused by a Named Storm Event.

git clone --recursive https://github.com/noaa-ocs-modeling/ADC-WW3-NWM-NEMS
cd ADC-WW3-NWM-NEMS

Compilation

./build.sh --component "ADCIRC ATMESH WW3DATA" --plat hera --compiler intel --clean -2 
  • --component can be any combination of
    • ADCIRC
    • ATMESH
    • WW3 / WW3DATA
    • NWM
  • --plat can be any combination of
    • hera
    • stampede
    • wcoss
    • orion
    • jet
    • gaea
    • cheyenne
    • linux
    • macosx
  • --compiler can be one of
    • intel
    • gnu
    • pgi
  • --clean is optional, and can be one of
    • (make clean and exit)
    • 1 (make clean and exit)
    • 2 (make clobber and exit)
    • -1 (make clean and build)
    • -2 (make clobber and build)

adding a new platform / compiler to compilation script

Environment files are stored in modulefiles/ with the filename envmodules_<COMPILER>.<PLATFORM>

To compile in your own system you should create a similar file, then run build.sh to compile.

Requirements

installing ParMETIS for WW3

Using unstructured WW3 requires an installation of ParMETIS for domain decomposition.

  1. download the code here
  2. build ParMETIS
    module purge
    module load intel impi
    setenv CFLAGS -fPIC
    make config cc=mpiicc cxx=mpiicc prefix=/path/to/your/parmetis/ | & tee config.out-rr
    make install | & tee make-install.out-rr
    This adds libparmetis.a under /path/to/your/parmetis/lib/libparmetis.a.
  3. set the path to ParMETIS
    setenv METIS_PATH /path/to/your/parmetis

Collaboration

To collaborate and contribute to this repository follow below instructions:

  1. go to https://github.com/noaa-ocs-modeling/ADC-WW3-NWM-NEMS
  2. create a fork (click Fork on the upper right corner), and fork to your account.
  3. clone your forked repository
    git clone --recursive https://github.com/<ACCOUNT>/ADC-WW3-NWM-NEMS
  4. edit the files locally
    git status
  5. commit changes
    git commit -a -m "describe what you changed"
  6. push your changes to GitHub
    git push
  7. enter your GitHub username/password if asked
  8. create a pull request with descriptions of changes at
    https://github.com/noaa-ocs-modeling/ADC-WW3-NWM-NEMS/compare/<BRANCH>...<ACCOUNT>:<BRANCH>
    

Citations

Moghimi, S., Van der Westhuysen, A., Abdolali, A., Myers, E., Vinogradov, S., 
   Ma, Z., Liu, F., Mehra, A., & Kurkowski, N. (2020). Development of an ESMF 
   Based Flexible Coupling Application of ADCIRC and WAVEWATCH III for High 
   Fidelity Coastal Inundation Studies. Journal of Marine Science and 
   Engineering, 8(5), 308. https://doi.org/10.3390/jmse8050308

Moghimi, S., Vinogradov, S., Myers, E. P., Funakoshi, Y., Van der Westhuysen, 
   A. J., Abdolali, A., Ma, Z., & Liu, F. (2019). Development of a Flexible 
   Coupling Interface for ADCIRC model for Coastal Inundation Studies. NOAA 
   Technical Memorandum, NOS CS(41). 
   https://repository.library.noaa.gov/view/noaa/20609/

Moghimi, S., Westhuysen, A., Abdolali, A., Myers, E., Vinogradov, S., Ma, Z., 
   Liu, F., Mehra, A., & Kurkowski, N. (2020). Development of a Flexible 
   Coupling Framework for Coastal Inundation Studies. 
   https://arxiv.org/abs/2003.12652

About

ADC-WW3-NWM-NEMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.9%
  • Gnuplot 9.7%
  • C 1.4%