exit
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub dcunha@localhost
ssh-copy-id -i ~/.ssh/id_rsa.pub dcunha@kaus
ssh-copy-id -i ~/.ssh/id_rsa.pub dcunha@castor
ssh kaus
ssh castor
cd /sirius/data/dcunha/
nano mpi_hello.c
nano hello.py
nano openmp_hello2.c
mpicc -o mpi_hello mpi_hello.c 
mpiexec -n 8 mpi_hello
mpiexec -n 4 python3 hello.py
gcc -fopenmp -o openmp_hello2 openmp_hello2.c
./openmp_hello2 8
nano openmp_hello2.c 
gcc -fopenmp -o openmp_hello2 openmp_hello2.c
./openmp_hello2 8
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -np 50 ./mpi_hello
qstat
cat mpiexec.o16151 
qsub -V -cwd -b y -shell n -pe openmp 24 ./openmp_hello 24
qstat
qsub -V -cwd -b y -shell n -pe openmp 24 ./openmp_hello2 24
qstat
qdel 16152
qstat
cat openmp_hello2.o16153 
qsub -V -cwd -b y -shell n -pe mpi 50 mpiexec -n 50 python3 hello.py
qstat
cat mpiexec.o16154
ls
rm *
ls
exit
LS
ls
cd ..
ls
cd dcunha
lsx
ls
chmod +x run_local.sh
./run_local.sh
ls
chmod +x run_local.sh
./run_local.sh
xit
exit
