Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Conversation

@simonbyrne
Copy link
Member

Description

Fixes #1044, supercedes #1073 and #1099.

I have

  • Written and run all necessary tests with CLIMA by including tests/runtests.jl
  • Followed all necessary style guidelines and run julia .dev/climaformat.jl .
  • Updated the documentation to reflect changes from this PR.

For review by CLIMA developers

  • There are no open pull requests for this already
  • CLIMA developers with relevant expertise have been assigned to review this submission
  • The code conforms to the style guidelines and has consistent naming conventions. julia .dev/format.jl has been run in a separate commit.
  • This code does what it is technically intended to do (all numerics make sense physically and/or computationally)

@simonbyrne
Copy link
Member Author

Once this is merged, we should look into getting rid of Manifests.

@simonbyrne
Copy link
Member Author

Windows!

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 15, 2020
@bors
Copy link
Contributor

bors bot commented May 15, 2020

try

Build failed:

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request May 16, 2020
@bors
Copy link
Contributor

bors bot commented May 16, 2020

try

Build failed:

@simonbyrne simonbyrne closed this May 17, 2020
@simonbyrne simonbyrne reopened this May 17, 2020
@simonbyrne simonbyrne force-pushed the sb/cuarrays branch 6 times, most recently from f4651fd to 80abc34 Compare May 17, 2020 19:48
@simonbyrne simonbyrne changed the title update CuArrays to 2.2 Update Julia to 1.4, remove Manifests, update CuArrays to 2.2 May 28, 2020
@simonbyrne simonbyrne force-pushed the sb/cuarrays branch 2 times, most recently from d629287 to 4af5139 Compare June 2, 2020 03:37
@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 2, 2020
1103: Update Julia to 1.4, remove Manifests, update CuArrays to 2.2 r=simonbyrne a=simonbyrne

# Description

Fixes #1044, supercedes  #1073 and  #1099.




Co-authored-by: Simon Byrne <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 2, 2020

Build failed:

@jkozdon
Copy link

jkozdon commented Jun 2, 2020

Should the title of the PR be updated?

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 2, 2020
1103: Update Julia to 1.4, remove Manifests, update CuArrays to 2.2 r=simonbyrne a=simonbyrne

# Description

Fixes #1044, supercedes  #1073 and  #1099.




Co-authored-by: Simon Byrne <[email protected]>
@simonbyrne simonbyrne changed the title Update Julia to 1.4, remove Manifests, update CuArrays to 2.2 update CuArrays to 2.2 Jun 2, 2020
@bors
Copy link
Contributor

bors bot commented Jun 2, 2020

Build failed:

@simonbyrne
Copy link
Member Author

Looks like the heat eqn result values changed.

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 3, 2020
1103: update CuArrays to 2.2 r=simonbyrne a=simonbyrne

# Description

Fixes #1044, supercedes  #1073 and  #1099.




Co-authored-by: Simon Byrne <[email protected]>
@simonbyrne
Copy link
Member Author

bors r-

@bors
Copy link
Contributor

bors bot commented Jun 3, 2020

Canceled.

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 3, 2020
1103: update CuArrays to 2.2 r=simonbyrne a=simonbyrne

# Description

Fixes #1044, supercedes  #1073 and  #1099.




1123: Fix pre-compilation test, run unit tests with built system image  r=jakebolewski a=jakebolewski

Drop test macro, just execute script. move into a sep build stage

I have

- [ ] Written and run all necessary tests with CLIMA by including `tests/runtests.jl`
- [ ] Followed all necessary [style guidelines](https://CliMA.github.io/CLIMA/latest/CodingConventions.html) and run `julia .dev/climaformat.jl .`
- [ ] Updated the documentation to reflect changes from this PR.



1172: Separate cli arg parsing from initialization r=jakebolewski a=jakebolewski

# Description

Separates out cli argument processing from `ClimateMachine.init()` by defining a new method `ClimateMachine.cli()` that parses arguments and initializes ClimateMachine runtime.  `ClimateMachine.init()` is preserved to allow for programmatic initialization when command line parsing is not needed (tests / notebooks / scripts).  `ClimateMachine.cli` and `ClimateMachine.init` now take keyword arguments to allow for easy overloading for `ClimateMachine.Settings` at configuration / runtime.  The experiment files have been updated to use `cli`, the tutorials I kept the same. 

Consistent overloading fallback behaviour is also defined: 

1. cli arguments (if applicable)
2.  keyword argument overloads
3. `CLIMATEMACHINE_SETTINGS_<VALUE_NAME>` process environment definitions
4. `ClimateMachine.Settings` default values. 

This allows for easy overloading of settings in batch scripts / container environments without having to define configuration files or change the driver file source code.  We were currently doing this in kind of an add-hoc fashion.

Closes #1167 



1187: remove MPI installation from Documenter and Coverage r=simonbyrne a=simonbyrne

# Description

This is no longer necessary.



1192: Add comments to temperature profiles tests r=charleskawczynski a=charleskawczynski

# Description

 - Adds some comments explaining temperature profiles tests

Co-authored with: @tapios 



Co-authored-by: Simon Byrne <[email protected]>
Co-authored-by: jakebolewski <[email protected]>
Co-authored-by: Charles Kawczynski <[email protected]>
@simonbyrne
Copy link
Member Author

the CUDA artifact downloader is generating 16MB log files which breaks our Slurm CI...

@simonbyrne
Copy link
Member Author

bors r-

@bors
Copy link
Contributor

bors bot commented Jun 4, 2020

Canceled.

@simonbyrne
Copy link
Member Author

bors try

bors bot added a commit that referenced this pull request Jun 4, 2020
@bors
Copy link
Contributor

bors bot commented Jun 4, 2020

try

Build succeeded:

@simonbyrne
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Jun 4, 2020
1103: update CuArrays to 2.2 r=simonbyrne a=simonbyrne

# Description

Fixes #1044, supercedes  #1073 and  #1099.




Co-authored-by: Simon Byrne <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 4, 2020

Build failed:

@simonbyrne
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 8, 2020

Build succeeded:

@bors bors bot merged commit 6376d07 into master Jun 8, 2020
@bors bors bot deleted the sb/cuarrays branch June 8, 2020 09:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LazyArrays doesn't work with CuArrays 2.1.0

3 participants