exit
ssh kaus
ssh castor
cd /sirius/data/dviana/
nano mpi_hello.c
nano hello.py
nano openmp_hello.c
mpicc -o mpi_hello mpi_hello.c 
gcc -fopenmp -o openmp_hello openmp_hello.c
mpiexec -n 8 ./mpi_hello
./openmp_hello 8
mpirun -n 4 python3 hello.py
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -np 50 ./mpi_hello
qstat
qsub -V -cwd -b y -shell n -pe openmp 24 ./openmp_hello 24
qstat
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -n 50 python3 hello.py
cat mpiexec.o16167
cat openmp_hello.o16168 
cat mpiexec.o16169
ls
rm *
ls
exit
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub dviana@localhost
ssh-copy-id -i ~/.ssh/id_rsa.pub dviana@kaus
ssh-copy-id -i ~/.ssh/id_rsa.pub dviana@castor
ls
clear
ls
lscpu
git
lscscpu
lscpu
ls
qsub
qsub --version
qsub -v
qsub --help
qsub -h
ls
cd ..
ls
cd dviana/
ls
git clone https://github.com/vianaddsv/mpi.git
ls
cd mpi/
ls
mpicc -o dot_product dot_product.c
ls
mpiexec -n 4 ./dot_product
mpiexec -n 4 dot_product
mpiexec -n 5 dot_product
qsub -o output.txt -e error.txt -V -cwd -b y -shell n -pe mpi 5
mpiexec -np 5 dot_product
ls
qsub -o output.txt -e error.txt -V -cwd -b y -shell n -pe mpi 5 mpiexec -n 5 dot_product
qsub list
ls
cat error.txt 
cat output.txt 
qsub -l
qstat
qstat -f
qhist
qstat -u dviana
exit
df -h
hto
ls
htop
lscpu
htop
exit
