mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: relocate WM_PROJECT definition in bashrc, cshrc
- locate where the user is less tempted to change it (#1515). It really should be considered an invariant environment variable. STYLE: wmake -help information to stdout, die errors to stderr
This commit is contained in:
10
etc/bashrc
10
etc/bashrc
@ -39,11 +39,12 @@
|
||||
# - local site-specific directory, uses WM_PROJECT_DIR/site if unset
|
||||
#
|
||||
# Note
|
||||
# Changes made to this bashrc file may be lost with the next upgrade.
|
||||
# Changes made to this file will be lost with the next upgrade.
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
export WM_PROJECT=OpenFOAM
|
||||
# [WM_PROJECT_VERSION] - A human-readable version name
|
||||
# A development version is often named 'com' - as in www.openfoam.com
|
||||
export WM_PROJECT_VERSION=com
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -67,7 +68,7 @@ export WM_PRECISION_OPTION=DP
|
||||
# = 32 | 64
|
||||
export WM_LABEL_SIZE=32
|
||||
|
||||
# [WM_COMPILE_OPTION] - Optimised, debug, profiling, other:
|
||||
# [WM_COMPILE_OPTION] - Optimised(default), debug, profiling, other:
|
||||
# = Opt | Debug | Prof
|
||||
# Other is processor or packaging specific (eg, OptKNL)
|
||||
export WM_COMPILE_OPTION=Opt
|
||||
@ -82,6 +83,9 @@ export WM_MPLIB=SYSTEMOPENMPI
|
||||
#------------------------------------------------------------------------------
|
||||
# (advanced / legacy)
|
||||
|
||||
# [WM_PROJECT] - This project is "OpenFOAM" - do not change
|
||||
export WM_PROJECT=OpenFOAM
|
||||
|
||||
# [projectDir] - directory containing this OpenFOAM version.
|
||||
# \- When this file is located as $WM_PROJECT_DIR/etc/bashrc, the next lines
|
||||
# should work when sourced by BASH or ZSH shells. If this however fails,
|
||||
|
||||
Reference in New Issue
Block a user