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
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!