update LFortran version to 0.51.0 #193
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
MACOSX_DEPLOYMENT_TARGET: 14.0 | |
jobs: | |
Run_standalone_tests_without_custom_MPI_wrappers_with_OpenMPI: | |
name: "Run standalone tests with Open MPI without custom MPI Wrappers" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_openmpi.yml | |
- name: Run standalone tests with OpenMPI and without MPI wrappers | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
./run_tests.sh --without-wrappers | |
Run_standalone_tests_without_custom_MPI_wrappers_with_MPICH: | |
name: "Run standalone tests with MPICH without custom MPI Wrappers" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_mpich.yml | |
- name: Run standalone tests with MPICH and without MPI wrappers | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
./run_tests.sh --without-wrappers | |
Run_standalone_tests_with_GFortran_with_OpenMPI: | |
name: "Run standalone tests with GFortran with Open MPI" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_openmpi.yml | |
- name: Run standalone tests with GFortran with and without optimization using Open MPI | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
FC="gfortran" ./run_tests.sh | |
FC="gfortran -O3 -march=native" ./run_tests.sh | |
Run_standalone_tests_with_GFortran_with_MPICH: | |
name: "Run standalone tests with GFortran with MPICH" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_mpich.yml | |
- name: Run standalone tests with GFortran with and without optimization using MPICH | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
FC="gfortran" ./run_tests.sh | |
FC="gfortran -O3 -march=native" ./run_tests.sh | |
Run_standalone_tests_with_LFortran_with_OpenMPI: | |
name: "Run standalone tests with LFortran with Open MPI" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_lfortran_openmpi.yml | |
- name: Run standalone tests with LFortran with and without optimization using Open MPI | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
FC="lfortran" ./run_tests.sh | |
FC="lfortran --fast" ./run_tests.sh | |
Run_standalone_tests_with_LFortran_with_MPICH: | |
name: "Run standalone tests with LFortran with MPICH" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_lfortran_mpich.yml | |
- name: Run standalone tests with LFortran with and without optimization using MPICH | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests | |
FC="lfortran" ./run_tests.sh | |
FC="lfortran --fast" ./run_tests.sh | |
Compile_POT3D_with_GFortran_with_OpenMPI: | |
name: "Build POT3D and validate with GFortran with Open MPI" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_openmpi.yml | |
# build and validation with GFortran's optimization | |
- name: POT3D Build and validation with GFortran with optimization using Open MPI (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="gfortran -O3 -march=native" ./build_and_run_gfortran.sh | |
# build and validation without GFortran's optimization | |
- name: POT3D Build and validation with GFortran without optimization using Open MPI (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="gfortran" ./build_and_run_gfortran.sh | |
Compile_POT3D_with_LFortran_with_OpenMPI: | |
name: "Build POT3D and validate with LFortran with Open MPI" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_lfortran_openmpi.yml | |
# build and validation with LFortran's optimization | |
- name: POT3D Build and validation with LFortran with optimization using Open MPI (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="lfortran --fast" ./build_and_run_lfortran.sh | |
# build and validation without LFortran's optimization | |
- name: POT3D Build and validation with LFortran without optimization using Open MPI (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="lfortran" ./build_and_run_lfortran.sh | |
Compile_POT3D_with_GFortran_with_MPICH: | |
name: "Build POT3D and validate with GFortran with MPICH" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_gfortran_mpich.yml | |
# build and validation with GFortran's optimization | |
- name: POT3D Build and validation with GFortran with optimization (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="gfortran -O3 -march=native" ./build_and_run_gfortran.sh | |
# build and validation without GFortran's optimization | |
- name: POT3D Build and validation with GFortran without optimization (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="gfortran" ./build_and_run_gfortran.sh | |
Compile_POT3D_with_LFortran_with_MPICH: | |
name: "Build POT3D and validate with LFortran with MPICH" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["macos-latest", "ubuntu-20.04"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Micromamba | |
uses: mamba-org/setup-micromamba@v2.0.2 | |
with: | |
micromamba-version: '2.0.4-0' | |
environment-file: ci/environment_lfortran_mpich.yml | |
# build and validation with LFortran's optimization | |
- name: POT3D Build and validation with LFortran with optimization using MPICH (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="lfortran --fast" ./build_and_run_lfortran.sh | |
# build and validation without LFortran's optimization | |
- name: POT3D Build and validation with LFortran without optimization using MPICH (MPI only) | |
shell: bash -e -x -l {0} | |
run: | | |
cd tests/pot3d | |
FC="lfortran" ./build_and_run_lfortran.sh |