- 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 19, 2017
-
-
Mark Olesen authored
- use InfoSwitch to disable, or via static method. - respect the state of the argList banner when deciding to emit initialization information. Can otherwise end up with unwanted output rubbish on things like foamDictionary and foamListTimes.
-
- Apr 18, 2017
-
-
Mark Olesen authored
- patch from Bernhard Gschaider
-
Mark Olesen authored
- use similar semantics as used for dealing with metis, scotch
-
- Apr 07, 2017
-
-
Mark Olesen authored
- consistent with use of FOAM_SOLVERS, and reduces reliance on the FOAM_APP env variable
-
- Apr 04, 2017
-
-
Mark Olesen authored
- useful for builds that don't use the ThirdParty directory at all
-
Mark Olesen authored
- just check WM_PROJECT_DIR instead. - provide a fallback value when FOAM_EXT_LIBBIN might actually be needed. Only strictly need FOAM_EXT_LIBBIN for scotch/metis decomposition, and when these are actually supplied by ThirdParty. All other ThirdParty dependencies are referenced by BOOST_ARCH_PATH etc. Can therefore drop the FOAM_EXT_LIBBIN dependency for VTK-related things, which do not use scotch/metis anyhow.
-
- 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 23, 2017
-
-
Mark Olesen authored
- lazier evaluation of project name and version based on the directory name. Avoids heuristics based on directory names unless really needed. - cope with alternative directory locations. For example, OpenFOAM+VERSION etc. The combination of the two above appears to be sufficient to open up the directory naming possibilities. - additional -list-test option (tests for existence of directory).
-
Mark Olesen authored
- cleanup variables last in etc/bashrc for a clean exit code
-
- 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
-
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
-
- Mar 07, 2017
-
-
Mark Olesen authored
-
- 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.
-
Mark Olesen authored
-
- Feb 20, 2017
-
-
Mark Olesen authored
- as per bashrc,cshrc delimit with "# USER EDITABLE PART" "# END OF (NORMAL) USER EDITABLE PART" this can help simplify any patching for system-building scripts etc.
-
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
-
- Feb 09, 2017
-
-
Mark Olesen authored
-
- Jan 03, 2017
-
-
Mark Olesen authored
- LD_LIBRARY_PATH was not being cleaned at all when switching between paraview versions. - PATH was cleaned against the third-party paraview-*, although 3rd party paraview is installed as ParaView-*. The additional cleanup for ParaView_DIR may not catch this (if it was unset elsewhere).
-
- Dec 23, 2016
-
-
Andrew Heather authored
-
- Dec 22, 2016
-
-
Mark Olesen authored
- wm32/wm64 were for changing between -m32, -m64 builds on x86_64 architectures. This is seldom enough not to warrant a special alias. Also ambiguous if these could refer to label sizes. - Remove wm32,wm64 aliases. - Add wmInt32, wmInt64 aliases for switching WM_LABEL_SIZE.
-
- Dec 20, 2016
-
-
Mark Olesen authored
- fixed library path for VTK. They should use lib/ and not lib64/
-
- Dec 19, 2016
-
-
mattijs authored
-
- Dec 16, 2016
-
-
Andrew Heather authored
-
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 14, 2016
-
-
mattijs authored
-
Andrew Heather authored
-
- Dec 13, 2016
-
-
mattijs authored
-
- Dec 09, 2016
-
-
Henry Weller authored
which provided warning about backward-compatibility issue with setting div schemes for steady-state. It caused confusion by generating incorrect warning messages for compressible cases for which the 'bounded' should NOT be applied to the 'div(phid,p)'.
-
- Dec 01, 2016
-
-
Henry Weller authored
Resolves request http://bugs.openfoam.org/view.php?id=2367
-
- Nov 29, 2016
-
-
Mark Olesen authored
-