2020 strategy :
2121 fail-fast : false
2222 matrix :
23- compiler : [GCC, CLANG, ICC, ICX ]
23+ compiler : [GCC, CLANG, ICX, ICPX ]
2424 mpi : [OpenMPI, IntelMPI]
2525 exclude :
2626 # CLANG is not properly supported by Intel, better use LLVMIntel in the future
4646 valgrind \
4747 clang
4848
49- - name : Install legacy Intel compiler
50- if : ${{ matrix.compiler == 'ICC' }}
51- run : sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
52-
5349 - name : Install Intel compiler
54- if : ${{ matrix.compiler == 'ICX ' }}
50+ if : ${{ matrix.compiler == 'ICPX ' }}
5551 run : sudo apt-get install intel-oneapi-compiler-dpcpp-cpp
5652
5753 - name : Install MPI
@@ -70,18 +66,18 @@ jobs:
7066 elif [ ${{ matrix.compiler }} = CLANG ]; then
7167 export CXX=/usr/bin/clang++
7268 export CC=/usr/bin/clang
73- elif [ ${{ matrix.compiler }} = ICC ]; then
74- export CXX=icpc
75- export CC=icc
7669 elif [ ${{ matrix.compiler }} = ICX ]; then
7770 export CXX=icpx
7871 export CC=icx
72+ elif [ ${{ matrix.compiler }} = ICPX ]; then
73+ export CXX=icpx
74+ export CC=icx
7975 else
8076 echo 'Unsupported compiler: ${{ matrix.compiler }}'
8177 exit 1
8278 fi
8379
84- if [ ${{ matrix.compiler }} = ICC ] || [ ${{ matrix.compiler }} = ICX ] || [ ${{ matrix.mpi }} = IntelMPI ]; then
80+ if [ ${{ matrix.compiler }} = ICX ] || [ ${{ matrix.compiler }} = ICPX ] || [ ${{ matrix.mpi }} = IntelMPI ]; then
8581 source /opt/intel/oneapi/setvars.sh
8682 fi
8783
@@ -107,7 +103,7 @@ jobs:
107103 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GITHUB_WORKSPACE}/bin
108104 export PATH=${PATH}:${GITHUB_WORKSPACE}/bin # required for IntelMPI
109105 export PATH=${PATH}:${GITHUB_WORKSPACE}/bin/tests_c_mpi # required for IntelMPI
110- if [ ${{ matrix.compiler }} = ICC ] || [ ${{ matrix.compiler }} = ICX ] || [ ${{ matrix.mpi }} = IntelMPI ]; then
106+ if [ ${{ matrix.compiler }} = ICX ] || [ ${{ matrix.compiler }} = ICPX ] || [ ${{ matrix.mpi }} = IntelMPI ]; then
111107 source /opt/intel/oneapi/setvars.sh
112108 fi
113109
@@ -128,14 +124,14 @@ jobs:
128124 fail-fast : false
129125 matrix :
130126 python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
131- compiler : [GCC, ICC ]
127+ compiler : [GCC, ICX ]
132128 timeout-minutes : 15
133129
134130 steps :
135131 - uses : actions/checkout@v2
136132
137133 - name : Install Intel compiler
138- if : ${{ matrix.compiler == 'ICC ' }}
134+ if : ${{ matrix.compiler == 'ICX ' }}
139135 run : |
140136 # see https://software.intel.com/content/www/us/en/develop/articles/installing-intel-oneapi-toolkits-via-apt.html#pkgtable
141137 cd /tmp
@@ -145,7 +141,7 @@ jobs:
145141 sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
146142
147143 sudo apt-get update
148- sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
144+ sudo apt-get install intel-oneapi-compiler-dpcpp-cpp
149145
150146 - name : Install MPI
151147 run : |
@@ -170,7 +166,7 @@ jobs:
170166
171167 - name : Running tests
172168 run : |
173- if [ ${{ matrix.compiler }} = ICC ]; then
169+ if [ ${{ matrix.compiler }} = ICX ]; then
174170 source /opt/intel/oneapi/setvars.sh
175171 fi
176172 export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin
@@ -181,7 +177,7 @@ jobs:
181177
182178 - name : Running MPI tests
183179 run : |
184- if [ ${{ matrix.compiler }} = ICC ]; then
180+ if [ ${{ matrix.compiler }} = ICX ]; then
185181 source /opt/intel/oneapi/setvars.sh
186182 fi
187183 export PYTHONPATH=${PYTHONPATH}:${GITHUB_WORKSPACE}/bin
0 commit comments