-
- Downloads
CONFIG: improve flexibility of MPI specification
- it is now possible to include the selected mpi version in the top-level bashrc or prefs.sh file. For example, WM_MPLIB=OPENMPI-4.1.1 or WM_MPLIB=openmpi-4.1.1 after evaluation of the config.sh/mpi, this will define WM_MPLIB=OPENMPI-4.1.1 and FOAM_MPI=openmpi-4.1.1 During the wmake, the mpi-rules will first load the MPI 'family' rules (OPENMPI in this example) before trying to load version-specific rules if they exist. NOTE: the regular user-defined prefs system is unaffected by this change. This means it is still possible to use a file such as 'prefs.openmpi' to define the preferred version instead or as well. However, it does mean inconsistent naming can be specified. For example, specify WM_MPLIB=OPENMPI-4.1.1 at the top-level but actually have FOAM_MPI=openmpi-4.0.6 in the prefs.openmpi file. This will make the value of WM_MPLIB misleading. CONFIG: foamConfigurePaths support for sys-openmpi major version CONFIG: cleanup any shadow env variables
Showing
- bin/tools/RunFunctions 6 additions, 0 deletionsbin/tools/RunFunctions
- bin/tools/foamConfigurePaths 459 additions, 252 deletionsbin/tools/foamConfigurePaths
- etc/config.csh/functions 1 addition, 1 deletionetc/config.csh/functions
- etc/config.csh/mpi 111 additions, 11 deletionsetc/config.csh/mpi
- etc/config.csh/unset 11 additions, 2 deletionsetc/config.csh/unset
- etc/config.sh/functions 1 addition, 1 deletionetc/config.sh/functions
- etc/config.sh/mpi 83 additions, 18 deletionsetc/config.sh/mpi
- etc/config.sh/unset 10 additions, 4 deletionsetc/config.sh/unset
- wmake/rules/General/mpi-rules 13 additions, 6 deletionswmake/rules/General/mpi-rules
Loading
Please register or sign in to comment