exit
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub jperes@localhost
ssh-copy-id -i ~/.ssh/id_rsa.pub jperes@kaus
ssh-copy-id -i ~/.ssh/id_rsa.pub jperes@castor
ssh kaus
ssh castor
cd /sirius/data/jperes/
nano mpi_hello.c
nano hello.py
nano openmp_hello.c
mpicc -o mpi_hello mpi_hello.c 
mpiexec -n 8 ./mpi_hello
mpirun -n 4 python3 hello.py
gcc -fopenmp -o openmp_hello openmp_hello.c
./openmp_hello 8
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -np 50 ./mpi_hello
qstat
cat mpiexec.o16161 
qsub -V -cwd -b y -shell n -pe openmp 24 ./openmp_hello 24
qstat
cat openmp_hello.o16162 
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -n 50 python3 hello.py
qstat
cat mpiexec.o16163
ls
rm *
ls
exit
