Running the XSEDE MPI workshop examples on the HPCC
Tue 18 June 2013 by Dr. Dirk ColbryBlog post edited by Anonymous - "Migration of unmigrated content due to installation of a new plugin"
Differences in examples to get them to run on the HPCC.
Step 1:
Download these examples buy loading the power tools module and using the get
example command:
module load powertools
getexample
getexample XSEDE_MPI_WORKSHOP
Step 2:
Compile the code using "mpicc" or "mpif90":
mpicc ex1.c
mpif90 ex1.f
Step 3:
Run the code in the command line using same command:
mpirun -np 4 ./a.out
Step 4:
Write a submission script and run the job on the cluster:
1 2 3 4 5 6 7 8 9 |
|
Step 5:
Submit the job using the following command:
qsub myjob.qsub
Blogpost migrated from ICER Wiki using custom python script. Comment on errors below.