Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Méso-NH
Méso-NH code
Commits
ca071273
Commit
ca071273
authored
2 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 19/08/2022: bugfix: IO_File_check_format_exist: broadcast cformat if changed
parent
bbc7f3bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/LIB/SURCOUCHE/src/mode_io_file.f90
+7
-1
7 additions, 1 deletion
src/LIB/SURCOUCHE/src/mode_io_file.f90
with
7 additions
and
1 deletion
src/LIB/SURCOUCHE/src/mode_io_file.f90
+
7
−
1
View file @
ca071273
!MNH_LIC Copyright 1994-202
1
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC Copyright 1994-202
2
CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
...
...
@@ -38,6 +38,7 @@
! P. Wautelet 12/03/2019: simplify opening of IO split files
! P. Wautelet 05/09/2019: disable IO_Coordvar_write_nc4 for Z-split files
! P. Wautelet 01/10/2020: bugfix: add missing initializations for IRESP
! P. Wautelet 19/08/2022: bugfix: IO_File_check_format_exist: broadcast cformat if changed
!-----------------------------------------------------------------
module
mode_io_file
...
...
@@ -666,9 +667,11 @@ end subroutine IO_Transfer_list_addto
subroutine
IO_File_check_format_exist
(
tpfile
)
use
modd_mpif
type
(
tfiledata
),
intent
(
inout
)
::
tpfile
! File structure
integer
::
ierr
logical
::
gexist_lfi
,
gexist_nc4
...
...
@@ -720,6 +723,9 @@ IF (TPFILE%LMASTER) THEN
end
if
MODE
END
IF
if
(
tpfile
%
cmode
==
'READ'
)
&
call
MPI_BCAST
(
tpfile
%
cformat
,
Len
(
tpfile
%
cformat
),
MPI_CHARACTER
,
tpfile
%
nmaster_rank
-
1
,
tpfile
%
nmpicomm
,
ierr
)
end
subroutine
IO_File_check_format_exist
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment