This (or something else added in the last two days) forces make to use icc compiler and leads to the following error if there is no icc on the machine:
CC=icc python setup-mpf.py build_ext --inplace
running build_ext
building '_intel_mp_fourier' extension
swigging intel_mp_fourier.i to intel_mp_fourier_wrap.c
swig -python -o intel_mp_fourier_wrap.c intel_mp_fourier.i
C compiler: icc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
compile options: '-I/home/ubuntu/miniconda/envs/astro/lib/python2.7/site-packages/numpy/core/include -I/home/ubuntu/miniconda/envs/astro/include/python2.7 -c'
extra options: '-g -xhost -qopt-report=5 -axMIC-AVX512'
icc: intel_mp_fourier_wrap.c
/bin/bash: icc: command not found
/bin/bash: icc: command not found
Makefile:29: recipe for target '_intel_mp_fourier.so' failed
make[1]: Leaving directory '/home/ubuntu/tractor/tractor'
Makefile:12: recipe for target 'mpf' failed
Hi! In commit "Merge pull request #83 from dstndstn/dungeon" (8beaa98ece98dc0c8e21a43efe604ca5f6c00b31) the following lines are added into Makefile:
This (or something else added in the last two days) forces make to use icc compiler and leads to the following error if there is no icc on the machine: