Modules/Commands to install
use pip install <module> --user
to install to user account without root privileges
- Cython
- numpy
- scipy
- openmdao
- cprofilev
- line_profiler
function mat = np2mat(npary) | |
% convert python (Numpy) ndarray to matlab | |
sh = double(py.array.array('d',npary.shape)); | |
npary2 = double(py.array.array('d',py.numpy.nditer(npary))); | |
mat = reshape(npary2,fliplr(sh))'; % matlab 2d array | |
end |
function npary = mat2np(mat) | |
% convert matlab matrix to python (Numpy) ndarray | |
sh = fliplr(size(mat)); | |
mat2 = reshape(mat,1,numel(mat)); % [1, n] vector | |
npary = py.numpy.array(mat2); | |
npary = npary.reshape(sh).transpose(); % python ndarray | |
end |
Modules/Commands to install
use pip install <module> --user
to install to user account without root privileges
# add to ~/.gitconfig file | |
# By Slipp D. Thompson, at http://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git/34467298#34467298 | |
[alias] | |
lg = !"git lg1" | |
lg1 = !"git lg1-specific --all" | |
lg2 = !"git lg2-specific --all" | |
lg3 = !"git lg3-specific --all" | |
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' | |
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' |
# Inference Statistics | |
# Casella and Berger |
TAMU HPRC Python virtual environment setup: https://hprc.tamu.edu/wiki/SW:Python
On the Ada cluster, run these commands one after the other. They probably also work on the Terra and Curie clusters.
module load Python/2.7.12-foss-2017A myPython/2.7.12-foss-2017A
$MYCREATEVIRTENV
Texas A&M, MEEN 431, Dynamic Systems and Controls, Project Sam Friedman, Nilesh Pore
[ | |
"Afghanistan", | |
"Albania", | |
"Algeria", | |
"American Samoa", | |
"Andorra", | |
"Angola", | |
"Anguilla", | |
"Antarctica", | |
"Antigua and Barbuda", |