<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div style="color: rgb(0, 0, 0);">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Dear all,</p>
<p><br>
</p>
<p><span>Building CUDA-aware MPICH fails for me after a few seconds on Ubuntu 20.04 following the MPICH installation guide (<span>CUDA Driver Version: 465.19.01,</span></span></p>
<p><span><span>CUDA Version: 11.3</span>).</span></p>
<p><span><br>
</span></p>
<p><span><b>Reproducer:</b></span></p>
<div>mkdir ~/soft<br>
cd ~/soft<br>
tar -xzf mpich-3.4.2.tar.gz<br>
mkdir /tmp/mpich-3.4.2<br>
cd /tmp/mpich-3.4.2<br>
~/soft/mpich-3.4.2/configure --with-cuda=/usr/local/cuda --with-device=ch4:ucx 2>&1 | tee configure.log<br>
make 2>&1 | tee make.log<br>
</div>
<div><br>
</div>
<div><b>Error:</b></div>
<div>
<div>/home/omlins/soft/mpich-3.4.2/modules/yaksa/src/backend/cuda/cudalt.sh: 35: Bad substitution<br>
make[2]: *** [Makefile:8697: src/backend/cuda/pup/yaksuri_cudai_pup_hvector__Bool.lo] Error 2<br>
make[2]: Leaving directory '/tmp/mpich-3.4.2/modules/yaksa'<br>
make[1]: *** [Makefile:43560: all-recursive] Error 1<br>
make[1]: Leaving directory '/tmp/mpich-3.4.2'<br>
make: *** [Makefile:11141: all] Error 2<br>
<br>
</div>
</div>
<p>The with tee created log files 'configure.log' and 'make.log', as well as 'config.log', are attached.</p>
<p><br>
</p>
<p>Am I missing something or is there an issue with MPICH here?<br>
</p>
<p></p>
<p><br>
<span></span></p>
<p>Thanks a lot in advance for helping me solving this issue!</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Sam<br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">--<br>
Samuel Omlin, PhD</div>
<div style="font-family:Tahoma; font-size:13px">Computational Scientist<br>
CSCS - Swiss National Supercomputing Centre</div>
<div style="font-family:Tahoma; font-size:13px">ETH Zurich<br>
Via Trevano 131<br>
CH-6900 Lugano<br>
Switzerland</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>