Code Monkey home page Code Monkey logo

dedalus_scaling's Introduction

README

Incompressible Navier-Stokes problem with Taylor-Green forcing using the Dedalus pseudospectral framework. To run these problems, first install Dedalus (and on bitbucket).

Once Dedalus is installed and activated, do the following:

#!bash
mpiexec_mpt -n 256 python3 incompressible_NS_TG.py --mesh=16,16

To obtain sparsity plots of the implicit matrices, use the --verbose keyword:

#!bash
python3 incompressible_NS_TG.py --verbose --niter=2 --nx=4 --ny=4 --nz=128

Here we've run a reduced horizontal resolution case so that it can be readily completed by a single core.

For scaling tests on NASA/Pleiades:

#!bash
python3 scaling.py run incompressible_NS_TG.py --3D 128 --min-cores=128 --max-cores=512 --MPISGI

The following block of code, run on NASA/Pleiades Broadwell nodes (28 cores/node) using an MPI-SGI stack,

#!bash
python3 scaling.py run incompressible_NS_TG.py --3D 128 --min-cores=16 --max-cores=2048 --MPISGI --niter=10
python3 scaling.py run incompressible_NS_TG.py --3D 256 --min-cores=64 --max-cores=2048 --MPISGI --niter=10
python3 scaling.py run incompressible_NS_TG.py --3D 512 --min-cores=256 --max-cores=2048 --MPISGI --niter=10

python3 scaling.py plot scaling_data_512x512x512.db scaling_data_256x256x256.db scaling_data_128x128x128.db 

recreates this scaling plot:

Ideal scaling is indicated by dashed black lines, extrapolated from the lowest core count case in all cases. At each core count, a cloud of points are shown sampling a variety of processor mesh configurations. Generally, the configuration of the processor mesh has little impact on overall performance.

Contact the exoweather team for more details.

dedalus_scaling's People

Contributors

bpbrown avatar kburns avatar

Watchers

James Cloos avatar

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.