Cbb/Baobab/examples: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Hello example mpi program: <PRE> </PRE> <HR> How to compile: First: Setup your environment to use mpi <PRE> module add openmpi-x86_64 </PRE> I generally recommend you add th...") |
(No difference)
|
Revision as of 14:47, 6 November 2014
Hello example mpi program:
How to compile:
First: Setup your environment to use mpi
module add openmpi-x86_64
I generally recommend you add this to your .bashrc file.
Second: Compile your program
mpicc -o hello hello.c
Third: Edit your submit script to match how you want to run your parallel program.
vi sub_script
Forth: Submit your script into the queue
qsub sub_script