skasamatsu / py_mc

Python code for Metropolis Monte Carlo
GNU General Public License v3.0
2 stars 0 forks source link

Avoid mpi_comm_spawn? #1

Open skasamatsu opened 6 years ago

skasamatsu commented 6 years ago

To turn DFT code into subroutine, is it enough to PROGRAM -> SUBROUTINE Use MPI_Initialized and MPI_Finalized to avoid calling MPI_INIT and MPI_FINALIZE from the subroutine Remove STOP statements that correspond to error-less termination of the program