Commit 19ed4359 authored by one's avatar one
Browse files

Update DTK config and MPI installation scripts

parent b490e2b1
...@@ -71,7 +71,7 @@ packages: ...@@ -71,7 +71,7 @@ packages:
gcc: gcc:
buildable: false buildable: false
externals: externals:
- spec: gcc@11.4.0 languages:='c,c++,fortran' - spec: gcc@11.4.0 languages='c,c++,fortran'
prefix: /usr prefix: /usr
extra_attributes: extra_attributes:
compilers: compilers:
...@@ -88,9 +88,6 @@ packages: ...@@ -88,9 +88,6 @@ packages:
c: /opt/dtk/llvm/bin/clang c: /opt/dtk/llvm/bin/clang
cxx: /opt/dtk/llvm/bin/clang++ cxx: /opt/dtk/llvm/bin/clang++
fortran: /opt/dtk/llvm/bin/flang fortran: /opt/dtk/llvm/bin/flang
extra_rpaths:
- /opt/dtk/llvm/lib
- /opt/dtk/llvm/lib64
llvm-amdgpu: llvm-amdgpu:
buildable: false buildable: false
externals: externals:
......
...@@ -152,7 +152,7 @@ install_openmpi( ) ...@@ -152,7 +152,7 @@ install_openmpi( )
check_exit_code 2 check_exit_code 2
cd openmpi cd openmpi
check_exit_code 2 check_exit_code 2
./configure --prefix=${ompi_prefix} --with-ucx=${ucx_prefix} --without-verbs --disable-man-pages --enable-mca-no- build=btl-uct ${ompi_build_cmd}
check_exit_code 2 check_exit_code 2
make -j$(nproc) make -j$(nproc)
check_exit_code 2 check_exit_code 2
...@@ -162,7 +162,7 @@ install_openmpi( ) ...@@ -162,7 +162,7 @@ install_openmpi( )
elif [ ! -f "${ompi_lib_folder}/libmpi.so" ] && [ ! -f "${ompi_lib64_folder}/libmpi.so" ]; then elif [ ! -f "${ompi_lib_folder}/libmpi.so" ] && [ ! -f "${ompi_lib64_folder}/libmpi.so" ]; then
cd openmpi cd openmpi
check_exit_code 2 check_exit_code 2
./configure --prefix=${ompi_prefix} --with-ucx=${ucx_prefix} --without-verbs --disable-man-pages --enable-mca-no- build=btl-uct ${ompi_build_cmd}
check_exit_code 2 check_exit_code 2
make -j$(nproc) make -j$(nproc)
check_exit_code 2 check_exit_code 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment