Giter Club home page Giter Club logo

oceanscalingtests.jl's Introduction

  1. Add Julia to path export PATH=/TO/JULIA:${PATH}
  2. EXPERIMENT:
    • "Quiescent" no flow, no bathymetry and zero flux boundary conditions
    • "DoubleDrake" setup similar to https://doi.org/10.1175/2009JCLI3197.1, default
    • "RealisticOcean" a realistic ocean setup with initial conditions and boundary forcing from ECCO2 Version 4 climatological data. It assumes data is available to load in the data folder
  3. PROFILE: 0 (run simulation), 1 (profile 100 time steps marked with NVTX, default)
  4. NZ: vertical levels (default 120)
  5. WITHFLUXES: 0, 1 (only relevant for RealisticOcean, default 1)
  6. RESTART: restart file iterations (only relevant for RealisticOcean, default "")

Satori

EXPERIMENT="DoubleDrake" RESOLUTION=6 sbatch -N1 satori_job.sh

Packages:

  • Oceananigans.jl.git#ss-vc/overlay

Setup

  • Julia 1.9.0-rc2
  • Instantiate Julia environment JULIA_LOAD_PATH=:$(pwd)/perlmutter julia --project=. -e "import Pkg; Pkg.instantiate()"
  • Warmup GPUCompiler cache JULIA_LOAD_PATH=:$(pwd)/perlmutter julia --project=. experiments/run.jl

Example

vorticity (left) and free surface (right) for the "DoubleDrake" experiment at resolution = 3 ran on 2 mpi processors (9 years integration)

double_drake_LQ.mp4

oceanscalingtests.jl's People

Contributors

simone-silvestri avatar vchuravy avatar

Stargazers

Navid C. Constantinou avatar

Watchers

Chris Hill avatar Navid C. Constantinou avatar Joe Schoonover avatar Gregory L. Wagner avatar Gael Forget avatar Matin Raayai avatar  avatar  avatar

oceanscalingtests.jl's Issues

Why do we need `cubic_profile` in the forcing functions?

E.g., here:

@inline function wind_stress_coefficients(south_north_limit)
below_45_coeffs = cubic_profile(-south_north_limit, -45.0, 0.0, 0.2, 0.0, 0.0) ./ 1000
below_15_coeffs = cubic_profile(-45.0, -15.0, 0.2, -0.1, 0.0, 0.0) ./ 1000
below_00_coeffs = cubic_profile(-15.0, 0.0, -0.1, -0.02, 0.0, 0.0) ./ 1000
above_00_coeffs = cubic_profile(0.0, 15.0, -0.02, -0.1, 0.0, 0.0) ./ 1000
above_15_coeffs = cubic_profile(15.0, 45.0, -0.1, 0.1, 0.0, 0.0) ./ 1000
above_45_coeffs = cubic_profile(45.0, south_north_limit, 0.1, 0.0, 0.0, 0.0) ./ 1000
return (below_45_coeffs, below_15_coeffs, below_00_coeffs, above_00_coeffs, above_15_coeffs, above_45_coeffs)
end

cc @glwagner

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.