<html>#2292: Compiling on mike2 fails b/c C compiler cannot compile code
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td></td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>blocker</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Trying to compile the future ET_Mayer on Mike2 (HPC CCT LSU) I get failures during the CST stage:</p>
<div class="codehilite"><pre><span></span>checking whether the C compiler (/home/compilers/Intel/parallel_studio_xe_2018.0/compilers_and_libraries_2018/linux/bin/intel64/icc -g -xHOST -align -std=gnu99 -U__STRICT_ANSI__ -ansi_alias -gcc-name=/usr/local/compilers/gcc/4.9.2/bin/gcc -Wl,-rpath,/usr/local/compilers/gcc/4.9.2/lib64) works... no
configure: error: installation or configuration problem: C compiler cannot create executables (see configs/sim/config-data/config.log for details).
</pre></div>


<p>and config.log contains:</p>
<div class="codehilite"><pre><span></span>This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:912: checking host system type
configure:938: checking for mawk
configure:938: checking for gawk
configure:1007: checking whether make sets <span class="cp">${</span><span class="n">MAKE</span><span class="cp">}</span>
configure:1072: checking whether the C compiler (/home/compilers/Intel/parallel_studio_xe_2018.0/compilers_and_libraries_2018/linux/bin/intel64/icc -g -xHOST -align -std=gnu99 -U__STRICT_ANSI__ -ansi_alias -gcc-name=/usr/local/compilers/gcc/4.9.2/bin/gcc -Wl,-rpath,/usr/local/compilers/gcc/4.9.2/lib64) works
configure:1089: /home/compilers/Intel/parallel_studio_xe_2018.0/compilers_and_libraries_2018/linux/bin/intel64/icc -o conftest -g -xHOST -align -std=gnu99 -U__STRICT_ANSI__ -ansi_alias -gcc-name=/usr/local/compilers/gcc/4.9.2/bin/gcc -DMPICH_IGNORE_CXX_SEEK -Wl,-rpath,/usr/local/compilers/gcc/4.9.2/lib64 conftest.c  1&gt;<span class="err">&amp;</span>5
/tmp/icc5Wh1JP.o: In function `main&#39;:
conftest.c:(.text+0x1a): undefined reference to `__intel_new_feature_proc_init&#39;
configure: failed program was:

#line 1084 &quot;configure&quot;
#include &quot;confdefs.h&quot;

main(){return(0);} int PilotMain(){return(0);}
</pre></div>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2292/compiling-on-mike2-fails-b-c-c-compiler'>https://bitbucket.org/einsteintoolkit/tickets/issues/2292/compiling-on-mike2-fails-b-c-c-compiler</a></p>
</html>