- May 25, 2017
-
-
mattijs authored
Some versions of lsof print the mount point (if remote) after the script path: /hosts/mymachine/OpenFOAM/OpenFOAM-plus.develop/etc/cshrc (mymachine:/home) This now gets filtered out.
-
- Apr 20, 2017
-
-
Mark Olesen authored
- suppress error messages that appear with zsh. According to unset(1p), 'unset -f' unsets a function. If the function was not previously defined, this is a no-op. This is similar for zsh, but there it emits a warning if the function was not previously defined. - avoid 'local' in functions sources from etc/bashrc. ksh does not support this. - use 'command' shell builtin instead of 'type'. Seems to be more consistent between shell flavours.
-
- Apr 03, 2017
-
-
Mark Olesen authored
-
Mark Olesen authored
- has different locations on different systems (eg, /usr/bin/lsof or /sbin/lsof)
-
Mark Olesen authored
- this implies that jobControl is a user-resource for OpenFOAM. It was previously located under $WM_PROJECT_INST_DIR/jobControl, but few users will have write access there. - an unset FOAM_JOB_DIR variable is treated as "~/.OpenFOAM/jobControl", which can partially reduce environment clutter. - provide argList::noJobInfo() to conveniently suppress job-info on an individual basis for short-running utilities (eg, foamListTimes) to avoid unneeded clutter.
-
- Mar 29, 2017
-
-
Mark Olesen authored
- permit SYSTEMMPI user adjustments via etc/config.{csh,sh}/mpi-system This can be a convenient place for setting up SYSTEMMPI for OpenFOAM without adjusting bashrc, prefs.sh ... - add a USERMPI type. This represents any generic mpi implementation. The user is responsible for supplying an appropriate wmake/rules/General/mplibUSERMPI file and managing all settings. This type of setup can be useful in combination with specific build systems (SPACK, EASYBUILD, etc) or module systems for which the MPI variant is part of the installed configuration.
-
- Mar 22, 2017
-
-
Mark Olesen authored
- this allows the sys-admin to provide base values independent of any WM_PROJECT_SITE value.
-
- Mar 20, 2017
-
-
Mark Olesen authored
- handle sourcing bashrc with a relative path (issue #383) - handle sourcing from bash and zsh. Still need manual intervention when sourcing dash, sh, or ksh. - replace grep in etc/cshrc with sed only - logical instead of physical path for WM_PROJECT_DIR (issue #431). Doesn't seem to be possible for csh/tcsh. * Continue using physical locations when comparing directories, but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR. - relocate WM_CC, WM_CXX overrides from etc/config.*/compiler to etc/config.*/settings to ensure that they are left untouched when etc/config.sh/compiler is sourced while making third-party packages (eg, gcc, llvm, CGAL). - provide fallback FOAM_TUTORIALS setting in RunFunctions STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
-
- Mar 14, 2017
-
-
Mark Olesen authored
-
- Mar 10, 2017
-
-
Mark Olesen authored
- easier to test or use different versions - change WM_CXXFLAGS to -std=c++11 instead of -std=c++0x
-
- Feb 23, 2017
-
-
Mark Olesen authored
Can now use this: _foamSourceEtc config.sh/scotch _foamSourceEtc config.csh/scotch instead of this: _foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch) _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/scotch` In the bash/sh version, leave the _foamSource function for now, since ThirdParty is still relying on it. STYLE: elminate while-loop for _foamAddPath etc since this type of construct isn't readily possible for csh and isn't being used anywhere.
-
- Feb 20, 2017
-
-
Mark Olesen authored
- bump ADIOS version to 1.11.1
-
Mark Olesen authored
-
- Feb 16, 2017
-
-
Mark Olesen authored
- makes it easier to switch between mpi implementations (eg, openmpi, intelmpi etc) - add comment about compiler setting for KNL
-
- Dec 16, 2016
-
-
Mark Olesen authored
- sometimes used for off-screen rendering. Only add to library-path when they are actually available
-
- Dec 15, 2016
-
-
Mark Olesen authored
- the configuration settings can be used for the third-party build, but the configuration is not yet actively enabled in etc/bashrc, etc/cshrc
-
- Dec 13, 2016
-
-
mattijs authored
-
- Dec 01, 2016
-
-
Henry Weller authored
Resolves request http://bugs.openfoam.org/view.php?id=2367
-
- Oct 30, 2016
-
-
Henry Weller authored
-
- Oct 29, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2312
-
- Sep 29, 2016
-
-
Mark Olesen authored
- instead we use the CGAL settings directly since they have the same option of (version | system | none) - may wish to review this again in the future.
-
- Jul 12, 2016
-
-
Mark Olesen authored
- export/setenv WM_COMPILER_TYPE as suggested by Mattijs. - for overall consistency, don't carp about an unset WM_COMPILER_TYPE, since this would only be on the first instance (prior to the export/setenv) and would be confusing about why/when this message may occur. - reduce clutter: only use (system|ThirdParty) for WM_COMPILER_TYPE. Drop the old 'OpenFOAM' setting for WM_COMPILER_TYPE, which was transitional in early 2011. - make the error messages more meaningful
-
- Jul 01, 2016
-
-
Henry Weller authored
-
Henry Weller authored
-
- Jun 30, 2016
-
-
Andrew Heather authored
-
- Jun 28, 2016
-
-
Mark Olesen authored
-
- Jun 21, 2016
-
-
Henry Weller authored
-
- Jun 14, 2016
-
-
Mark Olesen authored
- also update settings to include newer compiler versions
-
- Jun 08, 2016
-
-
Henry Weller authored
Patch contributed by Bruno Santos Resolves patch request http://bugs.openfoam.org/view.php?id=2112
-
- Jun 06, 2016
-
-
Henry Weller authored
FOAM_INST_DIR is the location of the OpenFOAM installation which defaults to the directory containing the etc/bashrc,cshrc file. If this default is not appropriate FOAM_INST_DIR can be set explicitly.
-
- May 05, 2016
-
-
Henry Weller authored
-
Henry Weller authored
Additionally filter $ParaView_DIR from paths in config.sh/paraview and config.csh/paraview Resolves bug-report http://bugs.openfoam.org/view.php?id=2031
-
- May 02, 2016
-
-
Henry Weller authored
Set the environment variable "FOAMY_HEX_MESH" to build foamyHexMesh, e.g. in ~/.OpenFOAM/dev/prefs.sh FOAMY_HEX_MESH=yes
-
- Mar 09, 2016
-
-
Henry Weller authored
for consistency with etc/bashrc and etc/config.sh See commit 4409a0ea
-
- Feb 22, 2016
-
-
andy authored
-
- Feb 15, 2016
-
-
Henry Weller authored
-
- Feb 10, 2016
-
-
Henry Weller authored
-
Henry Weller authored
etc/config.sh and etc/config.csh This structure is more convenient to add support for other shells, e.g. zsh, fish etc. Resolves feature request to simplify support for other shells in http://www.openfoam.org/mantisbt/view.php?id=1232
-
- Dec 22, 2015
-
-
Andrew Heather authored
-
- Aug 07, 2015
-
-
andy authored
-