Skip to content
Snippets Groups Projects
Commit 94045429 authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 24/05/2018: IO: bug correction: open OUTPUTLISTING file only for...

Philippe 24/05/2018: IO: bug correction: open OUTPUTLISTING file only for processes that need to write to it
parent 4f6bd1c2
No related branches found
No related tags found
No related merge requests found
......@@ -377,9 +377,15 @@ CONTAINS
TPFILE%LMULTIMASTERS = .TRUE.
ELSE
IF (TPFILE%CTYPE=='OUTPUTLISTING') THEN
TPFILE%NMASTER_RANK = -1
TPFILE%LMASTER = .TRUE. !Every process may write in the file
TPFILE%LMULTIMASTERS = .TRUE.
IF (LVERB_ALLPRC) THEN
TPFILE%NMASTER_RANK = -1
TPFILE%LMASTER = .TRUE. !Every process may write in the file
TPFILE%LMULTIMASTERS = .TRUE.
ELSE
TPFILE%NMASTER_RANK = ISIOP
TPFILE%LMASTER = (ISP == ISIOP)
TPFILE%LMULTIMASTERS = .FALSE.
END IF
ELSE
TPFILE%NMASTER_RANK = ISIOP
TPFILE%LMASTER = (ISP == ISIOP)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment