Commit graph

311 commits

Author SHA1 Message Date
Henrik Rusche
2881ea7064 Update case files 2016-06-21 15:04:21 +02:00
Henrik Rusche
07e9416f30 Bump version in headers 2016-06-21 15:04:12 +02:00
Henrik Rusche
a224c64812 Removing trailing whitespace, tabs and DOS CR & Fixing some indentation 2016-06-21 12:03:31 +02:00
Hrvoje Jasak
3df928d553 Compilation: Update for native MS Windows build. Cesare Guardino 2016-06-03 17:13:21 +01:00
Hrvoje Jasak
464a091687 Changed compilation options for Infiniband 2016-05-27 11:36:24 +01:00
Henrik Rusche
b377ba2d6c Bump version number in cshrc and CTest 2016-05-25 15:27:34 +02:00
Vanja Skuric
f49f21f6af Changed foam version from 3.2 to 4.0 2016-05-06 12:34:13 +02:00
Hrvoje Jasak
6b2b2d6a46 Bugfix: added 64-bit MSWindows build 2016-01-06 03:27:18 +00:00
Martin Beaudoin
5366bc60de Adding support for ARM7 group of processors. Tested on a Raspberry Pi 2. 2015-12-05 14:40:50 +00:00
Hrvoje Jasak
1f9b5f076e Bugfix: added 64-bit MSWindows build 2015-10-30 10:40:51 +00:00
Hrvoje Jasak
47953acf01 Bugfix:align cshrc options with bash 2015-10-30 10:40:51 +00:00
Hrvoje Jasak
143baaeb1a Bugfix: tidy up gcc=4.7.4 build options 2015-10-30 10:40:50 +00:00
Hrvoje Jasak
e41e58c8f6 Bugfix: Windows scotch compilation 2015-10-30 10:40:50 +00:00
Martin Beaudoin
a2f96bf6f4 testHarness: add FOAM_TEST_HARNESS_DIR environment variable 2015-09-23 15:18:27 +01:00
Martin Beaudoin
ad3bd3074a Introducing the FOAM_SITE_DIR environment variable.
So we can now start using directories like $FOAM_SITE_DIR/etc in scripts
for site customization.
2015-09-23 15:18:26 +01:00
Hrvoje Jasak
e465607ef5 Feature: Windows compilation: MPI path issue. Author: Hrvoje Jasak. Merge: Hrvoje Jasak. 2015-09-13 13:58:23 +01:00
Hrvoje Jasak
5f6a39a46e Build instructions update: Cesare Guardino 2015-09-11 16:15:28 +01:00
Hrvoje Jasak
1762fd2ca4 Adjust pexports and perl 2015-08-28 15:49:39 +01:00
Hrvoje Jasak
69a0f49d6c Windows port: rename arch to mingw 2015-08-28 15:49:38 +01:00
Hrvoje Jasak
287faf574d Fix scotch version cshrc 2015-08-18 16:05:55 +01:00
Hrvoje Jasak
8534381a5f Fixed default opt option in cshrc 2015-08-18 14:08:59 +01:00
Hrvoje Jasak
ec7f7f4df9 Porting updates 2015-08-17 20:39:58 +01:00
Martin Beaudoin
6cebda5e41 testHarness: adding the environment variable CDASH_SCM_INFO in order to override
the SCM information that gets appended at the end of the buildname string.

The buildname string is the string that will identify your test run when
published on the foam-extend CDash service.

When using git, this SCM information is picked up automatically from the CTest
script: -git-branch=the_git_branch_name-git-rev=the_git_revision_number.

But when using a non-git SCM (mercurial, etc), when the foam-extend source
code you are testing is not under a valid git repository, or simply when a user
needs to add more details to the standard SCM information (branch name and
revision number), then setting the environment variable CDASH_SCM_INFO to the
proper information will allow you to override the suffix we add at the end of
the buildname.

Please note that in order to keep the CMake script simple, for non-git
repositories, the fallback solution to try grabbing the information through
Mercurial has been removed. Please use the CDASH_SCM_INFO environment
varible instead.
2015-08-15 14:23:15 -04:00
Hrvoje Jasak
f5d0043a20 Update version number to 3.2 2015-08-11 17:22:40 +01:00
Henrik Rusche
8ac5840737 STYLE: Remove trailing whitespace systematically 2015-08-11 14:49:20 +01:00
Henrik Rusche
2ec135a6a7 FEATURE: Backport of Intel and SGI MPI support 2015-08-11 14:47:12 +01:00
Hrvoje Jasak
bf90f2f162 Windows porting changes 2015-08-10 10:21:20 +01:00
Hrvoje Jasak
d80f87e105 Remove dummy MPI library path 2015-08-10 10:21:03 +01:00
Hrvoje Jasak
aa522ab5cd Adjust Windows build env 2015-08-07 13:25:37 +01:00
Hrvoje Jasak
fb84e91897 Added Windows 8.1 2015-08-07 13:24:56 +01:00
Hrvoje Jasak
01ba7c3cd2 Enable compilation of ParaView from cshrc 2015-08-07 13:24:55 +01:00
Dominik Christ
65f9c433ee Fixed win compilation isses; added binary package script 2015-08-07 13:23:58 +01:00
Dominik Christ
7367164292 Compilation tweaks for mingw 2015-08-07 13:21:09 +01:00
Dominik Christ
f02e093239 Minor adjustments to windows build scripts 2015-08-07 13:02:58 +01:00
Dominik Christ
eaefc6583b Updated windows scripts 2015-08-07 13:02:58 +01:00
Dominik Christ
285e65073c Fixed win compilation isses; added binary package script 2015-08-07 13:02:58 +01:00
Dominik Christ
5e62f6e191 Changes for passing test-loop 2015-08-07 13:02:57 +01:00
Dominik Christ
5e05134c73 Additional changes to path names 2015-08-07 13:02:26 +01:00
Dominik Christ
0a6a65972d Compilation tweaks for mingw 2015-08-07 13:02:26 +01:00
Dominik Christ
83b9a7161f Reverted to OpenMPI 1.6.5 2015-08-06 12:32:26 +01:00
Hrvoje Jasak
2a0b888ff9 openmpi-1.8.8 2015-08-06 10:02:34 +01:00
Hrvoje Jasak
fbf26c0de3 OpenMPI-1.8.7: bug fixes 2015-08-06 10:02:33 +01:00
Dominik Christ
ef26ee1688 FEATURE: Re-enabled paraview compilation by default. Moved 3rd party sources to SourceForge. Dominik Christ. 2015-06-12 13:17:22 +01:00
Martin Beaudoin
a8a87dcade ThirdParty: fixing the compilation of scotch 6.0.4. Disabling the compilation of Zoltan by default 2015-06-12 09:55:54 +01:00
Henrik Rusche
a23acb0388 VERSION: version, headers, whitespace & tabs for 3.2. Author: Henrik Rusche. Merge: Henrik Rusche 2015-06-02 11:52:46 +02:00
Henrik Rusche
f83a771395 FEATURE: testHarness: improvements. Author: Martin Beaudoin. Merge: Henrik Rusche.
testHarness: adding the source code git revision number to the Build Name.

See here for an example:
http://openfoam-extend.sourceforge.net/CDash/index.php?project=foam-extend-3.1&date=2015-05-28
2015-06-02 10:57:25 +02:00
Henrik Rusche
46f509ad79 FEATURE: Simpler ThirdParty packages selection mechanism. Author: Martin Beaudoin. Merge: Henrik Rusche.
I am proposing an improved ThirdParty packages selection mechanism based on a set of package-specific, pre-defined environment variables.

Using those environment variables, one can control the selection of the full list of ThirdParty packages he/she want to compile/use by simply editing the etc/prefs.sh or etc/prefs.csh file.

Using this new approach, you will no longer have to edit the ThirdParty/AllMake.stageXXX files or the etc/settings.[sh,csh] to suit your needs; every supported package is selectable from a single environment variable specified in your prefs.[sh,csh] file, or in one of your script file.

Another benefit from this improvement will also come from supplying a set of predefined prefs.[sh,csh]-EXAMPLE files for both generic or specialized configurations and/or for specific Operating Systems. For example:

prefs.sh-EXAMPLE-Centos-7
prefs.sh-EXAMPLE-Ubuntu-14.02
prefs.sh-EXAMPLE-MacOSX_Yosemite_without_MacPorts
prefs.sh-EXAMPLE-RaspberryPi2

I also took the liberty of bumping many ThirdParty packages to the latest version available.
2015-06-01 18:03:56 +02:00
Martin Beaudoin
0631e66ab6 ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
Henrik Rusche
82a0e1e7df Replace tabs by 4 spaces in bin, tutorials, src, ... & clean-up by hand 2015-05-18 09:54:40 +02:00
Henrik Rusche
f5c5fe700b Upgrade case file headers 2015-05-18 09:54:33 +02:00
Martin Beaudoin
246eb0eda1 ThirdParty: setting ParaView 4.3.1 as the default version 2015-05-17 23:55:32 -04:00
Henrik Rusche
0a02a92e53 Upgrade copyright notices & banner in source code 2015-05-17 15:58:16 +02:00
Martin Beaudoin
ce2b0894c5 ThirdParty: bumping Scotch to version 6.0.4
bumping hwloc to version 1.10.1
            Adjusting libccmio for Mac OSX Yosemite
            Adjustments for cmake 3.2.2
            Adding spec file for openmpi version 1.8.4
2015-05-17 07:46:05 -04:00
Martin Beaudoin
e2b9bd5b80 ThirdParty: cmake 3.2.2 2015-05-16 23:19:40 -04:00
Martin Beaudoin
109bc7ae80 ThirdParty:: new compilation recipe for gcc 4.9.2 and 4.8.4 2015-05-16 20:39:14 -04:00
Martin Beaudoin
78d0ccc78d ThirdParty: initial commit of the packages selection mechanism using environment variables 2015-05-15 08:48:09 -04:00
Hrvoje Jasak
6661bc2412 Merge commit 'bd947865f2881af1c52b458aa6b6b1b1844ce254' into nextRelease
Conflicts:
	ListOfContributors
	applications/solvers/compressible/sonicDyMFoam/eEqn.H
	applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/Make/options
	src/coupledMatrix/coupledLduMatrix/coupledLduMatrix.C
	src/dynamicMesh/dynamicFvMesh/dynamicTopoFvMesh/coupledMesh/dynamicTopoFvMeshCoupled.C
	src/finiteVolume/fields/fvPatchFields/basic/basicSymmetry/basicSymmetryFvPatchScalarField.C
	src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C
	src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.H
	src/foam/fields/PointPatchFields/constraint/processor/ProcessorPointPatchField.C
	src/foam/interpolations/GGIInterpolation/GGIInterpolationQuickRejectTests.C
	src/foam/matrices/blockLduMatrix/BlockAmg/coarseBlockAmgLevel.C
	src/foam/meshes/polyMesh/globalMeshData/globalMeshData.H
	src/lduSolvers/amg/coarseAmgLevel.C
	src/mesh/cfMesh/meshLibrary/utilities/octrees/meshOctree/refinementControls/objectRefinement/objectRefinement.C
2015-05-13 18:27:51 +01:00
Bernhard F.W. Gschaider
48eabff312 Now etc/tcshrc also works if sourced from .tcshrc. But an environment variable has to be set to make it work correctly as in this case diff does not work correctly 2015-05-12 16:28:29 +01:00
Bernhard F.W. Gschaider
edc6952f57 Make sure that the aliases that source the tcshrc still work 2015-05-12 16:28:29 +01:00
Bernhard Gschaider
76d193a557 For some reason quotes are needed on Linux 2015-05-12 16:28:29 +01:00
Bernhard F.W. Gschaider
170d1bb369 Catch the exception in Python2 or Python 3 2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
93ca2b71ee Make the script more stable (exception catching etc) 2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
c05eac90c8 Now there is also a script for tcsh
--HG--
rename : etc/zshrc => etc/tcshrc
2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
e4d16f78eb Added fish-shell to demonstrate that this approach allows completely different shells
--HG--
rename : etc/zshrc => etc/fishrc
2015-05-12 16:28:28 +01:00
Bernhard F.W. Gschaider
53b7c23edc Make sure that the real bash is used 2015-05-12 16:28:27 +01:00
Bernhard F.W. Gschaider
7c3f127120 First proof-of-concept of a 'one script for all' 2015-05-12 16:28:27 +01:00
Hrvoje Jasak
7f32cf4357 Added LDP option 2015-05-12 15:01:28 +01:00
Hrvoje Jasak
6b022758d1 Feature: Single precision and long double precision port 2015-05-12 15:01:27 +01:00
Martin Beaudoin
473f85c949 controlSwitches: - We are now completely free from the global controlDict file.
This file is no longer necessary.
                 - If necessary, one can still use a global controlDict file
                   using the environment variable FOAM_GLOBAL_CONTROLDICT
                 - Case specific global control switches values can now be
                   supplied in the case's system/controlDict file.
                 - Renaming $WM_PROJECT_DIR/etc/controlDict to
                   $WM_PROJECT_DIR/etc/controlDict-EXAMPLE
                 - Some code cleanup.
2015-05-05 08:57:06 -04:00
Martin Beaudoin
4706995f5f controlSwitches: updating after code merge. Minor correction for DimensionedConstants sigmaSB. Adapting foamDebugSwitches 2015-05-02 09:57:47 -04:00
Bernhard F.W. Gschaider
7cd32a2da3 Support pyFoam version 0.6.4 2015-04-27 10:56:23 +01:00
Bernhard F.W. Gschaider
f450b35fd4 Add a separate directory for scripts and libraries not part of the PyFoam-distribution. This will only work with Pyfoam 0.6.4 or later 2015-04-27 10:56:23 +01:00
Hrvoje Jasak
1255b6a886 Script clean-up: FOAM 2015-04-23 13:51:07 +01:00
Hrvoje Jasak
ba56c65739 Versions update 2015-04-07 16:59:45 +01:00
Martin Beaudoin
e64704203c Merge branch 'nextRelease' into nr/feature/changeGlobalControlDictParamsFromCmdLine 2014-12-24 11:59:55 -05:00
Dominik Christ
d71951fb59 Commented out ulimit in etc/bashrc 2014-06-17 11:35:58 +02:00
Hrvoje Jasak
8b9c3d4764 ulimit on Mac OS X - temporary fix 2014-06-14 22:05:26 +01:00
Hrvoje Jasak
9bdca86e5e Disable ulimit from Mac 2014-06-13 15:35:38 +01:00
Hrvoje Jasak
1c2432f41a Update bashrc file for native Mac OSX build 2014-06-12 10:04:18 +01:00
Henrik Rusche
3c5ba8da44 bump version number 2014-06-01 18:23:43 +02:00
Martin Beaudoin
d3b269b7c6 ThirdParty apckages: Various adjustments.
- Add spec file for bison-2.7. Switch to this version
   - Modify patch file for ParMGridGen-1.0 so we no longer need to bother with gmake
   - Updated Ubuntu 14.04 build instructions
   - Added missing ThirdParty packages configuration for settings.csh
   - Replaced occurences of string 'OpenFOAM' for 'foam-extend' in various files
2014-05-31 20:26:57 -07:00
Bernhard F.W. Gschaider
d1d0f4d233 Upgrade PyFoam to the release candidate of 0.6.3
--HG--
rename : ThirdParty/rpmBuild/SPECS/PyFoam-0.6.2.spec => ThirdParty/rpmBuild/SPECS/PyFoam-0.6.3.spec
2014-05-30 00:05:40 +02:00
Bernhard F.W. Gschaider
1cb3e1f77a Allow specification of different mpirun to be used by the RunFunctions - Used on Mac but may be beneficial for other systems too 2014-05-29 18:09:23 +02:00
Bernhard F.W. Gschaider
d868141816 Use latest released PyFoam-version 0.6.2
--HG--
rename : ThirdParty/rpmBuild/SPECS/PyFoam-0.6.1.spec => ThirdParty/rpmBuild/SPECS/PyFoam-0.6.2.spec
2014-05-29 16:58:02 +02:00
Bernhard F.W. Gschaider
c8d4a68123 Adding proper Fortran-compilers for MacPorts-installations. This makes sure Mesquite gets compiled 2014-05-29 16:02:17 +02:00
Martin Beaudoin
705a5bc7c9 Merge remote-tracking branch 'origin/nextRelease' into nr/feature/changeGlobalControlDictParamsFromCmdLine 2014-05-28 01:21:37 -04:00
Martin Beaudoin
6f1102cb5d Add options for modifying the global controlDict values/switches from the command-line
The following command-line options are available:
 -DebugSwitches        key=value
 -DimensionedConstants key=value
 -InfoSwitches         key=value
 -OptimisationSwitches key=value
 -Tolerances           key=value

In order to modify more than one key/value pair for a given category, you will
need to specify a given option more than once.

If an invalid/unknown key is specified, a complete list of valid keys for the
application will be written at the console.

Martin Beaudoin 05/2014
2014-05-28 01:11:17 -04:00
Bernhard F.W. Gschaider
dfd971ed20 Merge in next release 2014-05-15 16:51:41 +02:00
Hrvoje Jasak
f9e0818602 Merge remote-tracking branch 'remotes/origin/feature/mvapich2' into nextRelease
Conflicts:
	etc/bashrc
	etc/cshrc
2014-04-30 10:35:07 +01:00
Alexander Monakov
b360468492 Add csh bits for MVAPICH2 build support 2014-03-06 16:04:18 +01:00
Alexander Monakov
6a6c4903f3 Support building Pstream against MVAPICH2 2014-03-06 16:04:18 +01:00
Dominik Christ
adc2bbb081 Updated documentation in comments to include 'SYSTEMOPENMPI' again 2014-02-25 09:36:02 +01:00
Bernhard F.W. Gschaider
198c096905 Fixing the scripts to correctly compile with MPI 2014-02-21 21:19:07 +01:00
Bernhard F.W. Gschaider
e299d0feab Adapt for the new location of the MPI-implementations in MacPort
--HG--
rename : wmake/rules/darwinIntel64Gcc/ARCHITECTURE_TESTED => wmake/rules/darwinIntel64Dragonegg/ARCHITECTURE_TESTED
rename : wmake/rules/darwinIntel64Gcc/X => wmake/rules/darwinIntel64Dragonegg/X
rename : wmake/rules/darwinIntel64Gcc/c => wmake/rules/darwinIntel64Dragonegg/c
rename : wmake/rules/darwinIntel64Gcc/c++ => wmake/rules/darwinIntel64Dragonegg/c++
rename : wmake/rules/darwinIntel64Gcc/c++Debug => wmake/rules/darwinIntel64Dragonegg/c++Debug
rename : wmake/rules/darwinIntel64Gcc/c++Opt => wmake/rules/darwinIntel64Dragonegg/c++Opt
rename : wmake/rules/darwinIntel64Gcc/c++Prof => wmake/rules/darwinIntel64Dragonegg/c++Prof
rename : wmake/rules/darwinIntel64Gcc/cDebug => wmake/rules/darwinIntel64Dragonegg/cDebug
rename : wmake/rules/darwinIntel64Gcc/cOpt => wmake/rules/darwinIntel64Dragonegg/cOpt
rename : wmake/rules/darwinIntel64Gcc/cProf => wmake/rules/darwinIntel64Dragonegg/cProf
rename : wmake/rules/darwinIntel64Gcc/general => wmake/rules/darwinIntel64Dragonegg/general
rename : wmake/rules/darwinIntel64Gcc/mplib => wmake/rules/darwinIntel64Dragonegg/mplib
rename : wmake/rules/darwinIntel64Gcc/mplibMACPORTOPENMPI => wmake/rules/darwinIntel64Dragonegg/mplibMACPORTOPENMPI
rename : wmake/rules/darwinIntel64Gcc/mplibOPENMPI => wmake/rules/darwinIntel64Dragonegg/mplibOPENMPI
rename : wmake/rules/darwinIntel64Gcc/mplibSYSTEMOPENMPI => wmake/rules/darwinIntel64Dragonegg/mplibSYSTEMOPENMPI
2014-02-20 19:23:16 +01:00
Dominik Christ
b3bc82bb44 Merge remote-tracking branch 'origin/BUGFIX/adjustedMakeScripts' 2014-02-17 16:34:24 +00:00
Dominik Christ
e50d7c4dcc Added #!/bin/bash ; serial compile for swak4Foam 2014-02-17 15:19:04 +00:00
Martin Beaudoin
453aa36bc3 ThirdParty: bumping Qt to version 4.8.5 2014-02-15 22:52:19 -05:00
Bernhard F.W. Gschaider
e452f1429c Forgotten line for MacPort-MPI
--HG--
branch : bgschaid/foam3FixesBranch
2013-12-23 11:18:25 +01:00
Hrvoje Jasak
aac5de5e16 Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
Dominik Christ
3c95ab6a8a Upgrade to Paraview 4.0.1; contributed by Andreas Feymark 2013-12-11 09:25:19 +00:00