svenreiche / Genesis-1.3-Version4

Time-dependent, 3D Code to simulate the amplification process of a Free-electron Laser.
GNU General Public License v3.0
55 stars 27 forks source link

add MPI_Barrier for proper synchronization #97

Closed ZeugAusHH closed 1 year ago

ZeugAusHH commented 1 year ago

Otherwise in some cases, semaphore file can be generated too early while some MPI nodes are still processing a command block.

In addition, removed deprecated code block at the end of main that was replaced by new functions some time ago.