Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0dc3c0c
NOAA GSL UPP updates (#413)
EricJames-NOAA Dec 9, 2021
a812f98
Doxygen for CALDWP.f
kayeekayee Dec 21, 2021
2d58e3a
Further refinement.
kayeekayee Dec 23, 2021
7e9b6eb
Merge pull request #423 from kayeekayee/doxygen_CALDWP
kayeekayee Dec 23, 2021
9e1a10f
Doxygen CALDRG.f (#424)
kayeekayee Dec 27, 2021
f46b609
Sync changes from UPP for GFSV16 (#422)
WenMeng-NOAA Dec 28, 2021
98f7acd
Disable recursive checkout on gtg code (#427)
WenMeng-NOAA Jan 5, 2022
8013830
add option to build with GTG code or stubs (#430)
aerorahul Jan 10, 2022
89357d0
Add options in build script (#435)
WenMeng-NOAA Jan 13, 2022
117d513
Clean up legacy read interfaces (#437)
WenMeng-NOAA Jan 19, 2022
3cf3a37
Port UPP develop branch on wcoss2 (#439)
WenMeng-NOAA Feb 2, 2022
4a16052
Exception handling if anl input not found (#443) (#444)
lgannoaa Feb 10, 2022
45e8fdc
Update regional FV3 read interface with parallel netcdf read (#441)
WenMeng-NOAA Feb 11, 2022
583f76b
Update documentation to reflect updates to develop (fortran namelist/…
hertneky Feb 11, 2022
30fcea8
exec is selectable for executable directory (#448)
chan-hoo Feb 23, 2022
7a5ae3c
Doxygen for CALGUST (#451)
kayeekayee Mar 7, 2022
0185bb9
The fix in CALUPDHEL.f (#458)
WenMeng-NOAA Mar 18, 2022
f22a590
Bug fix for SLLEVEL bound issue when not RUC LSM (#463)
hertneky Mar 28, 2022
cc2741b
Doxygen caldrg caldwcp calgust refinement (#464)
kayeekayee Mar 28, 2022
1ac2cd7
This is part of Issue #392 (#460)
kayeekayee Mar 29, 2022
5bdb289
Unify global and regional FV3 read interfaces (#453)
WenMeng-NOAA Mar 30, 2022
af62bd2
Add ability to compile script to use non-intel compilers; add Cheyenn…
mkavulich Mar 31, 2022
6ffdd3d
This is part of Issue #392 (#465)
kayeekayee Apr 1, 2022
2841513
This is part of Issue #392 (#466)
kayeekayee Apr 1, 2022
394917e
Doxygen in CALRAD_WCLOUD_newcrtm.f CALRCH.f CALSTRM.f CALTAU.f CALTHT…
kayeekayee Apr 4, 2022
40fbb3f
Doxygen in CALVOR.f, CALWXT_BOURG.f, CLDRAD.f, COLLECT.f, COLLECT_LOC…
kayeekayee Apr 4, 2022
3c4a56e
Doxygen in EXCH.f, FDLVL.f, FILL_PSETFLD.f, FRZLVL.f, and FRZLVL2.f. …
kayeekayee Apr 6, 2022
0bb7295
Doxygen in GFSPOSTSIG.F NGMFLD.f OTLFT.f OTLIFT.f PARA_RANGE.f PROCES…
kayeekayee Apr 6, 2022
dc8bc68
Doxygen in GET_BITS.f, GPVS.f, LFMFLD.f, LFMFLD_GFS.f, MDL2P.f, MDL2S…
kayeekayee Apr 7, 2022
8bbfd6b
Doxygen in kinds_mod.F, native_endianness.f, UPP_MATH.f and UPP_PHYSI…
kayeekayee Apr 18, 2022
95f8383
Bug fix in UPP build script on Catcus (#481)
WenMeng-NOAA Apr 18, 2022
793ba3e
Doxygen in SCLFLD.f SELECT_CHANNELS.f SET_OUTFLDS.f SETUP_SERVERS.f S…
kayeekayee Apr 18, 2022
b495345
Update readme (#486)
fossell Apr 26, 2022
80cc1dc
Doxygen in GFSPOST.F (#476)
kayeekayee Apr 26, 2022
79b1dd4
Doxygen in INITPOST.F, INITPOST_GFS_NEMS_MPIIO, INITPOST_NEMS.f and I…
kayeekayee Apr 26, 2022
5f60e60
This is part of Issue #392. (#487)
kayeekayee Apr 27, 2022
44edaf7
fix a bug in AOD calculation (#489)
lipan-NOAA May 4, 2022
7e48380
increment version of develop (#502)
fossell May 13, 2022
2a91354
Add camshe to codeowners for public docs and run script (#506)
fossell May 17, 2022
fbd41a5
Update gfs itag files for in-line post. (#508)
WenMeng-NOAA May 18, 2022
6a146bc
Merge release/public-v3 (#509)
fossell May 23, 2022
9ede326
Documentation changes (#511)
hertneky May 24, 2022
6b4a79c
2D Decomposition (#339)
WenMeng-NOAA Jun 8, 2022
2a017d3
Fix for absv computation in RRFS (#516)
WenMeng-NOAA Jun 14, 2022
3e18b77
read in dx/dy instead of calculating them (#523)
LinZhu-NOAA Jun 16, 2022
4878981
Upgrade intel/impi version to 2022.1.2 on Hera and Orion (#527)
WenMeng-NOAA Jun 28, 2022
8767929
add spack-based ci. (#528)
aerorahul Jun 29, 2022
474e8b4
First attempt to add RRFS_dev development on top of latest EMC develo…
EricJames-NOAA Jul 21, 2022
8fd8aad
Geting rid of unnecesary changes in MISCLN.f
EricJames-NOAA Jul 22, 2022
f4e55bc
Making reading in of wet1 consistent with new netcdf parallel read.
EricJames-NOAA Jul 22, 2022
170505c
Updating fix files.
EricJames-NOAA Jul 25, 2022
6f6e9a2
Merge branch 'RRFS_dev' into jul2022_sync
EricJames-NOAA Jul 28, 2022
7e573e2
Bringing in the latest EMC develop branch.
EricJames-NOAA Jul 29, 2022
a08e255
Cosmetic changes to be consistent with EMC's develop branch
EricJames-NOAA Jul 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @WenMeng-NOAA


# DTC support for public releases and documentation
docs/* @hertneky @fossell
scripts/run_upp @hertneky @fossell
# Support for public releases and documentation
docs/* @hertneky @fossell @camshe
scripts/run_upp @hertneky @fossell @camshe

66 changes: 0 additions & 66 deletions .github/workflows/build_and_test.yml

This file was deleted.

96 changes: 96 additions & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: GCC Linux Build
on: [push, pull_request, workflow_dispatch]


# Use custom shell with -l so .bash_profile is sourced
# without having to do it in manually every step
defaults:
run:
shell: bash -leo pipefail {0}

env:
cache_key: gcc2 # The number (#) following the cache_key "gcc" is to flush Action cache.
CC: gcc-10
FC: gfortran-10
CXX: g++-10

# A note on flushing Action cache and relevance to "cache_key" above.
# There is no way to flush the Action cache, and hence a number (#) is appended
# to the "cache_key" (gcc).
# If the dependencies change, increment this number and a new cache will be
# generated by the dependency build step "setup"
# There is a Github issue to force clear the cache.
# See discussion on:
# https://stackoverflow.com/questions/63521430/clear-cache-in-github-actions

# The jobs are split into:
# 1. a dependency build step (setup), and
# 2. a UPP build step (build)
# The setup is run once and the environment is cached,
# so each build of UPP can reuse the cached dependencies to save time (and compute).

jobs:
setup:
runs-on: ubuntu-latest

steps:
# Cache spack, compiler and dependencies
- name: cache-env
id: cache-env
uses: actions/cache@v2
with:
path: |
spack
~/.spack
key: spack-${{ runner.os }}-${{ env.cache_key }}

- name: checkout-upp # This is for getting spack.yaml
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: UPP

# Install dependencies using Spack
- name: install-dependencies-with-spack
if: steps.cache-env.outputs.cache-hit != 'true'
run: |
git clone -c feature.manyFiles=true https://github.com/NOAA-EMC/spack.git
source spack/share/spack/setup-env.sh
spack env create upp-env UPP/ci/spack.yaml
spack env activate upp-env
spack compiler find
spack external find
spack add mpich@3.4.2
spack concretize
spack install --dirty -v

build:
needs: setup
runs-on: ubuntu-latest

steps:
- name: checkout-upp
uses: actions/checkout@v2
with:
path: UPP

- name: cache-env
id: cache-env
uses: actions/cache@v2
with:
path: |
spack
~/.spack
key: spack-${{ runner.os }}-${{ env.cache_key }}

- name: build-upp
run: |
source spack/share/spack/setup-env.sh
spack env activate upp-env
export CC=mpicc
export FC=mpif90
cd UPP
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=../install ..
make -j2 VERBOSE=1
make install
114 changes: 114 additions & 0 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Intel Linux Build
on: [push, pull_request, workflow_dispatch]

# Use custom shell with -l so .bash_profile is sourced which loads intel/oneapi/setvars.sh
# without having to do it in manually every step
defaults:
run:
shell: bash -leo pipefail {0}

# Set I_MPI_CC/F90 so Intel MPI wrapper uses icc/ifort instead of gcc/gfortran
env:
cache_key: intel2 # The number (#) following the cache_key "intel" is to flush Action cache.
CC: icc
FC: ifort
CXX: icpc
I_MPI_CC: icc
I_MPI_F90: ifort

# A note on flushing Action cache and relevance to "cache_key" above.
# There is no way to flush the Action cache, and hence a number (#) is appended
# to the "cache_key" (intel).
# If the dependencies change, increment this number and a new cache will be
# generated by the dependency build step "setup"
# There is a Github issue to force clear the cache.
# See discussion on:
# https://stackoverflow.com/questions/63521430/clear-cache-in-github-actions

# The jobs are split into:
# 1. a dependency build step (setup), and
# 2. a UPP build step (build)
# The setup is run once and the environment is cached,
# so each build of UPP can reuse the cached dependencies to save time (and compute).

jobs:
setup:
runs-on: ubuntu-latest

steps:
# Cache spack, compiler and dependencies
- name: cache-env
id: cache-env
uses: actions/cache@v2
with:
path: |
spack
~/.spack
/opt/intel
key: spack-${{ runner.os }}-${{ env.cache_key }}

- name: install-intel-compilers
if: steps.cache-env.outputs.cache-hit != 'true'
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
sudo apt-get install intel-oneapi-dev-utilities intel-oneapi-mpi-devel intel-oneapi-openmp intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
echo "source /opt/intel/oneapi/setvars.sh" >> ~/.bash_profile

- name: checkout-upp # This is for getting spack.yaml
if: steps.cache-env.outputs.cache-hit != 'true'
uses: actions/checkout@v2
with:
path: UPP

# Install dependencies using Spack
- name: install-dependencies-with-spack
if: steps.cache-env.outputs.cache-hit != 'true'
run: |
git clone -c feature.manyFiles=true https://github.com/NOAA-EMC/spack.git
source spack/share/spack/setup-env.sh
spack env create upp-env UPP/ci/spack.yaml
spack env activate upp-env
spack compiler find
spack external find
spack add intel-oneapi-mpi
spack concretize
spack install --dirty -v

build:
needs: setup
runs-on: ubuntu-latest

steps:
- name: checkout-upp
uses: actions/checkout@v2
with:
path: UPP

- name: install-intel
run: |
echo "source /opt/intel/oneapi/setvars.sh" >> ~/.bash_profile

- name: cache-env
id: cache-env
uses: actions/cache@v2
with:
path: |
spack
~/.spack
/opt/intel
key: spack-${{ runner.os }}-${{ env.cache_key }}

- name: build-upp
run: |
source spack/share/spack/setup-env.sh
spack env activate upp-env
export CC=mpiicc
export FC=mpiifort
cd UPP
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=../install ..
make -j2 VERBOSE=1
make install
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# USE CAUTION WHEN ADDING WILDCARDS, as some builds use different filename #
# conventions than others #
##############################################################################
build/
install/
build*/
install*/

*.[aox]
*.mod
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "post_gtg.fd"]
path = sorc/ncep_post.fd/post_gtg.fd
url = https://github.com/NCAR/UPP_GTG
update = none
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
option(OPENMP "use OpenMP threading" ON)
option(BUILD_POSTEXEC "Build NCEPpost executable" ON)
option(BUILD_WITH_WRFIO "Build NCEPpost with WRF-IO library" OFF)
option(BUILD_WITH_GTG "Build NCEPpost with NCAR/GTG" OFF)
option(ENABLE_DOCS "Enable generation of doxygen-based documentation." OFF)

if(NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$")
Expand Down Expand Up @@ -47,14 +48,16 @@ find_package(bacio REQUIRED)
find_package(crtm REQUIRED)
find_package(g2 REQUIRED)
find_package(g2tmpl REQUIRED)
find_package(ip REQUIRED)
if(BUILD_WITH_GTG)
find_package(ip REQUIRED)
endif()

if(BUILD_POSTEXEC)
find_package(nemsio REQUIRED)
find_package(sfcio REQUIRED)
find_package(sigio REQUIRED)
find_package(sp REQUIRED)
find_package(w3nco REQUIRED)
find_package(w3emc REQUIRED)
if(BUILD_WITH_WRFIO)
find_package(wrf_io REQUIRED)
endif()
Expand Down
9 changes: 0 additions & 9 deletions Externals.cfg

This file was deleted.

Loading