<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Dear Developers,<br />
<br />
I am Songchen Tan at UC Berkeley, recently I am trying to use MPICH on macOS 10.15. Though binaries via homebrew is available, I would like to build from source in order to configure it with Intel compilers (icc, icpc and ifort).<br />
<br />
To reproduce the problem:<br />
<br />
<ol type="1" rd_type_protected="true">
<li>Download the source in ~/Applications/;<br /></li>
<li>Unzip with `tar -xvzf mpich-3.3.2.tar.gz`, then `cd mpich-3.3.2`;<br /></li>
<li>Run `./configure --prefix=/usr/local/Cellar/mpich/3.3.2 CC=icc CXX=icpc F77=ifort FC=ifort 2>&1 | tee c.txt`;<br /></li>
<li>Build with `make VERBOSE=1 2>&1 | tee m.txt`.<br /></li>
<li>Then I am noticed: `Undefined symbols for architecture x86_64: “__ZTHMPIR_Per_thread”`.<br /></li>
</ol>
<br />
The generated `c.txt` and `m.txt` is attached. Thank you so much for your help.<br />
<br />
Sincerely yours,<br />
Songchen</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont"><span style="caret-color: rgb(39, 39, 40);">Songchen Tan 10292504</span><br style="caret-color: rgb(39, 39, 40);" />
<span style="caret-color: rgb(39, 39, 40);">College of Chemistry, University of California, Berkeley 97420, U. S. A.</span><br style="caret-color: rgb(39, 39, 40);" />
<span style="caret-color: rgb(39, 39, 40);">Email: tansongchen@berkeley.edu</span><br style="caret-color: rgb(39, 39, 40);" />
<span style="caret-color: rgb(39, 39, 40);">Cell: (+86)13501382788</span></div>
</div>
</body>
</html>