Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI9esm
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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
Consortium Members
UKMO
GOSI
GOSI9esm
Commits
d0f8e9f2
Commit
d0f8e9f2
authored
3 years ago
by
sebastien masson
Browse files
Options
Downloads
Patches
Plain Diff
update mppini for XIOS: force to keep 1 land domain by band of MPI domains
parent
440ad905
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/OCE/LBC/mppini.F90
+10
-1
10 additions, 1 deletion
src/OCE/LBC/mppini.F90
with
10 additions
and
1 deletion
src/OCE/LBC/mppini.F90
+
10
−
1
View file @
d0f8e9f2
...
@@ -948,7 +948,7 @@ CONTAINS
...
@@ -948,7 +948,7 @@ CONTAINS
!
!
INTEGER
::
idiv
,
iimax
,
ijmax
,
iarea
INTEGER
::
idiv
,
iimax
,
ijmax
,
iarea
INTEGER
::
inbi
,
inbj
,
inx
,
iny
,
inry
,
isty
INTEGER
::
inbi
,
inbj
,
inx
,
iny
,
inry
,
isty
INTEGER
::
ji
,
jn
INTEGER
::
ji
,
jj
,
jn
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:,:)
::
inboce
! number oce oce pint in each mpi subdomain
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:,:)
::
inboce
! number oce oce pint in each mpi subdomain
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:
)
::
inboce_1d
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:
)
::
inboce_1d
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:,:)
::
iimppt
,
ijpi
INTEGER
,
ALLOCATABLE
,
DIMENSION
(:,:)
::
iimppt
,
ijpi
...
@@ -1038,6 +1038,15 @@ CONTAINS
...
@@ -1038,6 +1038,15 @@ CONTAINS
ldIsOce
(:,:)
=
inboce
(:,:)
/
=
0
ldIsOce
(:,:)
=
inboce
(:,:)
/
=
0
DEALLOCATE
(
inboce
,
inboce_1d
)
DEALLOCATE
(
inboce
,
inboce_1d
)
!
!
#if defined key_xios
! Only when using XIOS: XIOS does a domain decomposition only in bands (for IO performances).
! XIOS is crashing if one of these bands contains only land-domains which have been suppressed.
! -> solution (before a fix of xios): force to keep at least one land-domain by band of mpi domains
DO
jj
=
1
,
inbj
IF
(
COUNT
(
ldIsOce
(:,
jj
)
)
==
0
)
ldIsOce
(
1
,
jj
)
=
.TRUE.
! for to keep 1st MPI domain in the row of domains
END
DO
#endif
!
END
SUBROUTINE
mpp_is_ocean
END
SUBROUTINE
mpp_is_ocean
...
...
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