Changes for page Compiling and Running MPI Programs
Last modified by valad on 2024/05/28 10:16
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Syntax
-
... ... @@ -1,1 +1,1 @@ 1 - XWiki2.11 +MediaWiki 1.6 - Content
-
... ... @@ -6,15 +6,13 @@ 6 6 7 7 Bash users can add the following lines to their .bashrc: 8 8 9 -{ 9 +{{{export OMPI_FC='ifort' 10 +export OMPI_F77='ifort' 11 +export OMPI_CC='icc'}}} 10 10 11 -{{export ompi_fc='ifort' 12 -export ompi_f77='ifort' 13 -export ompi_cc='icc'/}} 14 14 15 -} 16 16 17 -Especially if you use icc, it will be better if you use the recent ~[~[Intel Compiler 11.0>>Intel_Compiler_Temp]].15 +Especially if you use icc, it will be better if you use the recent [[Intel Compiler 11.0>>Intel_Compiler_Temp]]. 18 18 19 19 == Infiniband == 20 20 ... ... @@ -28,22 +28,22 @@ 28 28 29 29 This lives in 30 30 31 - {{{/home/software/hpcx/current .}}}29 + /home/software/hpcx/current . 32 32 33 33 This points to the latest installed version. 34 34 35 35 To use this library you have to extend your .bashrc. Include the following lines: 36 36 37 - {{{export HPCX_HOME=/home/software/hpcx/current38 -source $HPCX_HOME/hpcx-init.sh }}}35 + export HPCX_HOME=/home/software/hpcx/current 36 + source $HPCX_HOME/hpcx-init.sh 39 39 40 40 This doesn't change your actual environment yet. To finally activate the setup call: 41 41 42 - {{{hpcx_load}}}40 + hpcx_load 43 43 44 44 Then all MPI tools are loaded from HPCX. This is required for building and running. You may call this is in your jobs-scripts. 45 45 46 46 There are other MPI flavours in HPCX. Read the documentation within there: 47 47 48 - {{{/home/software/hpcx/current/README.txt49 - }}}46 + /home/software/hpcx/current/README.txt 47 +