Skip to content

Commit 3049cd2

Browse files
authored
Merge pull request #13596 from KratosMultiphysics/ci/remove-intel-legacy
[CI] Removed intel legacy CI
2 parents df562e6 + 1c2358b commit 3049cd2

1 file changed

Lines changed: 0 additions & 102 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -545,108 +545,6 @@ jobs:
545545
python kratos/python_scripts/testing/run_python_tests.py -l nightly -c python
546546
547547
548-
ubuntu-intel-legacy:
549-
runs-on: ubuntu-latest
550-
env:
551-
KRATOS_BUILD_TYPE: Custom
552-
OMPI_MCA_rmaps_base_oversubscribe: 1 # Allow oversubscription for MPI (needed for OpenMPI >= 3.0)
553-
OMPI_MCA_btl_vader_single_copy_mechanism: none # suppressing some annoying OpenMPI messages
554-
OMPI_ALLOW_RUN_AS_ROOT: 1 # required since for now running as root
555-
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1 # required since for now running as root
556-
557-
container:
558-
image: kratosmultiphysics/kratos-image-ci-ubuntu-22-04:latest
559-
# options: --user 1001 # must run as root to install the intel compiler
560-
561-
steps:
562-
- uses: actions/checkout@v4
563-
564-
# - name: Installing dependencies
565-
# => must be added to the docker container to avoid reinstalling it in every CI run
566-
567-
- name: Install intel compiler
568-
shell: bash
569-
run: sudo apt-get install -y --no-install-recommends intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
570-
571-
- name: Build
572-
shell: bash
573-
run: |
574-
export CC=icc
575-
export CXX=icpc
576-
source /opt/intel/oneapi/setvars.sh
577-
cp .github/workflows/intel_configure.sh configure.sh
578-
bash configure.sh
579-
580-
- name: Running C++ tests
581-
shell: bash
582-
run: |
583-
source /opt/intel/oneapi/setvars.sh
584-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
585-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
586-
python3 kratos/python_scripts/testing/run_cpp_tests.py
587-
588-
- name: Running python tests
589-
shell: bash
590-
run: |
591-
source /opt/intel/oneapi/setvars.sh
592-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
593-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
594-
python3 kratos/python_scripts/testing/run_python_tests.py -l nightly -c python3
595-
596-
- name: Running MPI C++ tests (2 Cores)
597-
shell: bash
598-
timeout-minutes : 10
599-
run: |
600-
export PYTHONPATH=
601-
export LD_LIBRARY_PATH=
602-
source /opt/intel/oneapi/setvars.sh
603-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
604-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
605-
python3 kratos/python_scripts/testing/run_cpp_mpi_tests.py -n 2
606-
607-
- name: Running MPI C++ tests (3 Cores)
608-
shell: bash
609-
timeout-minutes : 10
610-
run: |
611-
source /opt/intel/oneapi/setvars.sh
612-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
613-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
614-
python3 kratos/python_scripts/testing/run_cpp_mpi_tests.py -n 3
615-
616-
- name: Running MPI C++ tests (4 Cores)
617-
shell: bash
618-
timeout-minutes : 10
619-
run: |
620-
source /opt/intel/oneapi/setvars.sh
621-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
622-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
623-
python3 kratos/python_scripts/testing/run_cpp_mpi_tests.py -n 4
624-
625-
- name: Running Python MPI tests (2 Cores)
626-
shell: bash
627-
run: |
628-
source /opt/intel/oneapi/setvars.sh
629-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
630-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
631-
python3 kratos/python_scripts/testing/run_python_mpi_tests.py -l mpi_nightly -n 2
632-
633-
- name: Running Python MPI tests (3 Cores)
634-
shell: bash
635-
run: |
636-
source /opt/intel/oneapi/setvars.sh
637-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
638-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
639-
python3 kratos/python_scripts/testing/run_python_mpi_tests.py -l mpi_nightly -n 3
640-
641-
- name: Running Python MPI tests (4 Cores)
642-
shell: bash
643-
run: |
644-
source /opt/intel/oneapi/setvars.sh
645-
export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin/Custom
646-
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin/Custom/libs
647-
python3 kratos/python_scripts/testing/run_python_mpi_tests.py -l mpi_nightly -n 4
648-
649-
650548
ubuntu-intel:
651549
runs-on: ubuntu-latest
652550
needs: changed-files

0 commit comments

Comments
 (0)