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
cfcea134
Commit
cfcea134
authored
Mar 19, 2010
by
Mark Olesen
Browse files
BUG: missed cleanup of env variables in etc/settings
parent
31ec0ed2
Changes
6
Hide whitespace changes
Inline
Side-by-side
etc/bashrc
View file @
cfcea134
...
...
@@ -272,4 +272,4 @@ fi
unset
cleaned foamClean foamInstall foamOldDirs
unset
_foamSource
# -----------------------------------------------------------------
------------
# -----------------------------------------------------------------
end-of-file
etc/cshrc
View file @
cfcea134
...
...
@@ -265,4 +265,4 @@ endif
unset
cleaned foamClean foamInstall foamOldDirs
unalias
_foamSource
# -----------------------------------------------------------------
------------
# -----------------------------------------------------------------
end-of-file
etc/prefs.csh-EXAMPLE
View file @
cfcea134
...
...
@@ -50,4 +50,4 @@
setenv ParaView_VERSION git
# eg, cvs/git version
setenv ParaView_MAJOR 3.7
# -----------------------------------------------------------------
------------
# -----------------------------------------------------------------
end-of-file
etc/prefs.sh-EXAMPLE
View file @
cfcea134
...
...
@@ -49,4 +49,5 @@ export WM_MPLIB=SYSTEMOPENMPI
# ~~~~~~~~~~~~~~~~~~~~~~~~
export
ParaView_VERSION
=
git
# eg, cvs/git version
export
ParaView_MAJOR
=
3.7
# -----------------------------------------------------------------------------
# ----------------------------------------------------------------- end-of-file
etc/settings.csh
View file @
cfcea134
...
...
@@ -117,8 +117,8 @@ case OpenFOAM:
endif
_foamAddPath
${
WM_COMPILER_DIR
}
/bin
_foamAddLib
${
WM_COMPILER_DIR
}
/lib
${
WM_COMPILER_LIB_ARCH
}
_foamAddLib
${
WM_COMPILER_DIR
}
/lib
_foamAddLib
${
WM_COMPILER_DIR
}
/lib
${
WM_COMPILER_LIB_ARCH
}
_foamAddMan
${
WM_COMPILER_DIR
}
/man
breaksw
...
...
@@ -128,7 +128,7 @@ endsw
# Communications library
# ~~~~~~~~~~~~~~~~~~~~~~
unset
MPI_ARCH_PATH
unset
env
MPI_ARCH_PATH
switch
(
"
$WM_MPLIB
"
)
case
OPENMPI:
...
...
@@ -256,7 +256,7 @@ _foamAddLib $FOAM_MPI_LIBBIN
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
set
minBufferSize
=
20000000
if
(
!
$?
minBufferSize
)
set
minBufferSize
=
20000000
if
(
$?
MPI_BUFFER_SIZE
)
then
if
(
$MPI_BUFFER_SIZE
<
$minBufferSize
)
then
...
...
@@ -283,9 +283,7 @@ endif
# cleanup environment:
# ~~~~~~~~~~~~~~~~~~~~
unalias
_foamAddPath
unalias
_foamAddLib
unalias
_foamAddMan
unset
minBufferSize
unalias
_foamAddPath _foamAddLib _foamAddMan
unset
compilerInstall minBufferSize
# -----------------------------------------------------------------
------------
# -----------------------------------------------------------------
end-of-file
etc/settings.sh
View file @
cfcea134
...
...
@@ -295,7 +295,7 @@ _foamAddLib $FOAM_MPI_LIBBIN
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minBufferSize
=
20000000
:
${
minBufferSize
:
=20000000
}
if
[
"
${
MPI_BUFFER_SIZE
:
=
$minBufferSize
}
"
-lt
$minBufferSize
]
then
...
...
@@ -321,4 +321,4 @@ export MPI_BUFFER_SIZE
# ~~~~~~~~~~~~~~~~~~~~
unset
_foamAddPath _foamAddLib _foamAddMan minBufferSize
# -----------------------------------------------------------------
------------
# -----------------------------------------------------------------
end-of-file
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