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
8c9630d2
Commit
8c9630d2
authored
14 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add wmSET alias, use to simplify other wm* aliases
parent
29e06d36
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/aliases.csh
+6
-5
6 additions, 5 deletions
etc/aliases.csh
etc/aliases.sh
+6
-5
6 additions, 5 deletions
etc/aliases.sh
with
12 additions
and
10 deletions
etc/aliases.csh
+
6
−
5
View file @
8c9630d2
...
...
@@ -26,16 +26,17 @@
#
# Description
# Aliases for working with OpenFOAM
# Sourced from OpenFOAM-
??
/etc/cshrc and/or ~/.cshrc
# Sourced from OpenFOAM-
<VERSION>
/etc/cshrc and/or ~/.cshrc
#
#------------------------------------------------------------------------------
# Change compiled version aliases
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias
wm64
'setenv WM_ARCH_OPTION 64; source $WM_PROJECT_DIR/etc/cshrc'
alias
wm32
'setenv WM_ARCH_OPTION 32; source $WM_PROJECT_DIR/etc/cshrc'
alias
wmSP
'setenv WM_PRECISION_OPTION SP; source $WM_PROJECT_DIR/etc/cshrc'
alias
wmDP
'setenv WM_PRECISION_OPTION DP; source $WM_PROJECT_DIR/etc/cshrc'
alias
wmSET
'source $WM_PROJECT_DIR/etc/cshrc'
alias
wm64
'wmSET WM_ARCH_OPTION=64'
alias
wm32
'wmSET WM_ARCH_OPTION=32'
alias
wmSP
'wmSET WM_PRECISION_OPTION=SP'
alias
wmDP
'wmSET WM_PRECISION_OPTION=DP'
# Toggle wmakeScheduler on/off
# - also need to set WM_HOSTS
...
...
This diff is collapsed.
Click to expand it.
etc/aliases.sh
+
6
−
5
View file @
8c9630d2
...
...
@@ -26,16 +26,17 @@
#
# Description
# Aliases for working with OpenFOAM
# Sourced from OpenFOAM-
??
/etc/bashrc and/or ~/.bashrc
# Sourced from OpenFOAM-
<VERSION>
/etc/bashrc and/or ~/.bashrc
#
#------------------------------------------------------------------------------
# Change compiled version aliases
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias
wm64
=
'export WM_ARCH_OPTION=64; . $WM_PROJECT_DIR/etc/bashrc'
alias
wm32
=
'export WM_ARCH_OPTION=32; . $WM_PROJECT_DIR/etc/bashrc'
alias
wmSP
=
'export WM_PRECISION_OPTION=SP; . $WM_PROJECT_DIR/etc/bashrc'
alias
wmDP
=
'export WM_PRECISION_OPTION=DP; . $WM_PROJECT_DIR/etc/bashrc'
alias
wmSET
=
'. $WM_PROJECT_DIR/etc/bashrc'
alias
wm64
=
'wmSET WM_ARCH_OPTION=64'
alias
wm32
=
'wmSET WM_ARCH_OPTION=32'
alias
wmSP
=
'wmSET WM_PRECISION_OPTION=SP'
alias
wmDP
=
'wmSET WM_PRECISION_OPTION=DP'
# Toggle wmakeScheduler on/off
# - also need to set WM_HOSTS
...
...
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