Giter Club home page Giter Club logo

tclb_cluster's Introduction

TCLB for clusters

Scripts for compilation and running of TCLB solver on HPC clusters

Introduction

The scripts are made to be general, but HPC clusters are very diverse. These scripts for now work on clusters with SLURM queue system.

Installation

Getting the source

git clone https://github.com/CFD-GO/TCLB.git
cd TCLB
git clone https://github.com/CFD-GO/TCLB_cluster.git p

Configuration

All the needed configuration and installation of R packages is done by:

p/config

Compilation

As compulation on the main node is discouraged on many clusters, you can run make in parallel on a node.

p/make d2q9

Running cases

To run cases you can use the run script:

p/run [model] [case.xml] [number of cores/gpus] [options for sbatch (optional)]

You can use the script from a different directory then TCLB main dir, so for instance:

cd /scratch/blarbla/blarbla/some_important_research/
~/TCLB/p/run d2q9 mycase.xml 48

Changeing options

You can change the default time (1h), name, etc by supplying additional options for sbatch like:

~/TCLB/p/run d2q9 mycase.xml 48 -J "new name" --time=24:00:00

Notifications

The scripts support getting PushBullet notifications based on: https://github.com/llaniewski/my.prompt

Cluster specific settings

In the cluster directory there are settings for specific clusters (like prometheus and magnus). The first line of each file is a bash comment with the pattern for hostname to match.

Contributing

If you want to add support for another cluster, please add another file in the cluster directory.

tclb_cluster's People

Contributors

llaniewski 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.