diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a2cf5e416..33f7bbb66 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -72,7 +72,7 @@ jobs: # Set up Conda # - name: Set up Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: miniforge-version: latest activate-environment: rte_rrtmgp_test diff --git a/Compiler-flags.md b/Compiler-flags.md index 6181ec009..817de049a 100644 --- a/Compiler-flags.md +++ b/Compiler-flags.md @@ -8,26 +8,37 @@ To build any of the executables in `examples/` or `tests` the locations of the C need to be set via environment variables `NCHOME` and `NFHOME`, and the variable `RRTMGP_ROOT` must be set to the root of the RTE+RRTMGP installation. -## Gnu Fortran -`FC: gfortran-8` or `gfortran-9` or `gfortran-10` +## Gnu Fortran +(see also the [continuous integration](https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/.github/workflows/continuous-integration.yml)) +`FC: `gfortran-10` or `gfortran-11` or `gfortran-12` ### Debugging flags `FCFLAGS: "-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -finit-real=nan -DRTE_USE_CBOOL"` ### Even stricter debugging flags `FCFLAGS: "-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -fbacktrace -finit-real=nan -DRTE_USE_CBOOL -pedantic -g -Wall"` -## Intel Fortran +## Intel Fortran Classic +(see also the [continuous integration](https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/.github/workflows/containerized-ci.yml)) `FC: ifort` ### Debugging flags `FCFLAGS: "-m64 -g -traceback -heap-arrays -assume realloc_lhs -extend-source 132 -check bounds,uninit,pointers,stack -stand f08"` ### Optimization flags: `FCFLAGS:"-m64 -O3 -g -traceback -heap-arrays -assume realloc_lhs -extend-source 132"` +## Intel Fortran +(LLVM, see also the [continuous integration](https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/.github/workflows/containerized-ci.yml)) +`FC: ifort` +### Debugging flags +`FCFLAGS: "-debug -traceback -heap-arrays -assume realloc_lhs -extend-source 132 -stand f08"` +### Using OpenMP GPU offload +See [this open issue](https://github.com/earth-system-radiation/rte-rrtmgp/issues/194) + ## NVFortran -`FC: nvfortran` (if using the Nvidia HPC SDK) +(see also the see also the [continuous integration](https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/.github/workflows/containerized-ci.yml)) +`FC: nvfortran` ### Debugging flags `FCFLAGS: "-g -Minfo -Mbounds -Mchkptr -Mstandard -Kieee -Mchkstk -Mallocatable=03 -Mpreprocess"` ### Optimization flags: -`FCFLAGS: "-g -O3 -fast -Minfo -Mallocatable=03 -Mpreprocess"` +`FCFLAGS: "-O3 -fast -Minfo -Mallocatable=03 -Mpreprocess"` ## HPE CCE for GPU using OpenMP-acc: crayftn -- requires at least CCE 14.0.0 `FC: crayftn` diff --git a/doc/ford_site/rrtmgp-fortran-interface.md b/doc/ford_site/rrtmgp-fortran-interface.md index 864228ff3..df13e3c96 100644 --- a/doc/ford_site/rrtmgp-fortran-interface.md +++ b/doc/ford_site/rrtmgp-fortran-interface.md @@ -36,9 +36,9 @@ The user interface uses the [ty_gas_concs](./module/mo_gas_concentrations.html) to represent the volume mixing ratios needed as input. Output suitable for scattering emission, two-stream, or multi-stream calculations are provided depending on which sub-class of RTE's -[ty_optical_props_arry](./rte-fortran-interface/module/mo_optical_props.html#type-ty_optical_props_arry) +[ty_optical_props_arry](../rte-fortran-interface/module/mo_optical_props.html#type-ty_optical_props_arry) are provided. Planck source functions, if requested, are reported in a variable -of type [ty_source_func_lw.](./rte-fortran-interface/type/ty_source_func_lw.html) +of type [ty_source_func_lw.](../rte-fortran-interface/type/ty_source_func_lw.html) The listings below may not be exhaustive. To see the full listings use the links at the top of the page. @@ -47,4 +47,3 @@ There is a search bar in the top right. Return to the [Documentation overview] or the [reference overview]. [Documentation overview]: ../../index.html -[reference overview]: ../../reference.html diff --git a/doc/ford_site/rrtmgp-kernels.md b/doc/ford_site/rrtmgp-kernels.md index 250f53a9a..30756fffd 100644 --- a/doc/ford_site/rrtmgp-kernels.md +++ b/doc/ford_site/rrtmgp-kernels.md @@ -24,4 +24,4 @@ There is a search bar in the top right. Return to the [Documentation overview] or the [reference overview]. [Documentation overview]: ../../index.html -[reference overview]: ../../reference.html +[reference overview]: ../index.html diff --git a/doc/ford_site/rte-fortran-interface.md b/doc/ford_site/rte-fortran-interface.md index 0b4da67ce..c1786c673 100644 --- a/doc/ford_site/rte-fortran-interface.md +++ b/doc/ford_site/rte-fortran-interface.md @@ -10,6 +10,7 @@ author: The RTE+RRTTMGP consortium github: https://github.com/earth-system-radiation/ license: by title: RTE Fortran interfaces-frontend +src_dir: ../../rte-frontend output_dir: ../../public/reference/rte-fortran-interface ... @@ -39,7 +40,7 @@ There is a search bar in the top right. Return to the [Documentation overview] or the [reference overview]. [Documentation overview]: ../../index.html -[reference overview]: ../../reference.html +[reference overview]: ../index.html