Commit Graph

85 Commits

Author SHA1 Message Date
ba2c04d454 ENH: also support compilation of ParaView-vX.Y.Z source directories (issue #10)
- The ParaView sources mostly unpack into ParaView-v5.2.0, so support
  this directly without forcing people to rename the directory first.
2016-11-21 23:29:10 +01:00
d23b9bf968 CONFIG: use metis 'native' size for float/double
- this follows the change to metisDecomp
2016-11-13 20:26:43 +01:00
223718a8f2 COMP: ensure min compiler versions are properly noted.
- update makeLLVM to build latest clang (3.9.0), which needs cmake.
2016-11-11 19:20:27 +01:00
e2534597e0 COMP: Ensure makeParaView works for current and upcoming paraview (issue #10)
- minor patching is still required for 5.1.2 (July 2016 release).

- no patching is currently needed for 5.2.0-RC4.
  We have supplied the necessary patches upstream.

    - https://gitlab.kitware.com/paraview/paraview/merge_requests/1022
    - https://gitlab.kitware.com/paraview/paraview/merge_requests/1024
2016-11-11 18:56:30 +01:00
ecab02b5aa DEFEATURE: remove make scripts for paraview 3.x (issue #9)
- With paraview 3.14 (Feb 2012) and paraview 3.98 (Dec 2012)
  experience unresolvable build issues. Can no longer compile.
2016-11-11 13:16:07 +01:00
06b4a31573 ENH: provide makeTecio for newest tecplot library
- installs headers and static library into

  ThirdParty/platforms/$WM_ARCH$WM_COMPILER/tecio
2016-11-11 09:56:31 +01:00
0e474dcd51 STYLE: adjust comment to reflect change to wmRefresh 2016-11-10 16:26:26 +01:00
363691ff97 STYLE: inconsistency in scotch, metis library locations
- avoid leaving any duplicate run-time libraries about that are
  not part of the LD_LIBRARY_PATH.

- incorrect ADIOS library path reported
2016-11-04 21:24:45 +01:00
6b8eecffbd BUG: missing check for boost, CGAL lib64/ in Allwmake
- Non-critical since makeCGAL still caught things anyhow.

- Also report the correct locations.
2016-11-04 21:05:43 +01:00
cb7d48b428 DOC: update notes for makeMesa
- building with 12.x still seems not to work
2016-11-04 14:41:06 +01:00
1e75ef584d ENH: update building of ADIOS
- ADIOS source packages now include mxml, which means that it doesn't
  need to be built separately.

- Use OpenFOAM config.sh/ADIOS (if it exists), or explicitly define
  the version to compile. Eg, ./makeADIOS ADIOS-1.10.0
2016-11-04 11:41:12 +01:00
7623d184cd CONFIG: build boost, CGAL into lib64/ (issue #8)
- On 64-bit systems, the library locations for boost, CGAL are changing.

* Boost 1_62_0 and older build into 'lib/'.
* CGAL-4.9 builds into 'lib64/', older versions into 'lib/'.

Future-proof things by using lib$WM_COMPILER_LIB_ARCH for boost and
CGAL targets.
2016-11-04 11:29:47 +01:00
1fd3d5ab4f ENH: make compiler reference general in examples 2016-11-04 11:12:04 +01:00
da8f0c6452 Merge branch 'update-master' into 'master'
Update master

Update master to include stable development changes and bugfixes.

See merge request !1
2016-11-04 09:49:58 +00:00
5bfb563dcc ERRATA: add missing vtkFunctions file
- should have been in commit cd07d9f6bc
2016-11-04 08:31:51 +01:00
26dc62a51f MISC: update README to foundation information 2016-11-03 16:16:49 +01:00
d07150e20e BUG: Allclean removes platforms/ instead of build/ (closes #7)
- Now only cleans the build/ directory.

- Add -all, -current options etc for also removing platforms,
  if wishing a complete clean.
2016-10-14 17:52:56 +02:00
105e8a0d50 BUG: need -lrt when linking scotch on some systems (issue #6) 2016-10-07 11:00:33 +02:00
375de7066d COMP: simplify scotch makefiles
As per patch provided by Bruno Santos @wyldckat to support Raspbian.
http://bugs.openfoam.org/view.php?id=2051

STYLE: drop unneeded linkage against old POSIX librt.so
2016-09-14 10:12:03 +02:00
85180484c3 CONFIG: update cmake variables for paraview with python (issue #5)
- replace PYTHON_INCLUDE_PATH with PYTHON_INCLUDE_DIRS
  (changed in paraview 2014-10-30)

- add check for Python.h for earlier failure.
  Eg, when development headers are missing on the system.
2016-09-14 10:11:03 +02:00
f8e0b17acb ENH: provide makeParaView.example (mpi + mesa)
- an example of compiling for pvserver

- make upper-limit on MPI processes command-line configurable for
  makeParaView and add MPI support into makeVTK
2016-09-08 11:28:33 +02:00
8f68d51717 CONFIG: change default library target for ccm to be static
- Makes it easier to locate for compiling/linking and lets us
  wrap away in a C++ interface to hide low-level C routines.
2016-08-09 09:54:11 +02:00
a5ab962792 STYLE: allow argument passing in makeVTK.example 2016-08-04 16:02:09 +02:00
2453d95ef7 ENH: provide makeADIOS script 2016-08-01 11:26:49 +02:00
cd07d9f6bc ENH: provide makeMesa and makeVTK scripts 2016-08-01 10:45:10 +02:00
5dd6900492 ENH: relocate common functions into ThirdPartyFunctions
- Qualify some paraview-specific functions with 'ParaView' in the name.
  This helps with code-reuse.

STYLE: use lib$WM_COMPILER_LIB_ARCH instead of explicit lib64
2016-07-27 20:14:18 +02:00
5de10e0e5a ENH: improve flexibility of makeGcc for non-gcc builds
- ThirdParty GMP/MPFR may be needed when making CGAL, but previously
  no convenient means of compiling them without also compiling a
  ThirdParty GCC.

  Now support the combination of building GMP or MPFR, without needing
  to build GCC as well. This could benefit people using clang.

- add a '-no-theadsafe' option when building MPFR via the makeGcc
  script. This may help avoid conflicts with existing, older,
  non-thread-safe system MPFR libraries.
2016-07-27 17:38:34 +02:00
b36e02052b CONFIG: enable shared libraries when building clang 2016-07-27 17:02:28 +02:00
c20c2c2509 CONFIG: update paraview patch for paraview-5.1.0
ENH: include ThirdParty platforms when searching for cmake
2016-07-14 09:44:29 +02:00
f3ef77b946 ENH: remove reliance on ParaView_VERSION env variable
- as per the other build scripts, use the OpenFOAM config
  files for the base settings and command-line arguments
  for refinement.

  Note that the $ParaView_DIR (the installation path) contains
  the paraview version information. So there is no need to
  keep a second variable just for that purpose.
2016-07-13 09:42:00 +02:00
bee5ef0d19 ENH: makeParaView now accepts paraview-VERSION directly as argument
- Symmetrical with the usage for most other ThirdParty build
  scripts. For example,

      "makeParaView ParaView-5.0.1"

- As a convenience, also allow a number directly. For example,

      "makeParaView 5.0.1"

  This should be clearer than the old instruction and does not
  rely on an alias:

      "foamPV 5.0.1; ./makeParaView"

BUG: heuristics for activating GL2 rendering backend missed when
     paraview version was specified from the command-line
v1606
2016-07-13 09:29:48 +02:00
34023f31b8 STYLE: echo more information about boost header/lib
- improve some other feedback information
2016-07-12 22:03:24 +02:00
b351eff392 BUG: need 'unset -f' to unset functions (issue #2, issue #180)
- triggered by dash. makeFFTW needed the same fix.
2016-07-12 21:00:28 +02:00
17aaa3dc77 CONFIG: rename config file to avoid premature filtering of its name 2016-07-06 08:12:31 +02:00
9bb96a7bcd BUG: need 'unset -f' to unset functions (issue #2)
- triggered by dash.
2016-07-01 17:47:05 +02:00
7ec9f0713f STYLE: update some instructions in makeLLVM 2016-06-30 15:55:20 +02:00
68b7b8c135 ENH: integrate makeFFTW into Allwmake script
- issue warning message but not failure when optional things like
  (boost, CGAL, FFTW) encounter build issues in ThirdParty Allwmake.
2016-06-28 16:50:29 +02:00
f7ec8c304e ENH: add makeFFTW build script 2016-06-28 14:29:30 +02:00
4cd3848a40 ENH: out-of-source build for openmpi
- update openmpi infiniband config options
2016-06-21 12:21:22 +02:00
cf251ea182 ENH: support new rendering backend for paraview >= 5.0
ENH: patch paraview 4.4.0 directly before building

- this avoids more manual steps for the user
2016-06-20 07:07:52 +02:00
3da9455ca9 ENH: makeGcc now uses --disable-multilib by default
Rationale: 32-bit support is not normally needed for OpenFOAM and
disabling reduces build issues.

Can use the '-multilib' option to enable 32-bit support if required.
2016-06-20 07:07:52 +02:00
f09aa2ebdc ENH: SOURCE_CGAL_VERSIONS_ONLY workaround replaced in OpenFOAM
Unset the _foamAddLib function prior to sourcing config.sh/CGAL

DOC: restriction about mixing ThirdParty and system gmp/mpfr
     does not apply anymore.
2016-06-20 07:07:51 +02:00
fde551c072 ENH: avoid repeated CGAL builds
- now check for existing third-party build and skip if all build
  components are unchanged.

- skip build entirely for boost-none or CGAL-none

This is primarily useful when makeCGAL is called directly and not from
Allwmake.

STYLE: use WM_COMPILER_LIB_ARCH for boost system lib
2016-06-20 07:07:51 +02:00
0b1c761075 STYLE: provide 'die' as alternative to 'usage'
- make option parsing more consistent
2016-06-20 07:07:51 +02:00
b66ec91d01 ENH: support use of system gmp/mpfr/mpc with ThirdParty gcc
- not previously possible to configure a third-party gcc
  with system gmp/mpfr/mpc.
  This makes it easier to switch between compilers for testing.
2016-06-20 07:07:51 +02:00
5d63dd1b5a BUG: missing library arch on 3rd party gmp/mpfr/mpc paths 2016-06-20 07:07:51 +02:00
a66c85ce80 BUG: inconsistent gcc libraries between makeGcc and OpenFOAM
- explicitly define WM_COMPILER_TYPE=ThirdParty before sourcing
  the OpenFOAM settings. Provide system equivalents as fallbacks
  so that it is apparent what is happening.
  Make the same adjustment to makeLLVM.

BUG: inconsistent CGAL version between makeCGAL and OpenFOAM
2016-06-20 07:07:51 +02:00
b06f4a8639 ENH: generalize patching facilty - provide patch for scotch_6.0.4
- fixes #1
2016-06-20 07:07:51 +02:00
dc0ed1606a STYLE: slight cleanup of paraview make
- align comments in ParaView3Functions with ParaViewFunctions
  (makes it easier to spot differences)

- mention '-buildType' option in usage
- fix the version extraction reporting
- drop broken date-stamp check

STYLE: align some naming in makeCCMIO with other files
2016-06-20 07:07:50 +02:00
d75ec96234 ENH: add a patch mechanism for ParaView build
- this adds some flexiblity/robustness to the build
2016-06-14 18:28:56 +02:00