Skip to content

Commit

Permalink
LiveOcean multi-day hindcasts x4b (#81)
Browse files Browse the repository at this point in the history
* LO_hindcast

* updated templates for shorter timestep

* moved setup.log
  • Loading branch information
patrick-tripp authored Apr 5, 2024
1 parent 7ecc756 commit c93a2ff
Show file tree
Hide file tree
Showing 19 changed files with 13,942 additions and 29 deletions.
4 changes: 0 additions & 4 deletions cloudflow/cluster/AWSCluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ def start(self):
],
Placement=self.__placementGroup(),
NetworkInterfaces=[self.__netInterface()]
#CpuOptions={
# 'CoreCount': self.PPN,
# 'ThreadsPerCore': 1
#}
)
else:
self.__instances = ec2.create_instances(
Expand Down
16 changes: 16 additions & 0 deletions cloudflow/cluster/configs/liveocean.rps
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"platform" : "AWS",
"region" : "us-east-2",
"nodeType" : "hpc6a.48xlarge",
"nodeCount" : 2,
"tags" : [
{ "Key": "Name", "Value": "IOOS-cloud-sandbox" },
{ "Key": "Project", "Value": "IOOS-cloud-sandbox" },
{ "Key": "NAME", "Value": "liveocean-fcst" }
],
"image_id" : "ami-07d0aa6a6ac23d33a",
"key_name" : "ioos-sandbox",
"sg_ids" : [ "sg-054f4248a8fc54750", "sg-0c9bb98732e936e66", "sg-0ce1abfe87363d80b" ],
"subnet_id" : "subnet-04b0eef9cb8015d31",
"placement_group" : "ioos_cloud_sandbox-us-east-2b_Terraform_Placement_Group"
}
3 changes: 3 additions & 0 deletions cloudflow/job/JobFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from cloudflow.job.Job import Job
from cloudflow.job.ROMSForecast import ROMSForecast
from cloudflow.job.ROMSHindcast import ROMSHindcast
from cloudflow.job.Plotting import Plotting
from cloudflow.job.FVCOMForecast import FVCOMForecast
from cloudflow.job.ADCIRCForecast import ADCIRCForecast
Expand Down Expand Up @@ -44,6 +45,8 @@ def job(self, configfile: str, NPROCS: int) -> Job:

if jobtype == 'romsforecast':
newjob = ROMSForecast(configfile, NPROCS)
if jobtype == 'romshindcast':
newjob = ROMSHindcast(configfile, NPROCS)
elif jobtype == 'fvcomforecast':
newjob = FVCOMForecast(configfile, NPROCS)
elif jobtype == 'adcircforecast':
Expand Down
Loading

0 comments on commit c93a2ff

Please sign in to comment.