Index
HPC - Universidad de Sevilla

Some handy commands

Short info about make web page

Obtain repository without git

# get archive from bitbucket
wget https://bitbucket.org/clausi/hpc/get/master.zip

# copy local file to remote
scp master.zip denk@207.108.8.131:master.zip

Cygwin: show windows path

cygpath -d /home

Create assembler code

gcc -S fichero.c
gcc -c -g -Wa,-a,-ad [opciones] fichero.c > fichero.lst
[Reference](http://x86.renejeschke.de/)

Vectorization info on gcc 5.2

gcc -O2 -ftree-vectorize -ffast-math -fopt-info-vec-missed ...

See processors threads are running on

#!bash
for i in $(pgrep myapp); do ps -mo pid,tid,fname,user,psr -p $i;done

Set affinity for threads (gcc)

#!bash
export  GOMP_CPU_AFFINITY="0-7 16-23 8-15 24-31"

Show topology of CPUs

#!bash
hwloc-ls --no-io