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
7c70919c
Commit
7c70919c
authored
Mar 01, 2010
by
Mark Olesen
Browse files
BUG: apps/ensight/cshrc had bad CEI_ARCH for 32bit version
ENH: upgrade to env. variable to ensight9 (current version)
parent
f2f2f60c
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/apps/ensight/bashrc
View file @
7c70919c
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-200
9
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 1991-20
1
0 OpenCFD Ltd.
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
...
...
@@ -26,7 +26,7 @@
# ensight/bashrc
#
# Description
# Setup file for Ensight
8.?
# Setup file for Ensight
# Sourced from OpenFOAM-*/etc/bashrc
#
#------------------------------------------------------------------------------
...
...
@@ -40,7 +40,7 @@ fi
if
[
-r
$CEI_HOME
]
then
# special treatment for 32bit FOAM and 64bit Ensight
# special treatment for 32bit
Open
FOAM and 64bit Ensight
if
[
"
$WM_ARCH
"
=
linux
-a
`
uname
-m
`
=
x86_64
]
then
export
CEI_ARCH
=
linux_2.6_32
...
...
@@ -52,8 +52,8 @@ then
export
PATH
=
$CEI_HOME
/bin:
$PATH
fi
export
ENSIGHT
8
_INPUT
=
dummy
export
ENSIGHT
8
_READER
=
$FOAM_LIBBIN
export
ENSIGHT
9
_INPUT
=
dummy
export
ENSIGHT
9
_READER
=
$FOAM_LIBBIN
else
unset
CEI_HOME
fi
...
...
etc/apps/ensight/cshrc
View file @
7c70919c
...
...
@@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-200
9
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 1991-20
1
0 OpenCFD Ltd.
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
...
...
@@ -26,7 +26,7 @@
# ensight/cshrc
#
# Description
# Setup file for Ensight
8.?
# Setup file for Ensight
# Sourced from OpenFOAM-*/etc/cshrc
#
#------------------------------------------------------------------------------
...
...
@@ -38,15 +38,16 @@ endif
if
(
-r
$CEI_HOME
)
then
# special treatment for 32bit FOAM and 64bit Ensight
if
(
$WM_ARCH
==
linux
)
then
setenv CEI_ARCH
linux_
linux_2.6_32
# special treatment for 32bit
Open
FOAM and 64bit Ensight
if
(
$WM_ARCH
==
linux
&&
`
uname
-m
`
==
x86_64
)
then
setenv CEI_ARCH linux_2.6_32
endif
set
path
=(
$path
$CEI_HOME
/bin
)
# add to path
set
path
=(
$CEI_HOME
/bin
$path
)
setenv ENSIGHT
8
_INPUT dummy
setenv ENSIGHT
8
_READER
$FOAM_LIBBIN
setenv ENSIGHT
9
_INPUT dummy
setenv ENSIGHT
9
_READER
$FOAM_LIBBIN
else
unsetenv CEI_HOME
endif
...
...
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