#2292: Compiling on mike2 fails b/c C compiler cannot compile code
Reporter:
Status:new
Milestone:
Version:
Type:bug
Priority:blocker
Component:SimFactory

Trying to compile the future ET_Mayer on Mike2 (HPC CCT LSU) I get failures during the CST stage:

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).

and config.log contains:

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 ${MAKE}
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>&5
/tmp/icc5Wh1JP.o: In function `main':
conftest.c:(.text+0x1a): undefined reference to `__intel_new_feature_proc_init'
configure: failed program was:

#line 1084 "configure"
#include "confdefs.h"

main(){return(0);} int PilotMain(){return(0);}

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2292/compiling-on-mike2-fails-b-c-c-compiler