Commit Graph

83 Commits

Author SHA1 Message Date
mattijs
d912694880 ENH: etc/ : removed FOAM_LIB environment var. alias 'lib' now goes to FOAM_LIBBIN 2011-01-31 12:06:57 +00: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
d521850bd4 STYLE: remove hoard (no longer built in ThirdParty) 2011-01-10 11:13:32 +01: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
Henry
0a6c711664 Tutorials: removed all references to metis to protect the innocent from persecution. 2011-01-07 12:01:08 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +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
5e12506f8e ENH: improve separation of OpenFOAM and ThirdParty mpi-libraries
- drop FOAM_MPI_LIBBIN variable in favour of FOAM_MPI from which
  two different locations can be determined.

  Previously there was something like this:

      FOAM_MPI_LIBBIN = $FOAM_LIBBIN/openmpi-1.5.1

  We now instead determine the locations from the FOAM_MPI directly:

      FOAM_MPI=openmpi-1.5.1

          $FOAM_LIBBIN/$FOAM_MPI     -> OpenFOAM  mpi-related
          $FOAM_EXT_LIBBIN/$FOAM_MPI -> ThirdPary mpi-related

ENH: relocate ParaView libraries and plugins back under FOAM_LIBBIN

- as discussed with Mattijs
2011-01-05 07:53:54 +01:00
Mark Olesen
171d7a35e5 ENH: relocate 3rd party libraries -> FOAM_EXT_LIBBIN
- place under $WM_THIRD_PARTY_DIR/lib/$WM_OPTIONS
- relocate FOAM_MPI_LIBBIN accordingly
2010-12-30 13:52:34 +01:00
Mark Olesen
18dbe9996a ENH: reorganize settings to avoid inheriting bad values
- avoid non-standard 'tempfile' in bin/tools/foamConfigurePaths
2010-12-23 07:37:32 +01:00
Mark Olesen
8bffec8fbb ENH: relocate binaries from applications/bin/linux* -> bin/linux*
- consistent and shorter naming throughout

- simplifies syncing compiled versions.
  For a runtime environment, only need these directories:
      bin/
      etc/
      lib/
2010-12-23 06:59:15 +01:00
Mark Olesen
312d15c701 STYLE: use 'foamCompiler' instead of 'compilerInstall'
- more obvious in its meaning
2010-12-23 06:28:49 +01:00
Mark Olesen
bf915ce841 ENH: use clang-svn, clang-2.8 is not good enough 2010-12-22 08:31:21 +01:00
Mark Olesen
57f8210eb0 ENH: use openmpi-1.5.1 for testing 2010-12-21 10:31:51 +01:00
Henry
834aee9965 GeometricTensorField: added transpose function to support a tmp argument.
Use new "T" function to avoid duplicate registration of grad(U) object.
2010-12-12 21:39:15 +00:00
Mark Olesen
6260055989 ENH: add in C++0x support for linux64Gcc - for testing purposes 2010-11-17 11:15:23 +01:00
Mark Olesen
758c7fec4f Revert "ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake"
This reverts commit d7d88b7d89.

- ThirdParty Allwmake now handles SYSTEMOPENMPI directly without this
  kludge
2010-11-17 09:17:25 +01:00
mattijs
d7d88b7d89 ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake 2010-11-12 14:32:31 +00:00
Mark Olesen
820ae84da0 STYLE: do not need intermediate variables when calling _foamSource
- sh/ksh/bash only, doesn't seem possible for csh
2010-10-14 16:31:03 +02:00
Mark Olesen
d967687f14 ENH: add settings/rules for clang-2.8 2010-10-12 10:57:08 +02:00
mattijs
24734787b8 BUG: etc/settings.*sh : make SYSTEMOPENMPI work with multiple paths 2010-07-06 11:46:00 +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
af12964ba1 ENH: add gcc-4.5.0, drop gcc-4.4.2, avoid gcc lib/ on 64-bit systems 2010-04-16 14:00:41 +02: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
f3ab304d79 ENH: simplify compiler settings, provision for boost/CGAL 2010-03-25 10:37:44 +01:00
mattijs
a3d4eb5664 BUG: Resolved (my own) conflict. 2010-03-22 17:10:42 +00:00
mattijs
658b7700e1 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	etc/settings.csh
	etc/settings.sh
	src/parallel/decompose/Allwmake
2010-03-22 15:44:34 +00:00
mattijs
536087b59f ENH: Have dummy directory on LD_LIBRARY_PATH 2010-03-22 15:36:50 +00:00
Mark Olesen
d978c79e70 STYLE: drop unneeded MPI_HOME for openmpi (uses OPAL_PREFIX)
COMP: drop gcc-4.2 settings
2010-03-19 19:29:19 +01:00
Mark Olesen
db34c43ab0 STYLE: use 'setenv PATH' instead of 'set path=' for c-shell scripts
- the path is accesible either way, but use setenv for consistency with
  other environment variables. It also simplifies foamCleanPath again.
2010-03-19 16:49:41 +01:00
Mark Olesen
cfcea13450 BUG: missed cleanup of env variables in etc/settings 2010-03-19 11:40:05 +01:00
Mark Olesen
3e0c66e919 BUG: cshell version was not sourcing prefs.csh
BUG: compilerInstall was getting overwritten in settings.{csh,sh}
2010-03-18 13:19:14 +01:00
Mark Olesen
abdee93da4 COMP: move 3rd-party mpi from $WM_OPTIONS -> $WM_ARCH$WM_COMPILER
Rationale:
  Treat 3rd-party mpi libraries like any other 3rd-party library. They
  are normally available without debugging and don't know anything
  about the OpenFOAM DP/SP (double/single precision) concept.
2010-03-10 14:53:04 +01:00
Mark Olesen
03b30396cb ENH: relocate third-party binaries
old: $WM_THIRD_PARTY_DIR/<packageName>/platforms/$WM_ARCH*
new: $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH*/<packageName>

This streamlines the creation of binary packs, eases distribution and
helps when testing the robustness of relocatable installations.
2010-03-09 10:15:10 +01:00
Mark Olesen
77f0192dac BUG: _foamAddMan was being left a remnant in the environment after sourced settings files 2010-03-09 09:16:47 +01:00
mattijs
5ef1bac786 ENH: Have new WM_MPLIB message passing library : SYSTEMOPENMPI
It uses mpicc to find out where the installed libraries are.
2010-03-01 15:23:00 +00:00
graham
fa511d3321 ENH: gmp version changed to 5.0.1. 2010-02-08 19:28:52 +00:00
Mark Olesen
b4e99e369b Update versions: gcc-4.4.3, mpfr-2.4.2, gmp-5.0.0 and openmpi-1.4.1 2010-01-27 14:00:25 +01:00
Mark Olesen
fb2bd52972 Use openmpi-1.4, which was released 2009-12-08 (minor security fix).
According to the openmpi release information:
- Use GNU Libtool 2.2.6b to build Open MPI, which updates the
  embedded "libltdl" library to fix a potential security
  vulnerability. There are no other changes compared to Open MPI
  v1.3.4.

For development purposes it should thus be adequate to simply

    ( cd $WM_THIRD_PARTY_DIR && mv openmpi-1.3.4 openmpi-1.4 )

if you don't wish to recompile things.
2009-12-15 16:43:33 +01:00
Mark Olesen
10798d696f upgrade to openmpi-1.3.4 2009-12-02 09:29:25 +01:00
henry
fbc7c5bccf Set gcc-4.4.2 as the default gcc compiler version. 2009-11-16 14:20:10 +00:00
mattijs
ebfe8de6f4 ../etc/settings.csh 2009-10-07 15:08:34 +01:00
Mark Olesen
efce737693 Add provisioning for gcc-4.4.1
- compile into linux64Gcc44, linuxGcc44 to avoid clashes during testing
- continue to use gmp-4.2.4 since gmp-4.3.x might be miscompiled with
  a system gcc-4.3.2
2009-07-29 09:59:16 +02:00
Mark Olesen
229c07e5fc added shared site configuration for bin/lib files
- useful location for sharing in-house solvers, libraries, etc
  for use at the entire site

- similar naming convention as ~OpenFOAM expansion:

  FOAM_SITE_APPBIN=
  $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION/bin/$WM_OPTIONS

  FOAM_SITE_LIBBIN=
  $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION/lib/$WM_OPTIONS
2009-07-23 10:13:50 +02:00
henry
a98c4e845b Changed OpenMPI version. 2009-07-15 13:20:25 +01:00
Mark Olesen
999ed8812c removed last remnants of LAM support 2009-07-15 12:26:12 +02:00
Mark Olesen
433b209702 update to openmpi-1.3.2, prepare for newly released gcc-4.4
- added rules for gcc-4.3 in preparation for switching to gcc-4.4

- added 'clean' target for wmake/src/Makefile
  It is probably reasonable to separate the binaries from the rules (TODO)
2009-04-30 08:32:48 +02:00