Dear all,
Building CUDA-aware MPICH fails for me after a few seconds on Ubuntu 20.04 following the MPICH installation guide (CUDA Driver Version: 465.19.01,
CUDA Version: 11.3).
Reproducer:
mkdir ~/soft
cd ~/soft
tar -xzf mpich-3.4.2.tar.gz
mkdir /tmp/mpich-3.4.2
cd /tmp/mpich-3.4.2
~/soft/mpich-3.4.2/configure --with-cuda=/usr/local/cuda --with-device=ch4:ucx 2>&1 | tee configure.log
make 2>&1 | tee make.log
Error:
/home/omlins/soft/mpich-3.4.2/modules/yaksa/src/backend/cuda/cudalt.sh: 35: Bad substitution
make[2]: *** [Makefile:8697: src/backend/cuda/pup/yaksuri_cudai_pup_hvector__Bool.lo] Error 2
make[2]: Leaving directory '/tmp/mpich-3.4.2/modules/yaksa'
make[1]: *** [Makefile:43560: all-recursive] Error 1
make[1]: Leaving directory '/tmp/mpich-3.4.2'
make: *** [Makefile:11141: all] Error 2
The with tee created log files 'configure.log' and 'make.log', as well as 'config.log', are attached.
Am I missing something or is there an issue with MPICH here?
Thanks a lot in advance for helping me solving this issue!
Cheers,
Sam
--
Samuel Omlin, PhD
Computational Scientist
CSCS - Swiss National Supercomputing Centre
ETH Zurich
Via Trevano 131
CH-6900 Lugano
Switzerland