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
ebfe8de6
Commit
ebfe8de6
authored
15 years ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
../etc/settings.csh
parent
86af21c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/settings.sh
+23
-12
23 additions, 12 deletions
etc/settings.sh
with
23 additions
and
12 deletions
etc/settings.sh
+
23
−
12
View file @
ebfe8de6
...
...
@@ -51,6 +51,16 @@ _foamAddLib()
done
}
# prefix to MANPATH
_foamAddManPath
()
{
while
[
$#
-ge
1
]
do
export
MANPATH
=
$1
:
$MANPATH
shift
done
}
# location of the jobControl directory
export
FOAM_JOB_DIR
=
$WM_PROJECT_INST_DIR
/jobControl
...
...
@@ -90,7 +100,7 @@ _foamAddLib $FOAM_LIBBIN $FOAM_SITE_LIBBIN $FOAM_USER_LIBBIN
# Compiler settings
# ~~~~~~~~~~~~~~~~~
unset
compilerBin compilerLib
unset
compilerBin compilerLib
compilerMan
# Select compiler installation
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -133,16 +143,18 @@ OpenFOAM)
compilerBin
=
$WM_COMPILER_DIR
/bin
compilerLib
=
$WM_COMPILER_DIR
/lib
$WM_COMPILER_LIB_ARCH
:
$WM_COMPILER_DIR
/lib
compilerMan
=
$WM_COMPILER_DIR
/man
;;
esac
if
[
-d
"
$compilerBin
"
]
then
_foamAddPath
$compilerBin
_foamAddLib
$compilerLib
_foamAddPath
$compilerBin
_foamAddLib
$compilerLib
_foamAddManPath
$compilerMan
fi
unset
compilerBin compilerLib compilerInstall
unset
compilerBin compilerLib
compilerMan
compilerInstall
# Communications library
# ~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -158,21 +170,22 @@ OPENMPI)
# Tell OpenMPI where to find its install directory
export
OPAL_PREFIX
=
$MPI_ARCH_PATH
_foamAddPath
$MPI_ARCH_PATH
/bin
_foamAddLib
$MPI_ARCH_PATH
/lib
_foamAddPath
$MPI_ARCH_PATH
/bin
_foamAddLib
$MPI_ARCH_PATH
/lib
_foamAddManPath
$MPI_ARCH_PATH
/man
export
FOAM_MPI_LIBBIN
=
$FOAM_LIBBIN
/
$mpi_version
unset
mpi_version
;;
MPICH
)
mpi_version
=
mpich-1.
2.4
mpi_version
=
mpich
2
-1.
1.1p1
export
MPI_HOME
=
$WM_THIRD_PARTY_DIR
/
$mpi_version
export
MPI_ARCH_PATH
=
$MPI_HOME
/platforms/
$WM_OPTIONS
export
MPICH_ROOT
=
$MPI_ARCH_PATH
_foamAddPath
$MPI_ARCH_PATH
/bin
_foamAddLib
$MPI_ARCH_PATH
/lib
_foamAddPath
$MPI_ARCH_PATH
/bin
_foamAddLib
$MPI_ARCH_PATH
/lib
_foamAddManPath
$MPI_ARCH_PATH
/share/man
export
FOAM_MPI_LIBBIN
=
$FOAM_LIBBIN
/
$mpi_version
unset
mpi_version
...
...
@@ -181,7 +194,6 @@ MPICH)
MPICH-GM
)
export
MPI_ARCH_PATH
=
/opt/mpi
export
MPICH_PATH
=
$MPI_ARCH_PATH
export
MPICH_ROOT
=
$MPI_ARCH_PATH
export
GM_LIB_PATH
=
/opt/gm/lib64
_foamAddPath
$MPI_ARCH_PATH
/bin
...
...
@@ -194,7 +206,6 @@ MPICH-GM)
HPMPI
)
export
MPI_HOME
=
/opt/hpmpi
export
MPI_ARCH_PATH
=
$MPI_HOME
export
MPICH_ROOT
=
$MPI_ARCH_PATH
_foamAddPath
$MPI_ARCH_PATH
/bin
...
...
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