Difference between revisions of "Parallelism"

From Planets
Jump to: navigation, search
Line 2: Line 2:
  
 
== How to compile in parallel ==
 
== How to compile in parallel ==
 +
 +
To compile the model in parallel use the same command as in sequential (CITE HOW TO COMPILE) and add the following option :
 +
<pre>
 +
-parallel
 +
</pre>
 +
 +
Then there is two choices for parallelism :
 +
<pre>
 +
-parallel mpi
 +
-parallel mpi_omp
 +
</pre>
  
 
== How to run in parallel ==
 
== How to run in parallel ==

Revision as of 10:07, 11 May 2022

What is parallelism?

How to compile in parallel

To compile the model in parallel use the same command as in sequential (CITE HOW TO COMPILE) and add the following option :

 -parallel

Then there is two choices for parallelism :

 -parallel mpi
 -parallel mpi_omp

How to run in parallel

  • Run interactively
  • Run with a job scheduler