stephenturner / devnotes Goto Github PK
View Code? Open in Web Editor NEWRandom programming notes and orphan scripts
Random programming notes and orphan scripts
See the bit in the SLURM notes about submitting jobs using a placeholder sbatch script.
Create a directory full of placeholder scripts for common job types.
After coming up with a few "standard" sbatch templates, see issue #2 to create a flexible template using command-line arguments.
After addressing #1 add a placeholder script that allows you to specify resources. That is, currently we do something like this, e.g., 4-core job requiring 24GB RAM:
#!/bin/bash
#SBATCH -p economy
#SBATCH -N 1
#SBATCH -n 4
#SBATCH --time=12:00:00
#SBATCH --mem=24000
#SBATCH -A uvabx
CMD=$1
$($CMD);
And run it like so:
sbatch thatscript.sbatch "commandToRun --threads 4"
But what about specifying resources as command line arguments. Could something like this work?
#!/bin/bash
#SBATCH -p $1
#SBATCH -N 1
#SBATCH -n $2
#SBATCH --time=$3
#SBATCH --mem=$4
#SBATCH -A uvabx
CMD=$5
$($CMD);
And run it with:
sbatch economy 4 12:00:00 24000 "commandToRun --threads 4"
???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.