schism-dev / pyschism

Python interface for handling the SCHISM model.
https://schism-dev.github.io/schism/master/getting-started/pre-processing-with-pyschism/overview.html
Apache License 2.0
24 stars 20 forks source link

small test run: feature request 500-1000 step test. #58

Closed zeekus closed 1 year ago

zeekus commented 1 year ago

I am writing to request a new feature for pschism. Currently, our model takes 18+ hours to run a full test [200K steps] , which has a cost associated with each run in cloud-based solutions. To reduce these costs, I would like to have a short run test option of 500-1000 steps.

This short run test would give us an indication if MPI or options selected are working correctly and if a basic run will work. As an analogy, if I wanted to test a generator in the physical world, I would run it for 5-10 minutes with a small amount of fuel. A shorter step test would give users a quick and cost-effective way to determine if the libraries are installed and things are functioning correctly. For example, on early runs mpi was misconfigured on our host and going very slow. It seems when things are running properly a test should run about 500-1500 steps per hour.

I would appreciate your consideration of this request. Thank you for your time and your continued development.

zeekus commented 1 year ago

Never mind. It looks like shorter tests can be made by lowering the value of the rnday variable in the param.nml file. default: rnday=365 !total run time in days With a rnday=1 a run will go through about 576 steps on one of our AWS clusters and take 6m 32s.