Giter Club home page Giter Club logo

hyak_workshop's Introduction

HYAK WORKSHOP

This repo is created as a part of the CSDE Workshop on Introduction to the UNIX/Linux Shell.
It includes a sample script for working with UW HYAK -- on-campus high-performance computing platform for scalable scientific computing.

Instructions

Object: Running a simple regression model and calculating Bootstrap Confidence Intervals.

  1. First we need to log-in to our HYAK instance. Open a terminal instance and paste the following:
ssh [UW-NetID]@mox.hyak.uw.edu
  1. Enter your password. Then, you will be directed to 2-Factor Authentication via Duo Mobile.

  2. Once you are successfully logged in, navigate to your project directory. (Hint: ls, cd, pwd commands are your best friends.)

  3. We can use sftp or git (recommended) for file transfer between local and HYAK. (Hint: You can use lcd, lls, lpwd to navigate through local files.)

sftp [UW-NetID]@mox.hyak.uw.edu
put -r [PATH-TO-LOCAL-FILE]
  1. Then, you can submit your job via this command:
sbatch submit.slurm
  1. If successfuly, you should receive a message with your job id:
    Submitted batch job [JOBID]

  2. You can track the progress of your currents job via:

squeue -u [UW-NetID]

or including past jobs:

sacct 
  1. Once finished, you can do quickly check the output in command line:
cat slurm-*
  1. To export final output into our local machines, we can use sftp or git (recommended) again:
get -r [PATH-TO-REMOTE-FILE]

Files:

  • example.R: Demonstration of the task, interactively.
  • bootstrap.R: Bootstrapping script designed to be used with a slurm script.
  • submit.slurm: Slurm script for a single batch submission.
  • slurm-[JOBID].out: Once our job is finished, the console output is stored in here.
  • output/: The resulting data.frames with bootstrap estimates.
  • plots/: Plots that show the distribution of bootstrap estimates.
  • bootstrapArray.R: Bootstrapping script modified for array batch submission
  • submitArray.slurm: Slurm script modified for array batch submission.
  • slurm-[JOBID]_N.out: Outputs of array batches stored in this format.

hyak_workshop's People

Contributors

ihsankahveci avatar jlgodwin avatar

Watchers

 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.