This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
QUEUE_NAME=model1 | |
pbsnodes | grep -B 3 "properties = $QUEUE_NAME" | grep "compute" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pbsnodes | grep -B 1 "state = down" | grep "compute" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Restricts job selection to those in the specified states | |
#E(xiting state) | |
#H(eld state) | |
#Q(ueued state) | |
#R(unning state) | |
#T(ransiting state) | |
#W(aiting state) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#http://stackoverflow.com/questions/12574604/scipy-install-on-mountain-lion-failing | |
mkdir -p build | |
cd build | |
git clone https://github.com/numpy/numpy.git | |
python build setup.py | |
python install setup.py | |
pip install scipy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name "*.pyc" -exec git rm {} \; | |
git commit -m "Removed compiled python files in distribution left after last commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Ivan E. Cao-Berg (icaoberg@scs.cmu.edu) | |
# | |
# Copyright (C) 2013 Murphy Lab | |
# Lane Center for Computational Biology | |
# School of Computer Science | |
# Carnegie Mellon University | |
# | |
# This program is free software; you can redistribute it and/or modify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
USERNAME=icaoberg | |
#to kill all the jobs | |
qstat -u$USERNAME | grep "$USERNAME" | cut -d"." -f1 | xargs qdel | |
#to kill all the running jobs | |
qstat -u$USERNAME | grep "R" | cut -d"." -f1 | xargs qdel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bin/omero group list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GROUPNAME=developers | |
bin/omero group add $GROUPNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GROUPNAME=developers | |
omero group list | grep $GROUPNAME | cut -d"|" -f1 |