Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Detection eddies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
ec01d35a
Commit
ec01d35a
authored
3 years ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Move writing of `node_id_param.json`
Just sparing one test on rank.
parent
c0f6b78f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Overlap/eddy_graph.f90
+4
-7
4 additions, 7 deletions
Overlap/eddy_graph.f90
with
4 additions
and
7 deletions
Overlap/eddy_graph.f90
+
4
−
7
View file @
ec01d35a
...
@@ -112,6 +112,10 @@ program eddy_graph
...
@@ -112,6 +112,10 @@ program eddy_graph
"eddy_graph: n_proc should be <= n_dates / (max_delta + 1)"
)
"eddy_graph: n_proc should be <= n_dates / (max_delta + 1)"
)
e_overestim
=
maxval
([(
hshp
(
i
)
%
ishape_last
(
hshp
(
i
)
%
d0
)
+
1
,
&
e_overestim
=
maxval
([(
hshp
(
i
)
%
ishape_last
(
hshp
(
i
)
%
d0
)
+
1
,
&
ediff1d
(
hshp
(
i
)
%
ishape_last
),
i
=
1
,
n_shpc
)])
ediff1d
(
hshp
(
i
)
%
ishape_last
),
i
=
1
,
n_shpc
)])
open
(
unit
,
file
=
"node_id_param.json"
,
status
=
"replace"
,
&
action
=
"write"
)
write
(
unit
,
fmt
=
*
)
'{"e_overestim": '
,
e_overestim
,
'}'
close
(
unit
)
corner
=
corner_deg
*
deg_to_rad
corner
=
corner_deg
*
deg_to_rad
step
=
step_deg
*
deg_to_rad
step
=
step_deg
*
deg_to_rad
end
if
end
if
...
@@ -127,13 +131,6 @@ program eddy_graph
...
@@ -127,13 +131,6 @@ program eddy_graph
call
ezmpi_bcast
(
n_dates
,
root
=
0
)
call
ezmpi_bcast
(
n_dates
,
root
=
0
)
call
ezmpi_bcast
(
e_overestim
,
root
=
0
)
call
ezmpi_bcast
(
e_overestim
,
root
=
0
)
if
(
rank
==
0
)
then
open
(
unit
,
file
=
"node_id_param.json"
,
status
=
"replace"
,
&
action
=
"write"
)
write
(
unit
,
fmt
=
*
)
'{"e_overestim": '
,
e_overestim
,
'}'
close
(
unit
)
end
if
! Open output files:
! Open output files:
call
new_unit
(
unit_isolated
)
call
new_unit
(
unit_isolated
)
...
...
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