The University of Oklahoma's supercomputer is called Schooner and is run by the Oklahoma Center for Supercomputing Education and Research (OSCER).
The supercomputer uses the SLURM job queuing software. Some of the functions ease the use of this system. Other functions ease doing boring tasks.
These functions can be adapted to run on local unix-like machines (e.g., macOS and Linux)! The file paths will need editing. The bash script calls two Python scripts in the subfolder.
May this script inspire you to write new bash functions!
These functions work in either bash or zsh shells. Source the .bashFunctions file from your .bashrc or .zshrc file. Then, enter the function name in the terminal and hit return or enter to get a printout in the terminal of the documentation, which includes examples.
- The gac function combines
git add
andgit commit -m
. - The take function combines
mkdir
andcd
to the new directory. - The rmspaces function removes those annoying whitespaces in the filenames of all files in the current directory.
- The rmunderscores function removes underscores in the filenames of all files in the current directory.
- The rmcommas function removes commas in the filenames of all files in the current directory.
- NIH: R01 CA242845
- NIH: R01 AI088011
- NIH: P30 CA225520 (PI: R. Mannel)
- NIH: P20 GM103640 and P30 GM145423 (PI: A. West)