9b848b64e0
ENH: provide a vfork/exec version of system (issue #185 )
...
The normal library system() command uses 'fork', which causes
problems on IB+OPENMPI.
STYLE: add Foam:: qualifier to system calls to make them easier to spot.
2016-07-18 13:37:39 +02:00
3772e2ea44
ENH: OSspecific - softlink handling ( fixes #164 )
...
Links are followed in most cases, with some notable exceptions:
- mv, mvBak:
renames the link, not the underlying file/directory
- rmDir:
remove the symlink to a directory, does not recurse into the
underlying directory
2014-04-23 15:00:00 +02:00
c7b27f5af9
ENH: provide basic cpu-information
...
- can be useful later when trying to interpret run-times etc.
Contains only the most basic information.
2016-06-15 12:38:46 +02:00
e2d01c02e3
GIT: remove stray (unused) memInfoIO.C file
2016-06-15 11:29:11 +02:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
7ba41e0095
Removed duplicate, inconsistent and spurious comments in .C files
2016-02-29 18:33:54 +00:00
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
350d03246e
scripts: Reformat with consistent section separators
2016-02-15 18:30:24 +00:00
5728c1f173
Info -> InfoInFunction
2016-01-19 21:58:11 +00:00
a55d5a9b55
OSspecific/POSIX: Dynamically resize the path buffer in cwd
...
Starting from an initial buffer size of 256 it is incremented in steps
of 256 upto the maximum of 4096 as required.
Based on patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1944
2015-12-13 18:33:01 +00:00
edec4d139d
STYLE: sigFpe: use of FatalErrorInFunction
2015-12-11 15:14:45 +00:00
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
633e2b1255
Minor updates to aid porting to FreeBSD
...
Based on patches provided by Jason Bacon
2015-12-02 18:18:06 +00:00
99bdd2c1d7
ENH: signals: refactored to make static methods
...
The signal handling can now be set and unset. This latter is important
for external libraries (e.g. VTK/OpenGL) that do not work with it.
2015-11-27 12:14:14 +00:00
c4d5f65a10
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
00279d617a
sigFpe: Replace the deprecated __malloc_hook with a special malloc
...
This malloc overrides the one provided by GLIBC and calls mallocNan
which initializes the allocated block of memory to NaN if enabled by the
FOAM_SETNAN environment variable.
2015-07-19 12:39:44 +01:00
94401af010
Resolved issues with virtual function inheritance and warning from clang
...
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
5892c58b04
printStack: rewritten to utilize dladdr for resolution of the stack addresses
...
Patch provided by Alexey Matveichev
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1676
2015-05-19 08:41:59 +01:00
7dbf92450e
printStack, ptscotchDecomp: Correct integer type used to hold memory addresses
2015-05-14 18:48:35 +01:00
8628ef2fea
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
66cb99e696
Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
...
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
f6421f108d
POSIX.C findEtcFiles: Revert change to read system/controlDict
...
Causes problems if the controlDict contains # entries
2015-02-03 11:59:43 +00:00
173004a87a
Updated header
2015-02-01 12:38:12 +00:00
4022238dec
POSIX/debug: Add ./system on the list of etc directories
...
in particular to pick-up the DebugSwitches from system/controlDict at
global construction time.
Disadvantage is that system/controlDict is only picked-up if the
OpenFOAM application is executed IN the case directory. The directory
provided by the -case option is not yet known as the arguments have not
yet been parsed.
2015-02-01 12:34:19 +00:00
33b1bf4c87
regExp: Add support for case-insensitive patterns
...
From https://github.com/OpenFOAM/OpenFOAM-2.2.x/pull/1
2015-01-28 16:35:36 +00:00
c93f87cc7f
Added support for glibc < 2.18
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1474
2015-01-04 20:13:37 +00:00
ded2f25726
Updated headers
2014-12-31 19:08:15 +00:00
325b003b6e
Added and verified support for 64bit labels
...
To compile with 64bit labels set
WM_LABEL_SIZE=64
in ~/OpenFOAM/dev/prefs.sh
source ~/.bashrc
then Allwmake in OpenFOAM-dev.
This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt
If WM_LABEL_SIZE is unset or set to 32:
WM_LABEL_SIZE=32
the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt
Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
844b283030
New version of wmake supporting out-of-tree object and dependency files
2014-12-14 21:42:18 +00:00
ed99c9d05d
ENH: sigFpe: use std::signalling_nan
2013-10-31 12:57:01 +00:00
33e8d6f456
STYLE: fileMonitor: initialise variable
2013-10-14 11:56:49 +01:00
a501d0ff3c
ENH: sigFpe: split off Nan handling
2013-09-18 16:59:44 +01:00
c2e3902e7a
ENH: printStack: offsets are size_t
2013-07-10 12:36:23 +01:00
15c433b337
ENH: wmake: 'wmake dep' to build dependencies and softlinks
2013-06-04 16:50:33 +01:00
81021c37bf
STYLE: sigFpe: indentation
2013-03-26 09:28:39 +00:00
53df4289df
ENH: Consistency updates - license text abnd code formatting
2013-03-12 15:40:03 +00:00
4f4ed087d8
ENH: debug: added more to run-time reading
2012-12-19 12:56:01 +00:00
100a25ee25
STYLE: defineDebug: move into Foam namespace
2012-12-17 17:35:42 +00:00
674a15a11f
ENH: regExp:improved error message
2012-10-25 17:28:09 +01:00
cf93009c5c
ENH: error: added printStack using std:: io
2012-10-03 14:06:23 +01:00
deed6d371d
STYLE: fileMonitor: space added
2012-09-24 10:48:41 +01:00
5d4480e706
Added support for gcc-4.7.0
2012-04-29 22:01:57 +01:00
5682987dc7
Updated headers
2012-04-17 16:49:03 +01:00
cd51a5eea3
Consistency: Changed exponent FORTRAN style 'E' to C style 'e'
2012-04-17 16:48:27 +01:00
bd7e216566
ENH: POSIX:ln: do not check relative sources for existence
2011-11-18 11:25:14 +00:00
1cc1ddcacf
ENH: dlOpen: check error message string
2011-10-24 21:31:38 +01:00
6ef1fc7865
ENH: sigStopAt: added checking for same signals
2011-10-17 18:27:09 +01:00
328f44b375
ENH: OSspecific: make userName,domainName,hostName strings
2011-10-07 16:02:59 +01:00
99c860d2e2
ENH: Time: secondary write controls, signal handling
2011-10-05 17:31:12 +01:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00