Monday, September 28, 2015

How to Release all PBS Jobs with qrls

I have problems using qrls all on the Titan supercomputer. You can use the following little script as an alternative

First create a small script file
emacs qrlsall

In qrlsall, type the following
jobids=$(showq -u tsaad | awk '{if ($3 == "UserHold") print $1;}')
echo $jobids
qrls $jobid
Now make qrlsall executable 
chmod +x qrlsall

Cite as:
Saad, T. "How to Release all PBS Jobs with qrls". Weblog entry from Please Make A Note.

Monday, March 9, 2015

Latex v Symbol MathJax Wordpress

The default latex math symbol for v looks like a nu. I usually use \varv to avoid that stupid letter. However, MathJax does not support \varv. Here's what I did for my wordpress site In my header scripts (or where ever you put your mathjax script) add the following:
<script type="text/x-mathjax-config">
  "HTML-CSS": {
    availableFonts: []
According to MathJax documentation, this essentially enforces MathJax to use web-based or image fonts. It seems to do the trick and all my v's look pretty now.

Cite as:
Saad, T. "Latex v Symbol MathJax Wordpress". Weblog entry from Please Make A Note.

Thursday, March 5, 2015

Tuesday, March 3, 2015

Git Remote Branches not showing/not listed

git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
git fetch

Cite as:
Saad, T. "Git Remote Branches not showing/not listed". Weblog entry from Please Make A Note.