Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
ThirdParty-common
Commits
0f9fe6b8
Commit
0f9fe6b8
authored
Aug 03, 2017
by
Mark OLESEN
Browse files
COMP: paraview mpi config not being passed to vtk backend?
parent
7f4a904b
Changes
1
Hide whitespace changes
Inline
Side-by-side
etc/tools/ParaViewFunctions
View file @
0f9fe6b8
...
...
@@ -128,10 +128,10 @@ setParaViewVersion()
#
addCMakeVariable
()
{
while
[
-n
"
$1
"
]
local
i
for
i
do
CMAKE_VARIABLES
=
"
$CMAKE_VARIABLES
-D
$1
"
shift
[
-n
"
$i
"
]
&&
CMAKE_VARIABLES
=
"
$CMAKE_VARIABLES
-D
$i
"
done
}
...
...
@@ -158,7 +158,7 @@ addMpiSupport()
return
fi
addCMakeVariable
"PARAVIEW_USE_MPI=ON
VTK_USE_MPI=ON"
addCMakeVariable
"PARAVIEW_USE_MPI=ON
"
"
VTK_USE_MPI=ON"
if
[
"
${
MPI_MAX_PROCS
:
=0
}
"
-gt
1
]
then
addCMakeVariable
"VTK_MPI_MAX_NUMPROCS=
$MPI_MAX_PROCS
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment