polaris.ocean.model.omega_runs_on_gpus
- polaris.ocean.model.omega_runs_on_gpus(config, component) bool[source]
Whether the ocean model is Omega running on GPUs
Omega runs on GPUs on any machine whose parallel config has GPUs, with one GPU per MPI task. MPAS-Ocean never does.
- Parameters:
config (polaris.config.PolarisConfigParser) – The config options of the task or step asking
component (polaris.Component) – The component of the task or step asking, whose parallel system has been set
- Returns:
on_gpus (bool) – Whether Omega is the ocean model and will run on GPUs