http://www.pbsworks.com/
GPUDirect: CUDA aware MPI
http://keeneland.gatech.edu/software/gpudirect https://www.olcf.ornl.gov/tutorials/gpudirect-mpich-enabled-cuda/ CUDA C direct.cpp #include <stdio.h> #include <stdlib.h> #include <cuda_runtime.h> #include <mpi.h> int main( int argc, char** argv ) { MPI_Init (&argc, &argv); int direct; int rank, size; int *h_buff = NULL; int *d_rank = NULL; int *d_buff =
List of device bit rates
http://en.wikipedia.org/wiki/List_of_device_bit_rates
May I have your autograph?
May I have your autograph?
Print CPU Affinity of GPUs
#!/bin/bash FILES=”/proc/driver/nvidia/gpus/*” for f in $FILES do bus=$(basename $f) echo $bus “–>” `cat /sys/class/pci_bus/${bus:0:7}/cpulistaffinity` done
Code merging with VIM
http://www.wizonesolutions.com/2009/10/28/code-merging-with-vim/
Nested Parallelism OpenMP example
http://www.techdarting.com/2013/07/nested-parallelism-openmp-example.html
gpu cpu affinity
http://stackoverflow.com/questions/16056800/multi-gpu-programming-using-cuda-on-a-numa-machine #!/bin/bash #this script will output a listing of each GPU and it’s CPU core affinity mask file=”/proc/driver/nvidia/gpus/0/information” if [ ! -e $file ]; then echo “Unable to locate any GPUs!” else gpu_num=0 file=”/proc/driver/nvidia/gpus/$gpu_num/information” if [ “-v” == “$1” ];
corbisimages
http://www.corbisimages.com/
LaTeX/Colors
http://en.wikibooks.org/wiki/LaTeX/Colors usepackage[usenames,dvipsnames]{xcolor}
MULTI GPU PROGRAMMING WITH MPI
http://on-demand.gputechconf.com/gtc/2014/presentations/S4236-multi-gpu-programming-mpi.pdf
What Every CUDA Programmer Should Know About OpenGL
http://www.nvidia.com/content/gtc/documents/1055_gtc09.pdf
Topic 851 – Resident and Nonresident Aliens
http://www.irs.gov/taxtopics/tc851.html
bash – how to pipe result from the which command to cd
http://stackoverflow.com/questions/3437514/bash-how-to-pipe-result-from-the-which-command-to-cd cd $(dirname which `mpirun`)
bash loop iteration
http://www.cyberciti.biz/faq/bash-for-loop/
Lustre – FAQ – Sizing
http://wiki.lustre.org/manual/LustreManual20_HTML/SettingUpLustreSystem.html http://wiki.lustre.org/index.php/FAQ_-_Sizing
OpenCL* Design and Programming Guide for the Intel® Xeon Phi™ Coprocessor
https://software.intel.com/en-us/articles/opencl-design-and-programming-guide-for-the-intel-xeon-phi-coprocessor
Find Number of CPU sockets
# Count the number of “physical processor(s)” grep “physical id” /proc/cpuinfo | sort -u | wc -l 1 # Count the number of “physical cores per CPU” grep “cpu cores” /proc/cpuinfo |sort -u |cut -d”:” -f2 2 # Count the
A Simple LD_PRELOAD Tutorial
http://www.catonmat.net/blog/simple-ld-preload-tutorial/ http://elinux.org/images/b/b5/Elc2013_Kobayashi.pdf
Avoid escape characters in GIT
http://michael.otacoo.com/linux-2/avoid-escape-characters-in-git/ The first one is to change the pager to “more”. git config –global core.pager more The second one is to append an additional command with “less -r”. git diff –color | less -r git log -p –color | less