exit
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub mpinto@localhost
ssh-copy-id -i ~/.ssh/id_rsa.pub mpinto@kaus
ssh-copy-id -i ~/.ssh/id_rsa.pub mpinto@castor
ssh kaus
ssh castor
cd /sirius/data/mpinto/
nano mpi_hello.c
nano hello.py
nano openmp_hello.c
mpicc -o mpi_hello mpi_hello.c 
mpiexec -n 8 ./mpi_hello
gcc -fopenmp -o openmp_hello openmp_hello.c
./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
cat mpiexec.o16164 
qsub -V -cwd -b y -shell n -pe openmp 24 ./openmp_hello 24
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -n 50 python3 hello.py
qstat
cat openmp_hello.o16165 
qstat
cat mpiexec.o16166 
ls
rm *
ls
exit
