Skip to content

Commit ad34732

Browse files
authored
Build: add elpa with OpenMP threading in intel image (#1838)
1 parent 2305932 commit ad34732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.intel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ ENV CC=/opt/intel/oneapi/mpi/latest/bin/mpiicc \
4040
SHELL ["/bin/bash", "-c"]
4141
RUN source /opt/intel/oneapi/setvars.sh \
4242
&& cd /tmp \
43-
&& wget https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/2021.05.002/elpa-2021.05.002.tar.gz \
43+
&& wget -q https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/2021.05.002/elpa-2021.05.002.tar.gz \
4444
&& tar xzf elpa-2021.05.002.tar.gz && rm elpa-2021.05.002.tar.gz \
4545
&& cd elpa-2021.05.002 && mkdir build && cd build \
46-
&& ../configure FCFLAGS="-qmkl=cluster" \
46+
&& ../configure FCFLAGS="-qmkl=cluster" --enable-openmp \
4747
&& make -j`nproc` \
4848
&& make PREFIX=/usr/local install \
49-
&& ln -s /usr/local/include/elpa-2021.05.002/elpa /usr/local/include/ \
49+
&& ln -s /usr/local/include/elpa_openmp-2021.05.002/elpa /usr/local/include/ \
5050
&& cd /tmp && rm -rf elpa-2021.05.002
5151

5252
RUN wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.9.1%2Bcpu.zip \

0 commit comments

Comments
 (0)