Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
open_mpi_with_java_binding [2016/02/23 20:01] – [Documentation] adminopen_mpi_with_java_binding [2022/12/12 13:49] (Version actuelle) – [Documentation] admin
Ligne 6: Ligne 6:
  
 =====  How do I build and run my Java MPI application? ===== =====  How do I build and run my Java MPI application? =====
 +
 +<note warning>
 +EDIT dec 2022\\
 +use ''module mpi/openmpi/gcc/openmpi@4.1.1/gcc-11.2.0''
 +</note>
 +
  
 Load Java MPI binding : Load Java MPI binding :
Ligne 31: Ligne 37:
  
  
-<WRAP center round tip 60%>+<WRAP center round tip 80%>
 For convenience, mpirun has been updated to detect the Java command and ensure that the required MPI libraries and class paths are defined to support execution. You therefore do NOT need to specify the Java library path to the MPI installation, nor the MPI classpath. Any class path definitions required for your application should be specified either on the command line or via the CLASSPATH environmental variable. Note that the local directory will be added to the class path if nothing is specified. For convenience, mpirun has been updated to detect the Java command and ensure that the required MPI libraries and class paths are defined to support execution. You therefore do NOT need to specify the Java library path to the MPI installation, nor the MPI classpath. Any class path definitions required for your application should be specified either on the command line or via the CLASSPATH environmental variable. Note that the local directory will be added to the class path if nothing is specified.
 As always, the java executable, all required libraries, and your application classes must be available on all nodes. As always, the java executable, all required libraries, and your application classes must be available on all nodes.
Ligne 37: Ligne 43:
 </WRAP> </WRAP>
  
 +
 +<note important>**BUG related to PSM Infiniband**. There are two solutions to run MPI:\\
 +
 +  * solution1: mpirun <code bash>--mca mtl ^psm ...</code> **This solution may use a lot of memory**. 
 +  * solution2: mpirun <code bash>--mca pml ob1 ...</code>
 +</note>
  
  
Ligne 65: Ligne 77:
 </code> </code>
  
-==== Built it====+==== Build it====
  
 <code bash> <code bash>
Ligne 259: Ligne 271:
   * Browse the API http://mesowiki.univ-fcomte.fr/docs/openmpi/javadoc/   * Browse the API http://mesowiki.univ-fcomte.fr/docs/openmpi/javadoc/
   * http://blogs.cisco.com/performance/java-bindings-for-open-mpi   * http://blogs.cisco.com/performance/java-bindings-for-open-mpi
-  * http://www.hpjava.org/papers/MPJ-CPE/cpempi/cpempi.html 
   * http://www.open-mpi.org/papers/mpi-java-spec/   * http://www.open-mpi.org/papers/mpi-java-spec/
   * http://www.open-mpi.org/faq/?category=java   * http://www.open-mpi.org/faq/?category=java
 +  * https://github.com/kma/ezmpj 8-) LOL
 +
  
  • open_mpi_with_java_binding.1456257664.txt.gz
  • Dernière modification : 2016/02/23 20:01
  • de admin