1. 03 Sep, 2020 1 commit
  2. 08 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: support FOAM_MODULE_PREFIX to guide location of module builds (#1721) · 934d0bd7
      Mark Olesen authored
      - When compiling additional modules or user code, we need more control
        for the installation locations beyond the usual FOAM_USER_LIBBIN,
        FOAM_SITE_LIBBIN, FOAM_LIBBIN, and wish to have these values be
        modifiable without editing files.
      
      - provide wmake rules for handling standard defaults:
          * GENERAL_RULES/module-path-user
          * GENERAL_RULES/module-path-group
          * GENERAL_RULES/module-path-project
        which are incorporated as follows:
      
        Make/options:
            include $(GENERAL_RULES)/module-path-user
      
        Make/files:
            LIB = $(FOAM_MODULE_LIBBIN)/libMyLibrary
      
        By default these would compile into FOAM_USER_{APPBIN,LIBBIN} but
        could be adjusted at compilation time. For example,
      
      ```
      wmake -module-prefix=/path/my-install-location
      ```
      Or
      ```
      ./Allwmake -module-prefix=/path/my-install-location
      ./Allwmake -prefix=/path/my-install-location
      ```
      Or
      ```
      FOAM_MODULE_PREFIX=/path/my-install-location ./Allwmake
      ```
      
      ENH: add -no-re...
      934d0bd7
  3. 19 May, 2020 1 commit
    • Mark Olesen's avatar
      ENH: improved granularity for MPI-rebuilds · f233595a
      Mark Olesen authored
      - Provide Allwmake-mpi scripts for handling the MPI-only build segment.
      
      - Adjust Make/options to support a FOAM_MPI_LIBBIN target location.
        This will simply default to FOAM_LIBBIN/FOAM_MPI, but allows different
        types of builds with out-of-tree targets.
      
      Example,
      
      Build OpenFOAM with default MPI settings (eg, system openmpi)
      ```
      ./Allwmake
      ```
      
      Rebuild MPI-layers with different MPI.
      
      For any given and known type
      ```
      othermpi()
      {
          export WM_MPLIB=OPENMPI
          export FOAM_MPI=openmpi-3.1.3
      
          export OPAL_PREFIX=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI
          export MPI_ARCH_PATH="$OPAL_PREFIX"
      }
      ```
      
      May wish to build/rebuild ptscotch
      ```
      (
          othermpi
          $WM_THIRD_PARTY_DIR/makeSCOTCH
      )
      ```
      
      Rebuild the mpi-dependent parts. Can also provide install location
      ```
      for script in $(find src -name Allwmake-mpi)
      do
      (
          other_mpi
          export FOAM_MPI_LIBBIN="$HOME/tmp/install-prefix/lib/$FOAM_MPI"
      )
      done
      ```
      f233595a
  4. 12 May, 2020 1 commit
    • Mark Olesen's avatar
      ENH: improved encapsulation of MPI (re)builds · d4e31093
      Mark Olesen authored
      - dependency handling relocated from cmakeFunctions to wmakeFunctions
        and reused for mpi-versioned builds. This allows more checks for
        configuration parameters and removes hard-code build path
        information.
      
      CONFIG: remove spurious mplibHPMPI entries
      
      CONFIG: remove ADIOS1 rules (antiquated)
      d4e31093
  5. 13 Nov, 2019 1 commit
  6. 06 Nov, 2019 1 commit
  7. 28 Apr, 2019 1 commit
  8. 11 Apr, 2019 1 commit
  9. 24 Apr, 2018 1 commit
    • Mark Olesen's avatar
      ENH: improve handling of ThirdParty packages · b4d38ab4
      Mark Olesen authored
      - generalize some of the library extensions (.so vs .dylib).
        Provide as wmake 'sysFunctions'
      
      - added note about unsupported/incomplete system support
      
      - centralize detection of ThirdParty packages into wmake/ subdirectory
        by providing a series of scripts in the spirit of GNU autoconfig.
        For example,
      
            have_boost, have_readline, have_scotch, ...
      
        Each of the `have_<package>` scripts will generally provide the
        following type of functions:
      
            have_<package>          # detection
            no_<package>            # reset
            echo_<package>          # echoing
      
        and the following type of variables:
      
            HAVE_<package>          # unset or 'true'
            <package>_ARCH_PATH     # root for <package>
            <package>_INC_DIR       # include directory for <package>
            <package>_LIB_DIR       # library directory for <package>
      
        This simplifies the calling scripts:
      
            if have_metis
            then
                wmake metisDecomp
            fi
      
        As well as reduci...
      b4d38ab4
  10. 10 Feb, 2017 2 commits
  11. 13 Nov, 2016 1 commit
  12. 09 Nov, 2016 1 commit
    • Mark Olesen's avatar
      ENH: robuster handling of system or central installation (issue #290) · b048cacc
      Mark Olesen authored
      - Follow similar pattern as per boost/CGAL with the '*-none' to disable,
        and '*-system' for system installations.
      
        Also support central non-ThirdParty installations by specifying the
        version as "*-system", but also providing the fully qualified
        *_ARCH_PATH too.
      
      --
      ENH: Verify label and scalar sizes used in the metis header.
      
      - ensure they match with expected values, which can be obtained via
        the OpenFOAM definitions for WM_LABEL_SIZE and WM_PRECISION_OPTION
      b048cacc
  13. 25 Aug, 2016 1 commit
  14. 24 Jun, 2016 1 commit
  15. 15 Feb, 2016 1 commit
  16. 19 Jul, 2015 1 commit
  17. 14 Dec, 2014 1 commit
  18. 28 Apr, 2011 1 commit
  19. 08 Mar, 2011 1 commit
  20. 27 Jan, 2011 1 commit
  21. 26 Jan, 2011 1 commit
  22. 25 Jan, 2011 1 commit
  23. 10 Mar, 2010 1 commit
  24. 15 Jul, 2009 2 commits
  25. 10 Feb, 2009 1 commit
  26. 05 Feb, 2009 1 commit
  27. 11 Dec, 2008 2 commits
  28. 19 Nov, 2008 1 commit
  29. 19 Sep, 2008 2 commits
  30. 13 Jun, 2008 1 commit
  31. 15 Apr, 2008 1 commit