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
openfoam
Commits
1aedae66
Commit
1aedae66
authored
Jan 03, 2011
by
Mark Olesen
Browse files
ENH: use mpi-qualified names for ptscotch include, lib
parent
086c1c0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
etc/apps/scotch/bashrc
View file @
1aedae66
...
...
@@ -36,4 +36,10 @@
export
SCOTCH_VERSION
=
scotch_5.1.11
export
SCOTCH_ARCH_PATH
=
$WM_THIRD_PARTY_DIR
/platforms/
$WM_ARCH$WM_COMPILER
/
$SCOTCH_VERSION
# mpi-qualified include directory
export
SCOTCH_MPI_INCLUDE
=
$SCOTCH_ARCH_PATH
/include/
${
FOAM_MPI_LIBBIN
##*/
}
# mpi-qualified lib directory
export
SCOTCH_MPI_LIBBIN
=
$SCOTCH_ARCH_PATH
/lib/
${
FOAM_MPI_LIBBIN
##*/
}
# -----------------------------------------------------------------------------
src/parallel/decompose/Allwmake
View file @
1aedae66
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
, SCOTCH_MPI_INCLUDE
settings
=
`
$WM_PROJECT_DIR
/bin/foamEtcFile apps/scotch/bashrc
`
if
[
-f
"
$settings
"
]
then
...
...
src/parallel/decompose/ptscotchDecomp/Make/options
View file @
1aedae66
...
...
@@ -3,7 +3,7 @@ sinclude $(RULES)/mplib$(WM_MPLIB)
EXE_INC = \
$(PFLAGS) $(PINC) \
-I$(SCOTCH_
ARCH_PATH)/include
\
-I$(SCOTCH_
MPI_INCLUDE)
\
-I/usr/include/scotch \
-I../decompositionMethods/lnInclude
...
...
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