-
- Downloads
Merge branch 'parameter_file_in_snapshot' into 'master'
Parameter file in snapshot Sorry @pdraper.... one more for you... This is an implementation of #140. The parameter file key-value pairs are written to the snapshots. Changes are: - Write the parameters to the snapshot. - Reduce the size of the parameter file structure by changing the maximal amount of lines it can contain. - Added an error message for when this limit is reached. - Change the type `lock_type` to `swift_lock_type` in `lock.h` This last change is because `lock_type` is used in some MPI function prototype and our "#define" interferes with some of the includes if you are not careful about ordering. That solves the problem by naming the lock type in a unique way. Apologies for the rather large changelog that this generates for 5 actual lines of useful code... See merge request !173
Showing
- examples/main.c 0 additions, 4 deletionsexamples/main.c
- src/cell.h 1 addition, 1 deletionsrc/cell.h
- src/common_io.c 9 additions, 8 deletionssrc/common_io.c
- src/common_io.h 7 additions, 8 deletionssrc/common_io.h
- src/engine.c 14 additions, 13 deletionssrc/engine.c
- src/engine.h 4 additions, 1 deletionsrc/engine.h
- src/hydro/Default/hydro_io.h 0 additions, 9 deletionssrc/hydro/Default/hydro_io.h
- src/hydro/Gadget2/hydro_io.h 0 additions, 10 deletionssrc/hydro/Gadget2/hydro_io.h
- src/hydro/Minimal/hydro_io.h 0 additions, 8 deletionssrc/hydro/Minimal/hydro_io.h
- src/lock.h 3 additions, 3 deletionssrc/lock.h
- src/parallel_io.c 12 additions, 5 deletionssrc/parallel_io.c
- src/parser.c 38 additions, 7 deletionssrc/parser.c
- src/parser.h 11 additions, 2 deletionssrc/parser.h
- src/queue.c 1 addition, 1 deletionsrc/queue.c
- src/queue.h 1 addition, 1 deletionsrc/queue.h
- src/scheduler.h 1 addition, 1 deletionsrc/scheduler.h
- src/serial_io.c 12 additions, 5 deletionssrc/serial_io.c
- src/single_io.c 7 additions, 0 deletionssrc/single_io.c
- src/space.h 1 addition, 1 deletionsrc/space.h
- src/task.h 1 addition, 1 deletionsrc/task.h
Loading
Please register or sign in to comment