Commit 65ff79f
committed
Add MPI routine to tell workers when a new iteration starts
This commit adds a new routine to Main_MPI that allows the main task to
communicate to workers that a new inversion iteration is starting. It currently
is not called anywhere in ModEM.
The workers keep track themselves of the iteration number. This routine is
intended to provide a space where the main task and all workers can coordinate
specific tasks. Specifically, this will allow us the ability to call
ModEM_memory_get_all to record all total memory usage across all tasks.1 parent 225e798 commit 65ff79f
1 file changed
Lines changed: 41 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
1458 | 1492 | | |
1459 | 1493 | | |
1460 | 1494 | | |
| |||
1827 | 1861 | | |
1828 | 1862 | | |
1829 | 1863 | | |
1830 | | - | |
| 1864 | + | |
1831 | 1865 | | |
1832 | 1866 | | |
1833 | 1867 | | |
| |||
1854 | 1888 | | |
1855 | 1889 | | |
1856 | 1890 | | |
| 1891 | + | |
1857 | 1892 | | |
1858 | 1893 | | |
1859 | 1894 | | |
| |||
2565 | 2600 | | |
2566 | 2601 | | |
2567 | 2602 | | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
2568 | 2608 | | |
2569 | 2609 | | |
2570 | 2610 | | |
| |||
0 commit comments