mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
ENH: add support of additional configure options to some make scripts - remove hard-coded --verbs from makeOPENMPI in favour of letting the user provide it via the command-line for makeOPENMPI. eg, makeOPENMPI openmpi-1.10.6 -- --with-verbs=DIRECTORY ...
15 lines
337 B
Bash
Executable File
15 lines
337 B
Bash
Executable File
#!/bin/sh
|
|
# An example for building OPENMPI with particular settings
|
|
|
|
openmpi=openmpi-1.10.6
|
|
|
|
# InfiniBand support
|
|
verbs="--with-verbs=/usr/local/ofed --with-verbs-lib=/usr/local/ofed/lib64"
|
|
# unset verbs
|
|
|
|
./makeOPENMPI $openmpi -- \
|
|
$verbs \
|
|
"$@"
|
|
|
|
#------------------------------------------------------------------------------
|