Commit Graph

32 Commits

Author SHA1 Message Date
Martin Diehl 4320e9847d
more systematic handling of colored output
isatty for Fortran needs to translate the units/file descriptors
2023-12-11 06:58:37 +01:00
Martin Diehl 65c0a2d5ca more logical split 2023-12-09 15:19:27 +01:00
Martin Diehl 456b3fb76d functionality to check whether STDERR/STDOUT are redirected 2023-12-09 15:17:52 +01:00
Martin Diehl febbddd36a starting to test system_routines 2023-11-25 16:12:37 +01:00
Martin Diehl ca1c22874b consistent and short 2023-06-04 13:51:05 +02:00
Martin Diehl 87e74ef792 docstring polishing 2023-02-25 10:07:38 +01:00
Martin Diehl 3e439503fe enable strings > 2Gb 2023-02-10 22:37:11 +01:00
Martin Diehl aaae8a701b Fortran style adjustments 2022-12-07 17:29:03 +00:00
Martin Diehl b8c3d75700 [skip sc] enforce interfaces (quick fix: declare as external) 2022-06-21 22:59:01 +02:00
Martin Diehl 78838c2f75 consistent variants including space 2022-06-08 23:27:09 +02:00
Martin Diehl d858d753e3 implicit none does not propagate
each subroutine/function is independent and not part of a scope
2022-05-27 22:38:47 +02: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 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 0cf0112029 simplified 2022-02-06 15:59:46 +01:00
Martin Diehl 1762245b69 merge not needed 2021-04-13 19:26:35 +02: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
Martin Diehl e6f1b17149 Gfortran 8 failed with
At line 115 of file DAMASK/src/system_routines.f90
Fortran runtime error: Unequal character lengths (93/52) in MERGE intrinsic

not sure whether this is a false alarm or not ...
2020-08-09 08:53:10 +02:00
Martin Diehl 28bc1fae50 don't repeat code 2020-08-09 06:17:14 +02:00
Martin Diehl 0f2c0cf4b2 indentation fix 2020-07-24 22:44:41 +02:00
Martin Diehl 130cf7fe2e spelling mistakes in documentation 2020-06-26 11:44:17 +02:00
Martin Diehl fe22b84d5c maximum path length is 4096 2020-01-26 12:19:36 +01:00
Martin Diehl 6b6ad52355 use variable string as return (no need for trim) 2020-01-04 18:53:55 +01:00
Martin Diehl b3f429165d use cascaded use statements 2019-05-11 12:10:23 +02:00
Martin Diehl 90440b50b7 prec provides IEEE module 2019-05-11 11:19:06 +02:00
Martin Diehl 72110d509c one implicit none is enough 2019-05-09 08:30:03 +02: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 dc596e6789 zero termination does not work 2018-08-22 18:09:17 +02:00
Martin Diehl 60f56255e4 [skip sc] [skip ci] simplified interfacing 2018-08-20 23:14:49 +02: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