Intel Compiler 2016
I am having an issue compiling with the Intel 2016 compiler. I receive the following error:
In file included from /cosma/local/intel/Parallel_Studio_XE_2016-update1/compilers_and_libraries_2016.1.150/linux/compiler/include/limits.h(43),
from /usr/include/limits.h(125),
from runner.c(25):
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h(122): catastrophic error: could not open source file "limits.h" (no directories in search list)
#include_next <limits.h> /* recurse down to the real one */
^
compilation aborted for runner.c (code 4)
make[3]: *** [runner.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /cosma/local/intel/Parallel_Studio_XE_2016-update1/compilers_and_libraries_2016.1.150/linux/compiler/include/limits.h(43),
from /usr/include/limits.h(125),
from cell.c(25):
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h(122): catastrophic error: could not open source file "limits.h" (no directories in search list)
#include_next <limits.h> /* recurse down to the real one */
^
compilation aborted for cell.c (code 4)
In file included from /cosma/local/intel/Parallel_Studio_XE_2016-update1/compilers_and_libraries_2016.1.150/linux/compiler/include/limits.h(43),
from /usr/include/limits.h(125),
from task.c(25):
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h(122): catastrophic error: could not open source file "limits.h" (no directories in search list)
#include_next <limits.h> /* recurse down to the real one */
^
compilation aborted for task.c (code 4)
make[3]: *** [cell.lo] Error 1
In file included from /cosma/local/intel/Parallel_Studio_XE_2016-update1/compilers_and_libraries_2016.1.150/linux/compiler/include/limits.h(43),
from /usr/include/limits.h(125),
from engine.c(25):
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h(122): catastrophic error: could not open source file "limits.h" (no directories in search list)
#include_next <limits.h> /* recurse down to the real one */
^
In file included from /cosma/local/intel/Parallel_Studio_XE_2016-update1/compilers_and_libraries_2016.1.150/linux/compiler/include/limits.h(43),
from /usr/include/limits.h(125),
from space.c(25):
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/include/limits.h(122): catastrophic error: could not open source file "limits.h" (no directories in search list)
#include_next <limits.h> /* recurse down to the real one */
^
compilation aborted for engine.c (code 4)
compilation aborted for space.c (code 4)
make[3]: *** [task.lo] Error 1
make[3]: *** [engine.lo] Error 1
make[3]: *** [space.lo] Error 1
libtool: compile: /cosma/local/intel/Parallel_Studio_XE_2016-update1/bin/icc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DJSW_CACHE_SORTED -DTIMER -DCOUNTER -DCPU_TPS=2.30e9 -I/cosma/local/hdf5/c5/intel_2015/1.8.14/include -g -O0 -qopt-report5 -O3 -ansi_alias -xAVX -mavx -pthread -Wall -Werror -MT queue.lo -MD -MP -MF .deps/queue.Tpo -c queue.c -o queue.o >/dev/null 2>&1
mv -f .deps/queue.Tpo .deps/queue.Plo
make[3]: Leaving directory `/cosma/home/dp004/dc-will2/SWIFT/auto_vectorise/swiftsim/src'
I seem to recall having a similar issue when we tried compiling the code on Intel's machine down Warrington. Can you remember what the fix was @pdraper?