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
Show more breadcrumbs
IPSL
LMD
DPAO
Detection eddies
Commits
ac2b171e
Commit
ac2b171e
authored
1 year ago
by
Lionel GUEZ
Browse files
Options
Downloads
Patches
Plain Diff
Read `main_nml` before `n_slices`
Because we are going to introduce the choice of a slice in the namelist.
parent
246be5cb
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
Overlap/eddy_graph.f90
+6
-5
6 additions, 5 deletions
Overlap/eddy_graph.f90
with
6 additions
and
5 deletions
Overlap/eddy_graph.f90
+
6
−
5
View file @
ac2b171e
...
@@ -47,6 +47,12 @@ program eddy_graph
...
@@ -47,6 +47,12 @@ program eddy_graph
call
config_graph
(
rank
)
call
config_graph
(
rank
)
if
(
rank
==
0
)
then
if
(
rank
==
0
)
then
! main_nml:
write
(
unit
=
*
,
nml
=
main_nml
)
print
*
,
"Enter namelist main_nml."
read
(
unit
=
*
,
nml
=
main_nml
)
write
(
unit
=
*
,
nml
=
main_nml
)
! n_slices:
! n_slices:
call
new_unit
(
unit
)
call
new_unit
(
unit
)
...
@@ -62,11 +68,6 @@ program eddy_graph
...
@@ -62,11 +68,6 @@ program eddy_graph
n_slices
=
1
n_slices
=
1
end
if
end
if
! main_nml:
write
(
unit
=
*
,
nml
=
main_nml
)
print
*
,
"Enter namelist main_nml."
read
(
unit
=
*
,
nml
=
main_nml
)
write
(
unit
=
*
,
nml
=
main_nml
)
call
assert
(
n_dates
==
huge
(
0
)
.or.
n_slices
==
1
,
"If we have several "
&
call
assert
(
n_dates
==
huge
(
0
)
.or.
n_slices
==
1
,
"If we have several "
&
//
"slices then we read all the dates from them"
)
//
"slices then we read all the dates from them"
)
end
if
end
if
...
...
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