Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
7c70919c
Commit
7c70919c
authored
15 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
BUG: apps/ensight/cshrc had bad CEI_ARCH for 32bit version
ENH: upgrade to env. variable to ensight9 (current version)
parent
f2f2f60c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/apps/ensight/bashrc
+5
-5
5 additions, 5 deletions
etc/apps/ensight/bashrc
etc/apps/ensight/cshrc
+9
-8
9 additions, 8 deletions
etc/apps/ensight/cshrc
with
14 additions
and
13 deletions
etc/apps/ensight/bashrc
+
5
−
5
View file @
7c70919c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# ========= |
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-200
9
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 1991-20
1
0 OpenCFD Ltd.
# \\/ M anipulation |
# \\/ M anipulation |
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# License
# License
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
# ensight/bashrc
# ensight/bashrc
#
#
# Description
# Description
# Setup file for Ensight
8.?
# Setup file for Ensight
# Sourced from OpenFOAM-*/etc/bashrc
# Sourced from OpenFOAM-*/etc/bashrc
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
...
@@ -40,7 +40,7 @@ fi
...
@@ -40,7 +40,7 @@ fi
if
[
-r
$CEI_HOME
]
if
[
-r
$CEI_HOME
]
then
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
]
if
[
"
$WM_ARCH
"
=
linux
-a
`
uname
-m
`
=
x86_64
]
then
then
export
CEI_ARCH
=
linux_2.6_32
export
CEI_ARCH
=
linux_2.6_32
...
@@ -52,8 +52,8 @@ then
...
@@ -52,8 +52,8 @@ then
export
PATH
=
$CEI_HOME
/bin:
$PATH
export
PATH
=
$CEI_HOME
/bin:
$PATH
fi
fi
export
ENSIGHT
8
_INPUT
=
dummy
export
ENSIGHT
9
_INPUT
=
dummy
export
ENSIGHT
8
_READER
=
$FOAM_LIBBIN
export
ENSIGHT
9
_READER
=
$FOAM_LIBBIN
else
else
unset
CEI_HOME
unset
CEI_HOME
fi
fi
...
...
This diff is collapsed.
Click to expand it.
etc/apps/ensight/cshrc
+
9
−
8
View file @
7c70919c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# ========= |
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-200
9
OpenCFD Ltd.
# \\ / A nd | Copyright (C) 1991-20
1
0 OpenCFD Ltd.
# \\/ M anipulation |
# \\/ M anipulation |
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# License
# License
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
# ensight/cshrc
# ensight/cshrc
#
#
# Description
# Description
# Setup file for Ensight
8.?
# Setup file for Ensight
# Sourced from OpenFOAM-*/etc/cshrc
# Sourced from OpenFOAM-*/etc/cshrc
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
...
@@ -38,15 +38,16 @@ endif
...
@@ -38,15 +38,16 @@ endif
if
(
-r
$CEI_HOME
)
then
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
)
then
if
(
$WM_ARCH
==
linux
&&
`
uname
-m
`
==
x86_64
)
then
setenv CEI_ARCH
linux_
linux_2.6_32
setenv CEI_ARCH linux_2.6_32
endif
endif
set
path
=(
$path
$CEI_HOME
/bin
)
# add to path
set
path
=(
$CEI_HOME
/bin
$path
)
setenv ENSIGHT
8
_INPUT dummy
setenv ENSIGHT
9
_INPUT dummy
setenv ENSIGHT
8
_READER
$FOAM_LIBBIN
setenv ENSIGHT
9
_READER
$FOAM_LIBBIN
else
else
unsetenv CEI_HOME
unsetenv CEI_HOME
endif
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment