Skip to content
Snippets Groups Projects
Commit 95ea68e6 authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

Merge branch 'chs-conda3+4' into 'main'

add chs conda 0.3 and 0.4 load scripts

See merge request !12
parents 7767f2ba 7407a054
No related branches found
No related tags found
1 merge request!12add chs conda 0.3 and 0.4 load scripts
Pipeline #256303 passed with stages
in 13 seconds
...@@ -27,26 +27,59 @@ show-env-vars: ...@@ -27,26 +27,59 @@ show-env-vars:
### TEST JOBS ### ### TEST JOBS ###
################# #################
eve.chs-conda01: .common-test-job:
stage: test stage: test
script: source eve.chs-conda01 script:
- source $CI_JOB_NAME
- echo FC = $FC
- echo F77 = $F77
- echo CC = $CC
- echo CXX = $CXX
- echo "NetCDF-C:" $(nc-config --version)
- echo "NetCDF-F:" $(nf-config --version)
- make --version
- cmake --version
- python --version
- pip list
eve.chs-conda01:
extends: .common-test-job
eve.chs-conda02: eve.chs-conda02:
stage: test extends: .common-test-job
script: source eve.chs-conda02
eve.chs-conda03:
extends: .common-test-job
eve.chs-conda04:
extends: .common-test-job
eve.gfortran102: eve.gfortran102:
stage: test extends: .common-test-job
script: source eve.gfortran102
eve.gfortran102MPI:
extends: .common-test-job
eve.gfortran122: eve.gfortran122:
stage: test extends: .common-test-job
script: source eve.gfortran122
eve.gfortran122MPI:
extends: .common-test-job
eve.intel2020b: eve.intel2020b:
stage: test extends: .common-test-job
script: source eve.intel2020b
eve.intel2023b: eve.intel2020bMPI:
stage: test extends: .common-test-job
script: source eve.intel2023b-llvm
eve.intel2023b-classic:
extends: .common-test-job
eve.intel2023bMPI-classic:
extends: .common-test-job
eve.intel2023b-llvm:
extends: .common-test-job
eve.intel2023bMPI-llvm:
extends: .common-test-job
...@@ -13,10 +13,12 @@ All these scripts will load: ...@@ -13,10 +13,12 @@ All these scripts will load:
- pFUnit - Fortran unit testing framework - pFUnit - Fortran unit testing framework
### Usage ### Usage
- Conda environment with gfortran: - Conda environment with GNU Compilers, Python and all dependencies for Documentation, Unit-Testing and Coverage:
```bash ```bash
source eve.chs-conda01 # or source eve.chs-conda01 # Python 3.10, GNU 9.4
source eve.chs-conda02 source eve.chs-conda02 # Python 3.11, GNU 12.3
source eve.chs-conda03 # Python 3.12, GNU 13.3
source eve.chs-conda04 # Python 3.13, GNU 14.2
``` ```
- GNU 10.2 compiler (`foss/2020b` Toolchain): - GNU 10.2 compiler (`foss/2020b` Toolchain):
```bash ```bash
......
module purge module purge
module use /global/apps/modulefiles module use /global/apps/modulefiles
module load chs-fortran-conda/0.1.0 module load chs-fortran-conda/0.1.0
export FC=gfortran
export F77=gfortran
export CC=gcc
export CXX=g++
module purge module purge
module use /global/apps/modulefiles module use /global/apps/modulefiles
module load chs-fortran-conda/0.2.0 module load chs-fortran-conda/0.2.0
export FC=gfortran
export F77=gfortran
export CC=gcc
export CXX=g++
module purge
module use /global/apps/modulefiles
module load chs-fortran-conda/0.3.0
module purge
module use /global/apps/modulefiles
module load chs-fortran-conda/0.4.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment