Skip to content
Snippets Groups Projects
  1. Dec 14, 2017
    • Mark OLESEN's avatar
      STYLE: cleanup of compiler settings · 3f853f03
      Mark OLESEN authored
      - relocate WM_COMPILER_ARCH, WM_COMPILER_LIB_ARCH from
        etc/{bashrc,cshrc} to etc/config.{csh,sh}/settings since these
        should not be changed by the user anyhow.
      
      - Use gcc/g++ as common base and specialize afterwards (to reduce
        duplication)
      
      - adjust format of WM_PROJECT_SITE fallback to allow for easier
        automated edits
      3f853f03
  2. Nov 20, 2017
  3. Aug 04, 2017
  4. Apr 07, 2017
  5. Apr 04, 2017
  6. Apr 03, 2017
    • Mark Olesen's avatar
      ENH: default jobControl now under the '~/.OpenFOAM/jobControl' directory · af49eaf6
      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.
      af49eaf6
  7. Mar 20, 2017
    • Mark Olesen's avatar
      ENH: minor improvements to environment · b970ba09
      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
      b970ba09
  8. Mar 14, 2017
  9. Mar 10, 2017
  10. Feb 23, 2017
    • Mark Olesen's avatar
      ENH: use new foamEtcFile options to simplify syntax when sourcing files · c84b9aaa
      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.
      c84b9aaa
  11. Feb 20, 2017
  12. Oct 29, 2016
  13. Aug 05, 2016
    • Henry Weller's avatar
      C++11: Update compilation rules to specify C++11 support and conformance · 7996a913
      Henry Weller authored
      The change from C++0x to C++11 allows all of C++11 functionality to be
      used in OpenFOAM, in particular constructor delegation which avoids code
      duplication or constructor helper functions.  However, this also means a
      change to the minimum gcc version supported which is now 4.7 rather than
      4.5.
      
      Note that gcc-4.7 does not support the entire C++11 standard but does
      support all of the functionality currently needed for further OpenFOAM
      development.  The minimum gcc-version which supports the entire C++11
      standard is 4.8 which is now the recommended minimum gcc version.
      7996a913
  14. Jul 12, 2016
    • Mark Olesen's avatar
      STYLE: cleanup compiler settings (issue #176) · 787b19c4
      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
      787b19c4
  15. Jul 06, 2016
  16. Jun 29, 2016
  17. Jun 17, 2016
    • Mark Olesen's avatar
      STYLE: minor config file details · b2b41231
      Mark Olesen authored
      - move unset mpi buffer size from config.csh/settings -> config.csh/mpi
      
      - wmUNSET now also unalias wmREFRESH
      
      Note: unsetenv WM_COMPILER_TYPE in csh variant?
      
      - drop reference to paraview-3 in config files.
        Cannot say anything definite about support for versions
        this old (2012)
      b2b41231
  18. Jun 16, 2016
  19. Jun 14, 2016
  20. May 29, 2016
  21. May 11, 2016
  22. Mar 09, 2016
  23. Feb 15, 2016
  24. Feb 10, 2016
  25. Jan 23, 2016
  26. Jan 10, 2016
  27. Oct 25, 2015
  28. Jul 19, 2015
  29. Jun 23, 2015
  30. May 18, 2015
  31. May 17, 2015
  32. May 16, 2015
  33. May 14, 2015
  34. Apr 25, 2015
  35. Mar 08, 2015