Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WW3 job submission script #370

Open
BilalYasirAlvi opened this issue Mar 3, 2025 · 1 comment
Open

WW3 job submission script #370

BilalYasirAlvi opened this issue Mar 3, 2025 · 1 comment

Comments

@BilalYasirAlvi
Copy link

Hello

I am running WW3 in COAWST. I know that ww3_shel is not executed in a traditional way and it is not even compiled as an executable during build process. John told me that it is called as a subroutine for single grid @(#342).

Keeping that in mind, is the following script correct to submit a WW3 job?

!/bin/bash
#SBATCH --job-name="ppb_ww3"
#SBATCH --partition=sapphire
#SBATCH --ntasks=80
#SBATCH -t 10:00:00
#SBATCH --mem=64G

module purge
module load GCCcore/11.3.0
module load GCC/11.3.0
module load OpenMPI/4.1.4
module load netCDF-Fortran/4.6.0
module load CMake/3.24.3

cd /data/gpfs/projects/punim2222/COAWST/Projects/ppb_ww3

srun ./coawstM
/data/gpfs/projects/punim2222/COAWST/Projects/ppb_ww3/ww3_shel.inp > stdout.shel


I have seen in previous issues that grid.inp is being used as well. I did not understand that, as grid.inp is just a grid pre-processor. I have used that option as well but the job ends with error.

Kind Regards

@jcwarner-usgs
Copy link
Collaborator

point to the ww3_grid.inp file.
I read that file to get the model time steps.
I usually run the code with the ww3_grid.inp and the ww3_shel.inp file in the same dir as the coawstM.
give that a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants