[0] PetscDeviceContextSetupGlobalContext_Private(): Initializing global PetscDeviceContext with device type host [DEBUG OUTPUT] n: 139 [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 56 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 56 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 56 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 60 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 60 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 61 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 61 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 62 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 62 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 63 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 63 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 64 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 64 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 60 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 60 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 60 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 61 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 61 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 61 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 62 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 62 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 62 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 63 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 63 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 63 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 64 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 64 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 64 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [DEBUG OUTPUT] n: 207 [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 65 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 65 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 65 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 65 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [DEBUG OUTPUT] n: 462 [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 66 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 66 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 66 (memory set): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 66 (memory set): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 66 (memory set): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 66 (memory copy (src)): new mode (PETSC_MEMORY_ACCESS_READ) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 66 (memory copy (src)): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 66 (memory copy (src)): we were also the last write event (intent PETSC_MEMORY_ACCESS_READ), updating [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 67 (memory copy (dest)): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 67 (memory copy (dest)): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 67 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 67 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 66 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 53 (global root) - obj 66 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] PetscDeviceContextWaitForContext(): dctx 68 waiting on dctx 53 [0] PetscDeviceContextWaitForContext(): dctx 69 waiting on dctx 53 [0] PetscDeviceContextForkWithStreamType(): Forked 2 children from parent 53 with IDs: 68, 69 [0] MarkFromID_IncompatibleModes(): dctx 68 (unnamed) - obj 70 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 68 (unnamed) - obj 70 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 68 (unnamed) - obj 70 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 68 (unnamed) - obj 70 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 68 (unnamed) - obj 70 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 69 (unnamed) - obj 71 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 69 (unnamed) - obj 71 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 69 (unnamed) - obj 71 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 69 (unnamed) - obj 71 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 69 (unnamed) - obj 71 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 68 (unnamed) - obj 72 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 68 (unnamed) - obj 72 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 69 (unnamed) - obj 72 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 69 (unnamed) - obj 72 (memory deallocation): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 69 (unnamed) - obj 72 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 68 (unnamed) - obj 73 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 68 (unnamed) - obj 73 (memory allocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 69 (unnamed) - obj 73 (memory set): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with old mode (PETSC_MEMORY_ACCESS_WRITE), serializing then clearing (1) dependency [0] MarkFromID_IncompatibleModes_UpdateLastWrite(): dctx 69 (unnamed) - obj 73 (memory set): we matched the previous write dependency's (intent PETSC_MEMORY_ACCESS_WRITE) device type (host), swapping last dependency with last write [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 69 (unnamed) - obj 73 (memory set): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] MarkFromID_IncompatibleModes(): dctx 69 (unnamed) - obj 73 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with default mode (PETSC_MEMORY_ACCESS_READ), serializing then clearing (0) dependencies [0] PetscDeviceContextMarkIntentFromID_Private(): dctx 69 (unnamed) - obj 73 (memory deallocation): dependency list is empty, creating new leaf with intent PETSC_MEMORY_ACCESS_WRITE [0] PetscDeviceContextWaitForContext(): dctx 53 waiting on dctx 68 [0] PetscDeviceContextWaitForContext(): dctx 53 waiting on dctx 69 [0] PetscDeviceContextJoin(): Joined 2 ctxs to ctx 53, mode destroy with IDs: 68, 69 EXIT_SUCCESS [0] operator()(): Destroying global PetscDeviceContext with device type host