Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorganize Users Guide part 1 and 2 content #2407

Merged
merged 10 commits into from
Apr 6, 2018
Merged

Conversation

rljacob
Copy link
Member

@rljacob rljacob commented Mar 28, 2018

Reorganize Users Guide part 1 and 2 content

Split up the CIME-Internals in to several sections and pull in material from Porting and other sections. Also move some material from part 2 to part 1.
Combine the "Use Cases" and "Customizing a Case" material in to a new "Modifying a Case" section in part 1. Move pe-layout example to part 2.

Test suite: built docs locally.
BFB

Address ESCME/cime#2390

User interface changes?: N
Update gh-pages html (Y/N)?: Y

rljacob added 9 commits March 27, 2018 22:58
Add machines and pes-threads sections and move content to them.
remove adding-cases section and move its content, which was
only about adding grids, to the new grids section.
Remove case-basics and move content to the compsets
section and create-a-case section.  Had previously
moved grid info to the grid section.
Add new timers section and fill it with content
from the old optimizing layouts section.  Main
content about load balancing moved to pe-threads section.
Set table of content depth back to 2 for users guide.
Move details aboug  machine, batch, compiler xml files from porting
to the machine section.
Move cime config dir info from part 2 to part 1
@rljacob
Copy link
Member Author

rljacob commented Mar 28, 2018

Still working on this but wanted to put it up for people to see. Just check out this branch and build the docs on it.

Split up the "Customizing a case" material in to several files
and combine it with "Use cases" material.  Move it all to part 1 and
call it "Modifying a Case".  Move the pelayout material to part 2 in
the pes and threads section.  Move the mpi example to the Porting section in part 2.
@rljacob rljacob changed the title DO NOT MERGE Reorganize Users Guide part 1 and 2 content Reorganize Users Guide part 1 and 2 content Apr 1, 2018
@rljacob
Copy link
Member Author

rljacob commented Apr 1, 2018

@mvertens this is ready for review.

@rljacob
Copy link
Member Author

rljacob commented Apr 6, 2018

@mvertens approved it so I'll merge it.

@rljacob rljacob merged commit 67088a3 into master Apr 6, 2018
@rljacob rljacob deleted the rljacob/docs/reorg-ug branch April 21, 2018 16:46
@rljacob
Copy link
Member Author

rljacob commented Jun 1, 2018

@mvertens and @bertinia the "Modifying a Case" section that I added in this PR is no longer around. Was that intentional?

@mvertens
Copy link
Contributor

mvertens commented Jun 1, 2018 via email

@mvertens
Copy link
Contributor

mvertens commented Jun 1, 2018 via email

@rljacob
Copy link
Member Author

rljacob commented Jun 1, 2018

I see it. Its now called "Customizing your input variables" and the .rst files were moved out of the subdirectory they were in. I'll take a closer look tomorrow.

@rljacob
Copy link
Member Author

rljacob commented Jun 1, 2018

I'm trying to redo those changes I lost a few weeks ago. I have a local html build saved but not the .rst files.

@rljacob
Copy link
Member Author

rljacob commented Jun 8, 2018

I'd like to move the multi-year and branch-hybrid run examples from the quick start to "Customizing your input variables". They're just more examples of customizing and shouldn't be in the quick start material.

@mvertens
Copy link
Contributor

mvertens commented Jun 8, 2018 via email

@jedwards4b
Copy link
Contributor

jedwards4b commented Jun 8, 2018 via email

@mvertens
Copy link
Contributor

mvertens commented Jun 8, 2018 via email

@jedwards4b
Copy link
Contributor

You should continue to make changes that you want to appear on maint-5.6 on the maint-5.6 branch. We will continue to periodically merge that branch into master until it is no longer appropriate to do so.

@mvertens
Copy link
Contributor

mvertens commented Jun 8, 2018 via email

@rljacob
Copy link
Member Author

rljacob commented Jun 8, 2018

Yes I was planning to put them on the maint-5.6 branch.

@jedwards4b
Copy link
Contributor

Yes, I think so.

jgfouca pushed a commit that referenced this pull request Aug 8, 2018
a) Use shr_reprosum_calc in seq_diag_avect_mct

When BFBFLAG is set to true and when INFO_DBUG > 1, the
routine seq_diag_avect_mct uses a reproducible sum algorithm
that is not as accurate as the algorithm implemented in
shr_reprosum_calc. In particular, when summing a vector of INFs,
the current algorithm returns zero. Here we replace the
existing algorithm with a call to shr_reprosum_calc.

This change is BFB for standard usage (INFO_DBUG == 1).
It is not BFB with respect to the associated diagnostic,
written to cpl.log, when INFO_DBUG > 1. However, these diagnostics are
not used in the simulation, and simulation results will BFB.

b) Add option to allow INF or NaN summands in shr_reprosum_calc

shr_reprosum_calc aborts if input summands include INF or NaN values.
For debugging purposes, it can be useful to allow INF or NaN values,
returning the IEEE standard results for such a situation (either NaN,
positive INF, or negative INF, depending on the situation). An optional
logical parameter, allow_infnan, is being added to the shr_reprosum_calc.
When set to .true. the routine determines whether summands for an existing
field contain NaN or INF values and returns the appropriate value without
going through the reproducible sum algorithm (which is very slow and
requires signficant memory when summing these special values). Other fields
in a multiple field call to shr_reprosum_calc will be computed in the usual
fashion. When allow_infnan == .false. or when the parameter is omitted, then
the routine aborts with an informative error message when the input
contain INF or NaN values, as is done currently.

The default can be changed (from allow_infnan=.false. to allow_infnan=.true.)
via a new optional parameter, repro_sum_allow_infnan_in, in shr_reprosum_setopts.
A new drv_in namelist parameter, reprosum_allow_infnan, has also been added
that will be passed to shr_reprosum_setopts to set the default. This can
be set in user_nl_cpl.

Since the default is not being changed, this change is BFB. If allow_infnan
is set to .true., then runs that failed because of INFs or NaNs would
now continue to run (longer), but jobs that did not fail with the original
default will be BFB even with the default changed.

[BFB]

* worleyph/cime/repro_in_cpldiag:
  Minor cleanup
  Add option to allow INF or NaN summands in shr_reprosum_calc
  use shr_reprosum_calc in seq_diag_avect_mct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants