Skip to content
Snippets Groups Projects
  1. Apr 29, 2019
  2. Apr 28, 2019
  3. Apr 26, 2019
  4. Apr 16, 2019
    • Mark OLESEN's avatar
      STYLE: formatting in makefiles, config files · 2d7c266d
      Mark OLESEN authored
      - fix typo in makefiles/info that affected wmake -show-compile-c
      
      - additional safeguard in src/OpenFOAM/Make/options against self-linking.
        This is not normally required unless PROJECT_LIBS has been added into
        the link stage.
      2d7c266d
  5. Apr 12, 2019
  6. Apr 10, 2019
  7. Apr 05, 2019
    • Mark OLESEN's avatar
      ENH: provide 'sanitized' values for wmake -show compiler information (#1256) · 63a18262
      Mark OLESEN authored
      - with the wmake rules we may have some compiler options bound to the
        internal compiler variable. For example,
      
           CC  = g++ -std=c++11 -m64
      
           c++FLAGS = ...
      
        So shift any flags from CC to CXXFLAGS for the output of
        'wmake -show-cxx', 'wmake -show-cxxflags', etc.
      
        This makes it much easier to handle the values correctly elsewhere.
        Eg,
      
            CXX="$(wmake -show-cxx)" CXXFLAGS="$(wmake -show-cxxflags)" \
               ./configure
      63a18262
    • Mark OLESEN's avatar
      ENH: improve handling of pt-scotch headers/libraries · cd91a252
      Mark OLESEN authored
      - provide dedicated detection 'have_ptscotch' function that can be
        used after the 'have_scotch' function.
      
        It sets the PTSCOTCH_ARCH_PATH, PTSCOTCH_INC_DIR, PTSCOTCH_LIB_DIR
        and helps when the serial and parallel versions are located with
        different logic.
      cd91a252
  8. Apr 03, 2019
  9. Apr 01, 2019
  10. Mar 14, 2019
  11. Mar 11, 2019
  12. Mar 01, 2019
  13. 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
  14. 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
  15. Feb 14, 2019
    • Mark OLESEN's avatar
      CONFIG: update MPICH and MVAPICH versions/rules · fd8379fd
      Mark OLESEN authored
      - Note: mpich now builds libmpi.so instead of libmpich.so
      
      - define both -DMPICH_SKIP_MPICXX and -DOMPI_SKIP_MPICXX regardless of
        using openmpi or mpich. This simplifies the files and does not harm.
      fd8379fd
  16. Feb 06, 2019
  17. Jan 26, 2019
    • 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
  18. 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
    • Mark OLESEN's avatar
      ENH: add -root option for wmakeLnInclude (convenience) · 3d98c3d5
      Mark OLESEN authored
      - finds the correct root directory location before creating
        the lnInclude directory
      
        Eg,
      
        from within something like src/finiteVolume/fields/fvPatchFields/..
      
            wmakeLnInclude -update -root
      
        it backtracks to find the top-level directory with Make/
        and makes the lnInclude directory there:
      
          Using /home/mark/openfoam/OpenFOAM-plus/src/finiteVolume
              ln: /home/mark/openfoam/OpenFOAM-plus/src/finiteVolume/lnInclude
      3d98c3d5
  19. 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
  20. Jan 21, 2019
  21. Jan 18, 2019
  22. Jan 10, 2019
    • Mark OLESEN's avatar
      ENH: wmake have_* script changes · fcf4c5fb
      Mark OLESEN authored
      - use local 'prefix' variable for easier override and more consistency
      fcf4c5fb
    • 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
  23. Jan 06, 2019
  24. Jan 02, 2019
  25. Dec 15, 2018
  26. Dec 13, 2018
  27. Dec 10, 2018