Commit Graph

16 Commits

Author SHA1 Message Date
Martin Diehl 58c905d318 strlen returns 'size_t'
this is unsinged and on 64bit Linux (LP64) 64bit
2023-02-08 08:37:10 +01:00
Martin Diehl 3f85027b9e better use SIGINT for actions triggered by the user
SIGTERM is send by MPI if one process fails, catching it results in
deadlocks
2022-05-13 11:58:03 +02:00
Martin Diehl 954a336d92 Fortran side does not support tags (i.e. 'type hints') 2022-04-16 16:24:29 +02:00
Martin Diehl c806885cb5 include libfyaml headers from non-standard locations
the CMake manual promises more than it holds.
Also adding some diagnostics+fixes for zlib, we still assume that it
exists (true on most systems, HDF5 also requires it normally)
see also https://stackoverflow.com/questions/21593
2022-04-13 07:58:31 +02:00
Martin Diehl 723252ef15 libfyaml backend
currently it simply converts the whole file content to flow mode.
The nice thing is: It can convert EVERYTHING to flow mode. libfyaml is
the only library that passes the whole YAML test suite
2022-04-12 23:24:07 +02:00
Martin Diehl 2b91bad53e https://stackoverflow.com/questions/14950378 2021-01-10 10:17:16 +01:00
Martin Diehl 5a28a5b4db correct handling of C strings
cleaning and improving the C code for system routines and the interface
to Fortran
Reporting PETSc version
2020-11-14 14:36:10 +01:00
Philip Eisenlohr c982658b11 [skip ci] Avoid "error: type name is not allowed" 2020-09-27 22:42:40 +02:00
Martin Diehl 9ce406ed11 wrapper for zlib library
assume that zlib is available for linking. This is usually the case
(zlib is a stable standard library), but there is currently no check
that gives a nice error message or the possibility to use zlib from a
non-standard location
2020-09-06 17:49:00 +02:00
Martin Diehl c55e6edbf3 removed duplicate 2020-07-25 09:59:22 +02:00
Martin Diehl fe22b84d5c maximum path length is 4096 2020-01-26 12:19:36 +01:00
Martin Diehl 293f869fe5 improved signal handling
- possibility to catch SIGTERM
- functions to set SIG(TERM/USR1/USR2) explicitly
2019-03-24 11:59:00 +01:00
Arko Jyoti Bhattacharjee 1a471bcd8a signal handling implemented
allows to trigger action in running simulation, i.e. writing restart or results
2019-02-11 18:46:14 +01:00
Martin Diehl 87a16b775e function to change working directory 2018-05-27 14:08:23 +02:00
Martin Diehl d86074829c Merge branch 'development' into cmake 2017-02-03 19:28:23 +01:00
Martin Diehl 0810295fe9 Merge branch 'development' into cmake
Conflicts:
	code/Makefile
2016-05-21 14:56:57 +02:00