Skip to content
Snippets Groups Projects
  1. Feb 06, 2019
  2. Feb 04, 2019
  3. Jan 31, 2019
  4. Jan 29, 2019
  5. Jan 28, 2019
    • Mark OLESEN's avatar
      ENH: enable MPI library variants (#1153) · 473e000b
      Mark OLESEN authored
      - in addition to managing different vendors and versions, it may also
        be necessary or desirable to have a particular variant
        (eg, profiling, release, etc).
      
        Devise a new meaningful name for the variant and create a
        corresponding wmake rule.
      
        Eg, SYSTEMOPENMPI-profiling with a corresponding
            "wmake/rules/linux64Gcc/mplibSYSTEMOPENMPI-profiling" file
        that has suitable content for your system.
      
      CONFIG: intel-mpi use intel64/ paths only for config and wmake rules (#1153)
      
      - previously adjusted the config files, but missed the changes
        required for the wmake rules too.
      
        Now simply migrate to using  "intel64/{include,bin,lib}"
        instead of the older naming  "{include,bin,lib}64"
      
        These changes work since at least intel-mpi 2015 (5.x), but possibly
        earlier as well
      473e000b
  6. Jan 26, 2019
    • Mark OLESEN's avatar
      STYLE: centralize example dictionaries under etc/ (issue #1074) · 3b911600
      Mark OLESEN authored
      - as well as being more convenient to find, this is necessary when the
        OpenFOAM installation is without sources or tutorials
      3b911600
    • Mark OLESEN's avatar
      STYLE: reorganize some legacy and less frequently used components · b0fafd18
      Mark OLESEN authored
      - older emacs tools into legacy
      - old process tools
      
      * Less frequently used scripts into bin/tools/
      
        - findEmptyMake
        - foamAllHC
        - foamUpdateCaseFileHeader
      
      * Infrastructure file (only used by foamNewApp)
      
        - wmake/wmakeFilesAndOptions -> wmake/scripts/wmakeFilesAndOptions
      
      * Merge wmakeRoot convenience as 'wmake -pwd'
      * Remove obsolete wmakePrintBuild (superseded by wmakeBuildInfo)
      * Remove unused mergeHistory file
      b0fafd18
  7. Jan 25, 2019
    • Mark OLESEN's avatar
      CONFIG: combine wmake rules for KNL architecture as a compile option · ef6c2ef5
      Mark OLESEN authored
      - instead of
      
            WM_COMPILER=GccKNL WM_COMPILE_OPTION=Opt
      
            -> linux64GccKNLDPInt32Opt
      
        now specify
      
            WM_COMPILER=Gcc  WM_COMPILE_OPTION=OptKNL
      
            -> linux64GccDPInt32OptKNL
      
      This makes it easier (and more obvious) for adding different tweaks
      without needing to generate too many files.
      Eg,
      
          cd wmake/rules/linux64Gcc
      
          cp cOpt   cOptBdw
          cp c++Opt c++OptBdw
      
          edit these two files and then use WM_COMPILE_OPTION=OptBdw
      
      CONFIG: provide some default c/c++ flags in General compiler rules
      
      - can make is easier when deriving new compile options, and ensures
        that '-02' is enabled as an initial default.
      ef6c2ef5
  8. Jan 24, 2019
  9. Jan 23, 2019
    • Mark OLESEN's avatar
      DEFEATURE: remove wmakeScheduler (issue #1178) · 65e94fde
      Mark OLESEN authored
      - was for parallel compilation across multiple hosts, but less useful
        with modern CPUs with higher number of cores and/or hyperthreading.
      
        Fragile use and dependent on a 'lockfile' utility that is not often
        installed.
      65e94fde
  10. Jan 22, 2019
  11. Jan 17, 2019
  12. Jan 21, 2019
  13. Jan 18, 2019
  14. Jan 17, 2019
  15. Jan 10, 2019
    • Mark OLESEN's avatar
      ENH: make use of FOAM_API for environment as well (issue #1158) · 63d8e7e5
      Mark OLESEN authored
      - was WM_PROJECT_API in the environment and FOAM_API in dictionaries.
      
        Make these both consistently FOAM_API.
        This is a non-breaking change, since the value of WM_PROJECT_API
        (added in 1812) and/or FOAM_API is purely informative.
        For the current correct values, always use
      
          * foamEtcFile -show-api
          * wmakeBuildInfo -show-api
      63d8e7e5
    • Mark OLESEN's avatar
      ENH: make use of FOAM_API for environment as well (issue #1158) · bef508de
      Mark OLESEN authored
      - was WM_PROJECT_API in the environment and FOAM_API in dictionaries.
      
        Make these both consistently FOAM_API.
        This is a non-breaking change, since the value of WM_PROJECT_API
        (added in 1812) and/or FOAM_API is purely informative.
        For the current correct values, always use
      
          * foamEtcFile -show-api
          * wmakeBuildInfo -show-api
      bef508de
    • Mark OLESEN's avatar
      ENH: provide config setup for mesa with llvm (issue #1164) · bae92919
      Mark OLESEN authored
      - If using a non-clang compiler suite (gcc, intel, etc) the additional
        lbraries required for mesa with llvm pipelines may not be found.
      
        Provide a mesa_llvm configuration with in the 'vtk' config file.
        Can use the usual types of settings
      
           * mesa_llvm=llvm-4.0.1
           * mesa_llvm=none
           * mesa_llvm=system
      bae92919
    • Mark OLESEN's avatar
      ENH: provide config setup for mesa with llvm (issue #1164) · 7e3202f4
      Mark OLESEN authored
      - If using a non-clang compiler suite (gcc, intel, etc) the additional
        lbraries required for mesa with llvm pipelines may not be found.
      
        Provide a mesa_llvm configuration with in the 'vtk' config file.
        Can use the usual types of settings
      
           * mesa_llvm=llvm-4.0.1
           * mesa_llvm=none
           * mesa_llvm=system
      7e3202f4
  16. Jan 07, 2019
  17. Jan 06, 2019
  18. Jan 02, 2019
  19. Dec 21, 2018
  20. Dec 19, 2018
  21. Dec 17, 2018
  22. Dec 20, 2018
  23. Dec 13, 2018
    • Mark OLESEN's avatar
      ENH: consolidate handling of mandatory/optional command arguments · 5d9e278e
      Mark OLESEN authored
      - for some special cases we wish to mark command-line arguments as
        being optional, in order to do our own treatment. For example,
        when an arbitrary number of arguments should be allowed.
      
        Now tag this situation with argList::noMandatoryArgs().
        The argList::argsMandatory() query can then be used in any further
        logic, including the standard default argument checking.
      
      - with the new default check, can consolidate the special-purpose
      
            "setRootCaseNonMandatoryArgs.H"
      
        into the regular
      
            "setRootCase.H"
      
      - revert to a simple "setRootCase.H" and move all the listing related
        bits to a "setRootCaseLists.H" file. This leaves the information
        available for solvers, or whoever else wishes, without being
        introduced everywhere.
      
      - add include guards and scoping to the listing files and rename to
        something less generic.
      
           listOptions.H -> setRootCaseListOptions.H
           listOutput.H  -> setRootCaseListOutput.H
      5d9e278e
  24. Dec 12, 2018
    • Mark OLESEN's avatar
      ENH: adjust completion parser · a66e9c74
      Mark OLESEN authored
      - restrict to text between "^[Oo]ptions:" and "-help-full" to avoid
        potential issues when more text is introduced in the usage output.
      a66e9c74
  25. Dec 10, 2018
  26. Dec 08, 2018
  27. Dec 07, 2018
    • Andrew Heather's avatar
      ENH: Added new AMIWeights function object · a4dc9966
      Andrew Heather authored
      Reports the min|max|average AMI weights to text file and optionally
      writes VTK surfaces of the sum of the weights, and mask field for
      ACMI patches.
      
      Example usage:
      
          AMIWeights
          {
              type            AMIWeights;
              libs            ("libfieldFunctionObjects.so");
              writeControl    writeTime;
              writeFields     yes;
          }
      a4dc9966