GithubHelp home page GithubHelp logo

algebrazebra / dtu-hpc-scripts Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 6 KB

A collection of useful scripts for executing code on the high-performance computing clusters of the Technical University of Denmark (DTU). The scripts cover the set-up of the environment and the job submission to the load handler.

Shell 100.00%
dtu hpc high-performance-computing set-up installation job submission cuda python2-7 tensorflow-gpu

dtu-hpc-scripts's Introduction

DTU-HPC-Scripts

This repository collects useful scripts for executing code on the high-performance computing clusters of the Technical University of Denmark (DTU). Since the available modules are dependent on the login node, I have to add the disclaimer that I personally only used and tested them on the second login node: login2.hpc.dtu.dk. At the time of writing, the default system Python (version 2.7.5) was used.

Setting your Python environment with Tensorflow and Keras

First, connect with the DTU HPC servers using ssh. As stated, I recommend the second login node. After logging in, navigate to your desired project directory and execute the following to set up your Python environment including Tensorflow and Keras based on the CUDA 9.0 install. After exiting, you can, for example, login to an interactive GPU node to run your code.

linuxsh
wget https://github.com/Algebrazebra/DTU-HPC-Scripts/raw/master/setup.sh
sh setup.sh
rm -f setup.sh
exit

Submitting to the Job Queue

Jobs are submitted using a submission shell script via

bsub < submit.sh

The shell script contains the instructions for the load handler as well as necessary commands to execute your code. A sample job script is provided with the submit.sh file in this repo. Simply alter the file to your needs and liking. For more information on the job script please refer to the official documentation given here: Batch Jobs.

Upon successful submission you can check the status of your current submissions with

bstat

dtu-hpc-scripts's People

Contributors

algebrazebra avatar

Stargazers

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