Platform for Assignment

First OpenMP program
------------------------

1. Download test-openmp.c, Makefile
    - The script runs a simple OpenMP program on a single node using
2. Login to ssl cluster (replace "secsab" with your user-id) using your account (login id and password)
    >> ssh secsab@turing.cds.iisc.ac.in

   - Password:
3. Transfer the two downloaded files from your unix machine to the sslcluster's omp-test directory using scp:
    e.g., >> scp submit-script secsab@turing.cds.iisc.ac.in:/home/secsab/omp-test
4. Compile using
>> make
5. Run your program
>> ./test-openmp
6. Understand the program and the output.

Happy OpenMP!


First MPI program
-------------------

1. Download test-mpi.c, Makefile, sample-script
    - The script runs 64 MPI processes on 64 cores across 8 nodes with 8 processes per node.
2. Login to ssl cluster (replace "secsab" with your user-id) using your account (login id and password)
    >> ssh secsab@turing.cds.iisc.ac.in

   - Password:
3. Create a directory called mpi-test
    In another terminal, transfer the three downloaded files from your unix machine to the cluster's mpi-test directory using scp:
    e.g., >> scp sample-script secsab@turing.cds.iisc.ac.in:/home/secsab/mpi-test
4. Compile using
>> make
5. In the submission script, change " /home/cds/mpi-test" to your directory containing test-mpi.c
6. Submit to PBS using
>> qsub sample-script
7. Monitor your submitted job using
>> qstat
8. After your program finishes, you will see output of your program in output.txt file.


Happy MPI!