Commit Graph

275 Commits

Author SHA1 Message Date
mattijs
5ef9cf70d5 Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-06-13 10:57:44 +01:00
Henry
e66cd871b5 wmake: add "dwim" target
dwim (do what I mean): search up directories tree for Make sub-directory and build the target
    specified in Make/files
2013-06-11 12:58:19 +01:00
mattijs
15c433b337 ENH: wmake: 'wmake dep' to build dependencies and softlinks 2013-06-04 16:50:33 +01:00
Henry
caa74eee6f wmake: Change default behaviour to check the Make/files file for a LIB entry and compile libso if appropriate 2013-05-13 15:23:16 +01:00
Henry
2caa044ad6 wmake: Added support for gcc-4.8.? 2013-05-06 22:25:25 +01:00
Henry
5d4073b8a3 Icc support: changed optimisation switch to account for the architecture automatically 2013-03-14 10:51:21 +00:00
laurence
fd8eebab13 ENH: Latest version of cvMesh. Squash of commits. 2012-12-11 17:22:06 +00:00
mattijs
2ba7dd67a6 GIT: wmake: undo incorrect push 2012-09-20 15:24:57 +01:00
mattijs
dfa74d978c ENH: flowRateInletVelocity: different keywords for volumetric and mass 2012-09-20 14:21:40 +01:00
mattijs
8f28740568 COMP: Intel: add add-needed link flags for modern linux platforms 2012-07-09 09:06:41 +01:00
Henry
711cf48e5d Clang: Updated debug switches 2012-06-07 14:46:32 +01:00
Henry
2d2ad386a6 Updated support for clang-3.1 2012-06-06 17:45:18 +01:00
Henry
bd8863e711 wmake: updated rules for gcc-4.7.0 2012-04-30 20:19:23 +01:00
Henry
ad6b6626e2 Further developed support for gcc-4.7.0 2012-04-30 16:31:09 +01:00
Henry
5d4480e706 Added support for gcc-4.7.0 2012-04-29 22:01:57 +01:00
laurence
6a3571b3e9 COMP: Move boost and mpfr library includes from wmake/rules/general/CGAL
This is so that surfaceFeatureExtract will compile without boost/mpfr
2012-04-26 15:10:24 +01:00
Henry
25504bf856 Settings and wmake: Updated the use of WM_COMPILER_LIB_ARCH to set the library path 2012-04-12 11:07:47 +01:00
laurence
1d93f171ad COMP: Correct Make/options for SloanRenumber and the CGAL rules 2012-03-02 12:34:24 +00:00
Henry
04c8b49679 wmake rules for ARM: remove duplicate options 2012-02-08 12:34:27 +00:00
Henry
d0e1c1c3e8 wmake rules: removed debug switches from optimisation rules 2012-02-08 12:34:02 +00:00
Henry
25b704afe2 ARM: improved optimisation 2012-01-24 17:18:12 +00:00
Henry
9eb026fb7e ARM support: updated wmake rules 2012-01-23 10:14:32 +00:00
Henry
417a6539c9 Add initial support for ARM 2012-01-19 16:29:31 +00:00
laurence
ed1fd3d46a Merge branch 'cv2d' 2011-12-09 10:47:54 +00:00
Henry
95a5facaf0 wmake: Added support for Intel MPI 2011-11-22 17:51:57 +00:00
laurence
075e47ea5a ENH: Merge cvMesh functionality into cv2DMesh
- Added conformationSurface and searchableSurface classes in place
  of querySurface.
- Added cellSizeControl class.
- Change cvMesh argument of relaxation model constructor to Time.
- Add writePrecision option to surfaceConvert.
- Add onLine function to surfaceFeatureExtract.
- Remove querySurface.
- Move createShellMesh and extrude2DMesh to their own libraries.
- Replace controls and tolerances with a cv2DControls object.
- Add patchToPoly2DMesh class to extrude2DMesh.
2011-11-18 09:53:46 +00:00
mattijs
a78139ea1c COMP: wmake/rules/linux*Gcc*: clean compilation on ubuntu 11.10 2011-10-25 15:35:13 +01:00
Henry
32d7d05192 Icc: changed the default optimisation level to O2 2011-10-19 12:17:28 +01:00
mattijs
4819b9a0a3 ENH: wmakeScheduler: detect tty 2011-10-07 16:01:56 +01:00
Henry
a47a04b55c Added support for building on SGI machines 2011-09-19 15:06:11 +01:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Henry
d1a8375816 wmake options files: corrected EXE_LIBS -> LIB_LIBS 2011-06-27 16:58:58 +01:00
Henry
0143dd5b34 flex: Updated command-line options to work with flex version 2.5.4 2011-06-24 13:40:39 +01:00
Henry
e2ad6d4032 Icc: lower the optimisation level to avoid memory aliasing problems in lagrangian 2011-06-10 12:15:46 +01:00
mattijs
72a703509e BUG: wmakeSchedulerUptime: execute permission 2011-05-27 18:06:53 +01:00
mattijs
871aa6a67a BUG: wmakeSchedulerUptime: uptime invocation 2011-05-27 18:05:24 +01:00
mattijs
06bc199da9 ENH: wmake: print pwd upon error 2011-05-27 11:54:16 +01:00
Mark Olesen
7dee8058e1 ENH: add Gcc46 rules 2011-03-30 09:22:01 +02:00
Mark Olesen
82ba4e5419 ENH: allow silent operation (-s) for wmake, wclean, wmakeLnInclude
- reduces verbosity for dynamicCode

- non-silent wmakeLnInclude output to stderr to avoid polluting logs
2011-03-08 09:32:30 +01:00
Mark Olesen
e0311539fc STYLE: change makeOption to makeType internally
- also simplify setting makeType in the Allwmake scripts
2011-03-08 08:58:44 +01:00
Mark Olesen
4d418eccf7 COMP: remove linking against lib iberty, now using add2line 2011-03-07 13:35:59 +01:00
Mark Olesen
4aafea74a9 COMP: removed calcEntry bits missed in b4dae1a5ab 2011-02-24 11:35:24 +01:00
Mark Olesen
7692304dba Merge remote branch 'OpenCFD/master' into olesenm 2011-02-18 18:19:46 +01:00
Mark Olesen
cae015b615 COMP: clang++ -Woverloaded-virtual -> spurious warnings? disable for now
- this behaviour changed in clang 2.9 between trunk 122348 and trunk 125662
2011-02-18 17:26:54 +01:00
graham
423fe1048b COMP: Correcting CGAL/boost/GMP build setup. 2011-02-18 16:18:46 +00:00
Mark Olesen
fc2bd19356 STYLE: use 'platforms/' for organizing wmake binaries as well
- replaces previously used 'bin/'

STYLE: add -help to makeWmake
2011-02-15 19:01:04 +01:00
Mark Olesen
b9f7726095 ENH: fix wcleanAll, wcleanMachine to work with new platforms/ layout 2011-02-15 18:51:23 +01:00
Mark Olesen
677a2a8d11 STYLE: minor cleanup in wmakePrintBuild 2011-02-15 17:09:51 +01:00
Mark Olesen
808ff1aa32 Merge remote branch 'OpenCFD/master' into olesenm 2011-02-15 16:55:05 +01:00
Mark Olesen
0c2eb36ed2 STYLE: allow spaces in pkg name (again) 2011-02-11 16:52:36 +01:00
mattijs
523b88fd77 BUG: dash behaviour of set -- 2011-02-11 12:22:16 +00:00
Mark Olesen
a2fe746899 ENH: allow -pkg|-package option for wmakePrintBuild
- improves the chances of tracking who built OpenFOAM, where, etc

ENH: make it easier to parse version/build from OpenFOAM -help output

- For example,
    foamListTimes -help | awk '{ if (/^Using:/) print $2}'
    foamListTimes -help | awk '{ if (/^Build:/) print $2}'
2011-01-28 13:52:36 +01:00
Mark Olesen
e95e9700c8 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-17 10:21:58 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
Mark Olesen
8deef93ae7 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-10 08:23:09 +01:00
graham
98f97e7852 COMP: CGAL 3.7 now used. Template depth required to increased > 75, made 100. 2011-01-07 14:24:17 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
5d18583101 ENH: collect arch-specific directly under platforms/
- platforms/WM_OPTIONS/lib
      old: lib/WM_OPTIONS

- platforms/WM_OPTIONS/bin
      old: bin/WM_OPTIONS
      old: applications/bin/WM_OPTIONS

A runtime environment nows needs
    - bin/
    - etc/
    - platforms/
2011-01-05 08:49:42 +01:00
Mark Olesen
a169819168 ENH: adjust tools to handle architecture-specific dirs in bin/ as well 2010-12-23 06:53:05 +01:00
Mark Olesen
603aa1e61c ENH: preserve command-line settings in FOAM_SETTINGS 2010-12-22 15:41:51 +01:00
Henry
c8314956da wmake: Updated rules for Icc 2010-12-06 12:21:16 +00:00
mattijs
b95fb53a39 ENH: wmake/Makefile : add 'objects' target 2010-11-25 16:49:09 +00:00
Mark Olesen
a2ef9cdcc5 STYLE: drop optional 'ln' option for wmakeLnInclude
- not required since the addition of the '-f' option
2010-11-24 09:22:40 +01:00
Mark Olesen
6c0e040bfe STYLE: remove trailing space from remaining wmake rules 2010-11-17 11:44:46 +01:00
Mark Olesen
350df4db3f STYLE: remove trailing space from wmake rules
- To-do:
      wmake/rules/General/bison
      wmake/rules/General/btyacc
      wmake/rules/General/btyacc++
      wmake/rules/General/byacc
      wmake/rules/General/moc
      wmake/rules/General/yacc

  but these files have <TAB>
2010-11-17 11:22:31 +01:00
Mark Olesen
6260055989 ENH: add in C++0x support for linux64Gcc - for testing purposes 2010-11-17 11:15:23 +01:00
mattijs
56a3c72ffe ENH: wmakeScheduler : work with both bash and csh 2010-10-15 16:25:27 +01:00
andy
69f4da06f6 Merge branch 'olesenm' 2010-10-14 12:37:59 +01:00
mattijs
7ebfa4a906 BUG: bash does not know $HOST, only $HOSTNAME 2010-10-13 10:31:44 +01:00
Mark Olesen
d967687f14 ENH: add settings/rules for clang-2.8 2010-10-12 10:57:08 +02:00
mattijs
f113dad6b9 COMP: Fedore13 has linkage with --no-add-needed as default. This disallows indirectly loaded libraries. 2010-08-31 16:27:15 +01:00
mattijs
69526c6c1c BUG: various reinterpret_cast to enable strict-aliasing 2010-08-19 15:44:17 +01:00
graham
7faf359bc1 COMP: adding -traditional-cpp to CPP variable. 2010-07-21 10:58:53 +01:00
Mark Olesen
7e9adc7b31 ENH: add wmakeFindEmptyMake, -help option for wmakeFilesAndOptions
wmakeFindEmptyMake:
- Find 'Make/' directories without 'files' or 'options'.
  These typically correspond to (partially) removed applications.
2010-06-01 09:23:47 +02:00
mattijs
f84a91d7ce Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/createBaffles/createBaffles.C
	applications/utilities/postProcessing/patch/patchIntegrate/patchIntegrate.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.C
	src/dynamicMesh/motionSmoother/motionSmoother.C
	src/dynamicMesh/motionSmoother/motionSmoother.H
	src/dynamicMesh/motionSmoother/motionSmootherTemplates.C
2010-05-18 13:28:21 +01:00
Mark Olesen
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
mattijs
7f6740a9eb Merge commit 'origin/master' into splitCyclic 2010-04-30 15:10:10 +01:00
Mark Olesen
b16ef5f0fa ENH: set PINC, PLIBS in the rules (not the env) for system-openmpi
BUG: syntax error in settings.sh
2010-04-22 15:46:54 +02:00
Mark Olesen
0d44584112 ENH: rationalize wmake rules to avoid unnecessary duplication
- main mplib rules located in GENERAL_RULES with specializations
  (if any) under RULES. Modest change in a few options files, but
  cleans up the rules directories.

  previously in options:
      include $(RULES)/mplib$(WM_MPLIB)

  now in options:
      sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
      sinclude $(RULES)/mplib$(WM_MPLIB)

  For GNU make it would be permissible to write both in a single line.
2010-04-22 15:01:07 +02:00
Mark Olesen
87f151c47b ENH: add wmake rules for gcc-4.5
ATTENTION: cpp now needs '-traditional-cpp' for single-line output
2010-04-21 16:23:16 +02:00
Mark Olesen
470b30b58c ENH: avoid possibly non-portable 'find' with '-printf' 2010-04-20 19:14:42 +02:00
Mark Olesen
9707e5c100 ENH: "wmake all" makes 'libso' instead of 'exe' where appropriate
- adds more DWIM (do what I mean) intelligence to wmake

ENH: use ~/.OpenFOAM/.wmake instead of ~/.wmakeScheduler for the lock dir

- keeps more of the OpenFOAM bits together
2010-04-19 10:54:23 +02:00
mattijs
cff2580336 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/meshTools/sets/topoSets/faceSet.C
	src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
2010-04-16 12:09:34 +01:00
mattijs
4da8beb94b COMP: revert to non-debug flag for polyMeshAdder purposes. 2010-04-16 11:02:18 +01:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
Mark Olesen
0686bdf1e9 ENH: simplify cpp rules to avoid absolute paths and multiple GFLAGS.
- otherwise /lib/cpp may need a different library binding than
  currently available and results in this type of error:

  /usr/lib64/gcc/x86_64-suse-linux/4.4/cc1:
  /data/app/OpenFOAM/ThirdParty-1.6.x/platforms/linux64/gcc-4.3.3/lib64/libstdc++.so.6:
  version `GLIBCXX_3.4.11' not found (required by
  /usr/lib64/libppl_c.so.2)

ENH: remove unused flex++ rule for SiCortex that was identical to the
general one anyhow.
2010-03-29 10:59:35 +02:00
Mark Olesen
0b9e5ea11a ENH: link to general mplib* rules where possible.
ENH: generalize rule for X11

ENH: Avoid move in flex/flex++ rule.
2010-03-26 11:48:23 +01:00
mattijs
89c7523c72 Merge branch 'master' into splitCyclic
Conflicts:
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
	src/parallel/parMetisDecomp/parMetisDecomp.C
	src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
2010-03-25 13:54:12 +00:00
Mark Olesen
46d96dc855 BUG: remove old wmake/rules/*/{dirToString,wmkdep} binaries 2010-03-25 14:42:29 +01:00
Mark Olesen
d1313bfda7 COMP: use current CGAL rules from cvm branch 2010-03-24 15:30:35 +01:00
Mark Olesen
d353f08f37 ENH: move internal wmake scripts to scripts/ directory
- more consistent script names
- remove '-help' option from internal scripts
2010-03-24 15:17:44 +01:00
Mark Olesen
f1d03a3802 ENH: cleanup shell scripts, BUG: unclosed 'if' in inlineReplace 2010-03-23 14:05:51 +01:00
Mark Olesen
d239cc053a COMP: coco-cpp now installed with --prefix and without separate --exec-prefix
COMP: latest coco-cpp can find the frame files relative to the
executable path. This simplifies the make rules.
2010-03-10 12:11:26 +01:00
mattijs
49fb39e8f3 Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/decomposePar.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
Mark Olesen
2068c67a33 ENH: 'wclean all' now uses either Allwclean or Allclean files if
present.
2010-03-09 17:16:23 +01:00
Mark Olesen
d4054f6b1f ENH: add -i(ignore) option to wmkdep, wmkdepend
- specifies headers that should be ignored. Provides a workaround
  for the fact that wmkdep/wmkdepend doesn't handle defines at all.

STYLE: code cleanup of wmkdep.l
2010-03-09 16:16:17 +01:00
Mark Olesen
27ecc9177c ENH: only report the first occurance of missing file when making dependencies 2010-03-09 10:36:55 +01:00