Closed leshikus closed 4 weeks ago
This is pytorch build error, it adds -isystem $CONDA_PREFIX/include
This is not pytorch. Something sets CPPFLAGS='-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/jovyan/.conda/envs/triton/include'
before the pytorch build. Digging further.
This is done in activate.d/activate-gcc_linux-64.sh
, thus this is a part of conda c++ compiler. Reopening.
Solution to issue cannot be found in the documentation.
Issue
The Intel compiler headers are written to
$CONDA_PREFIX/include
and take priority tox86_64-conda-linux-gnu-c++
compiler headers. For example, this it true forfloat.h
header.The problem is that this header works like an empty header on Linux when
__INTEL_COMPILER
is not set. For Windows it correctly includes systemfloat.h
header, for Linux it does not.Installed packages
Environment info