Skip to content

saeed-moghimi-noaa/coastal_app_test

Repository files navigation

CoastalApp Tests (Temp repo)

How to compile CoastalApp

#!/bin/bash --login
# ----------------------------------------------------------- 
# Shell Used: BASH shell
# Original Author(s): Saeed Moghimi
# File Creation Date: 09/17/2022
# Date Last Modified:
#
# Version control: 1.00
#
# Support Team:
#
# Contributors: 
#
# ----------------------------------------------------------- 
# ------------- Program Description and Details ------------- 
# ----------------------------------------------------------- 
#
# Execute script to perform CoastalApp test runs 
#
# ----------------------------------------------------------- 

export ROOTDIR='/scratch2/COASTAL/coastal/save/Saeed.Moghimi/models/NEMS/tests/CoastalApp_test/temp7/CoastalApp'

############
# Check out codes
git clone --recurse-submodules https://github.com/noaa-ocs-modeling/CoastalApp -b develop_build $ROOTDIR
cd $ROOTDIR


#git checkout develop_build
#git submodule sync
#git submodule update --init --recursive


# DDDDDDDDownload parmatis
#TODO add a error message to perform below if not yet for ww3 compilation
#TODO or export the vars ...
#  sh $ROOTDIR/scripts/download_parmetis.sh
# build on hera
# ./build.sh --component "ATMESH WW3 ADCIRC WW3DATA PAHM " --plat hera --compiler intel --clean -2  --thirdparty=parmetis



###OOOOOOOOR pass your own Parmatis
#Ali's ParMatis using hpc-stack static library not works with ADCIRC for now
#export METIS_PATH=/scratch2/COASTAL/coastal/save/Ali.Abdolali/hpc-stack/parmetis-4.0.3

#Takis similar to SCHISM ParMatis
export METIS_PATH=/scratch2/COASTAL/coastal/noscrub/shared/Takis/CoastalApp/THIRDPARTY_INSTALL

export PARMETISHOME=$METIS_PATH
./build.sh --component "ATMESH WW3 ADCIRC WW3DATA PAHM " --plat hera --compiler intel --clean -2  #--thirdparty=parmetis


cd ../coastal_app_test/
sh run_all.sh

Run HSOFS (1.8M node mesh)

you need an env variable inside run_all.sh as $HSOFSDATA. Try to download the hsofs-data using below script. The data contains the Florence,2018 ATMesh forcing, WW3 wave boundary and ADCIRC mesh information.

 echo "=== download  hsofs-data.tgz ==="
 wget https://tacc-nos-coastalapp-testsuit.s3.amazonaws.com/hsofs-data.tgz 
 tar -zxvf hsofs-data.tgz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages