Commit beb78b1
committed
Use proper tempfiles in {de,}serialize
Serialization was broken/errored due to always using the same fixed file
name for the temporary pickle files. This is a problem in setups where
multiple instances of XCSF run in parallel (e.g. on Slurm clusters).1 parent d8353dc commit beb78b1
1 file changed
Lines changed: 19 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
653 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
654 | 661 | | |
655 | 662 | | |
656 | 663 | | |
| |||
673 | 680 | | |
674 | 681 | | |
675 | 682 | | |
676 | | - | |
677 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
678 | 693 | | |
679 | 694 | | |
680 | 695 | | |
| |||
0 commit comments