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
RODIER Quentin
Méso-NH code
Commits
24ed1ab3
Commit
24ed1ab3
authored
1 year ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Plain Diff
Merge branch 'MNH-55X-dev-OPENACC' into MNH-55X-dev-OPENACC-FFT
parents
ce39d7dc
a3efb6a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/LIB/SURCOUCHE/src/mode_io_file.f90
+1
-0
1 addition, 0 deletions
src/LIB/SURCOUCHE/src/mode_io_file.f90
src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
+5
-0
5 additions, 0 deletions
src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
src/MNH/condensation.f90
+5
-5
5 additions, 5 deletions
src/MNH/condensation.f90
with
11 additions
and
5 deletions
src/LIB/SURCOUCHE/src/mode_io_file.f90
+
1
−
0
View file @
24ed1ab3
...
@@ -590,6 +590,7 @@ SELECT CASE(TPFILE%CTYPE)
...
@@ -590,6 +590,7 @@ SELECT CASE(TPFILE%CTYPE)
#ifdef MNH_IOCDF4
#ifdef MNH_IOCDF4
!Remark: IO_Coordvar_write_nc4 disabled (for the moment) for Z-split files
!Remark: IO_Coordvar_write_nc4 disabled (for the moment) for Z-split files
! because it introduce a serialization due to MPI communications inside the call
! because it introduce a serialization due to MPI communications inside the call
! WARNING: if uncommented, please modify IO_Coordvar_write_nc4 to enable block concerning gdealloc
! !Write coordinates variables in netCDF file
! !Write coordinates variables in netCDF file
! IF (TZFILE_IOZ%CMODE == 'WRITE' .AND. (TZFILE_IOZ%CFORMAT=='NETCDF4' .OR. TZFILE_IOZ%CFORMAT=='LFICDF4')) THEN
! IF (TZFILE_IOZ%CMODE == 'WRITE' .AND. (TZFILE_IOZ%CFORMAT=='NETCDF4' .OR. TZFILE_IOZ%CFORMAT=='LFICDF4')) THEN
! CALL IO_Coordvar_write_nc4(TZFILE_IOZ,HPROGRAM_ORIG=HPROGRAM_ORIG)
! CALL IO_Coordvar_write_nc4(TZFILE_IOZ,HPROGRAM_ORIG=HPROGRAM_ORIG)
...
...
This diff is collapsed.
Click to expand it.
src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
+
5
−
0
View file @
24ed1ab3
...
@@ -1596,6 +1596,8 @@ call Write_hor_coord1d( tzdim_ni_v, 'x-dimension of the grid at v location', &
...
@@ -1596,6 +1596,8 @@ call Write_hor_coord1d( tzdim_ni_v, 'x-dimension of the grid at v location', &
call
Write_hor_coord1d
(
tzdim_nj_v
,
'y-dimension of the grid at v location'
,
&
call
Write_hor_coord1d
(
tzdim_nj_v
,
'y-dimension of the grid at v location'
,
&
trim
(
ystdnameprefix
)//
'_y_coordinate_at_v_location'
,
'Y'
,
-0.5
,
jphext
,
0
,
zyhat_glob
)
trim
(
ystdnameprefix
)//
'_y_coordinate_at_v_location'
,
'Y'
,
-0.5
,
jphext
,
0
,
zyhat_glob
)
!Warning: the following block has to be reenabled if IO_Coordvar_write_nc4 is again called for Z-split files
#if 0
!The z?hat*_glob were allocated in Gather_hor_coord1d calls
!The z?hat*_glob were allocated in Gather_hor_coord1d calls
!Deallocate only if it is a non Z-split file or the last Z-split subfile
!Deallocate only if it is a non Z-split file or the last Z-split subfile
gdealloc
=
.false.
gdealloc
=
.false.
...
@@ -1604,6 +1606,9 @@ if ( Associated( tpfile%tmainfile ) ) then
...
@@ -1604,6 +1606,9 @@ if ( Associated( tpfile%tmainfile ) ) then
else
if
(
tpfile
%
nsubfiles_ioz
==
0
.and.
.not.
Associated
(
tpfile
%
tmainfile
)
)
then
else
if
(
tpfile
%
nsubfiles_ioz
==
0
.and.
.not.
Associated
(
tpfile
%
tmainfile
)
)
then
gdealloc
=
.true.
gdealloc
=
.true.
end
if
end
if
#else
gdealloc
=
.true.
#endif
if
(
.not.
lcartesian
)
then
if
(
.not.
lcartesian
)
then
!Compute latitude/longitude for the Arakawa points
!Compute latitude/longitude for the Arakawa points
...
...
This diff is collapsed.
Click to expand it.
src/MNH/condensation.f90
+
5
−
5
View file @
24ed1ab3
...
@@ -259,6 +259,11 @@ REAL, DIMENSION(-22:11),PARAMETER :: ZSRC_1D =(/ &
...
@@ -259,6 +259,11 @@ REAL, DIMENSION(-22:11),PARAMETER :: ZSRC_1D =(/ &
!
!
!-------------------------------------------------------------------------------
!-------------------------------------------------------------------------------
!
!
YLAMBDA3
=
HLAMBDA3
IF
(
YLAMBDA3
/
=
'CB'
.AND.
YLAMBDA3
/
=
'NONE'
)
&
call
Print_msg
(
NVERB_FATAL
,
'GEN'
,
'CONDENSATION'
,
'invalid value for YLAMBDA3: '
//
TRIM
(
YLAMBDA3
)
)
GPRESENT_PLV
=
PRESENT
(
PLV
)
GPRESENT_PLV
=
PRESENT
(
PLV
)
GPRESENT_PLS
=
PRESENT
(
PLS
)
GPRESENT_PLS
=
PRESENT
(
PLS
)
GPRESENT_PCPH
=
PRESENT
(
PCPH
)
GPRESENT_PCPH
=
PRESENT
(
PCPH
)
...
@@ -286,11 +291,6 @@ IF (MPPDB_INITIALIZED) THEN
...
@@ -286,11 +291,6 @@ IF (MPPDB_INITIALIZED) THEN
CALL
MPPDB_CHECK3D
(
PRI
,
"CONDENSATION beg:PRI"
,
PRECISION
)
CALL
MPPDB_CHECK3D
(
PRI
,
"CONDENSATION beg:PRI"
,
PRECISION
)
END
IF
END
IF
YLAMBDA3
=
HLAMBDA3
IF
(
YLAMBDA3
/
=
'CB'
.AND.
YLAMBDA3
/
=
'NONE'
)
&
call
Print_msg
(
NVERB_FATAL
,
'GEN'
,
'CONDENSATION'
,
'invalid value for YLAMBDA3: '
//
TRIM
(
YLAMBDA3
)
)
#ifndef MNH_OPENACC
#ifndef MNH_OPENACC
allocate
(
ztlk
(
kiu
,
kju
,
kku
)
)
allocate
(
ztlk
(
kiu
,
kju
,
kku
)
)
allocate
(
zrt
(
kiu
,
kju
,
kku
)
)
allocate
(
zrt
(
kiu
,
kju
,
kku
)
)
...
...
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