@@ -115,8 +115,11 @@ RUN --mount=type=cache,target=/ccache/ <<EOC
115115 install-mlir-headers install-mlir-libraries install-mlir-cmake-exports \
116116 install-openmp-resource-headers \
117117 install-compiler-rt \
118+ tools/flang/install \
118119 install-flang-libraries install-flang-headers install-flang-new install-flang-cmake-exports \
119120 install-flangFrontend install-flangFrontendTool \
121+ install-FortranCommon install-FortranDecimal install-FortranEvaluate install-FortranLower \
122+ install-FortranParser install-FortranRuntime install-FortranSemantics \
120123 > build.log 2>&1 &
121124 build_pid=$!
122125 while kill -0 $build_pid 2>/dev/null; do
@@ -175,7 +178,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,t
175178 # libstdc++-10-dev \
176179 apt-get install -y --no-install-recommends \
177180 ccache libz-dev libelf1 libtinfo-dev make binutils cmake git \
178- gcc g++ gfortran wget ca-certificates
181+ gcc g++ gfortran wget ca-certificates \
182+ libopenmpi3 libopenmpi-dev openmpi-common openmpi-bin \
183+ less man
179184 rm -rf /var/lib/apt/lists/*
180185EOC
181186
@@ -191,6 +196,8 @@ ENV CCACHE_DIR=/home/salt/ccache
191196WORKDIR /home/salt/
192197
193198ENV TAU_ROOT=/usr/local
199+ ENV OMPI_ALLOW_RUN_AS_ROOT=1
200+ ENV OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
194201
195202# Download and install TAU
196203# http://tau.uoregon.edu/tau.tgz
@@ -208,8 +215,12 @@ RUN --mount=type=cache,target=/home/salt/ccache <<EOC
208215 cd tau*
209216 ./installtau -prefix=/usr/local/ -cc=gcc -c++=g++ -fortran=gfortran\
210217 -bfd=download -unwind=download -dwarf=download -otf=download -zlib=download -pthread -j
218+ ./installtau -prefix=/usr/local/ -cc=gcc -c++=g++ -fortran=gfortran\
219+ -bfd=download -unwind=download -dwarf=download -otf=download -zlib=download -pthread -mpi -j
211220 ./installtau -prefix=/usr/local/ -cc=clang -c++=clang++ -fortran=flang-new\
212221 -bfd=download -unwind=download -dwarf=download -otf=download -zlib=download -pthread -j
222+ ./installtau -prefix=/usr/local/ -cc=clang -c++=clang++ -fortran=flang-new\
223+ -bfd=download -unwind=download -dwarf=download -otf=download -zlib=download -pthread -mpi -j
213224 cd ..
214225 rm -rf tau* libdwarf-* otf2-*
215226 ccache -s
0 commit comments