Skip to content

Reply To: HPC OpenLB Code Compilation Error

#6280
achodankar
Participant

Hello Adrian,
Here is the error:

mpic++ -DPARALLEL_MODE_MPI -O3 -Wall -march=native -mtune=native -std=c++14 -DTIXML_USE_STL -I./src -I./src/ -I./src/external -I./src/external/zlib -c src/communication/loadBalancer.cpp -o buil
d/generic/obj/src/communication/loadBalancer.o
In file included from /home/applications/spack/applications/gcc-4.8.5/gcc-8.2.0-sxbf4jq6ghmoybsjlpqz2dm2qbbxzfyn/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/c++config.h:508,
from /home/applications/spack/applications/gcc-4.8.5/gcc-8.2.0-sxbf4jq6ghmoybsjlpqz2dm2qbbxzfyn/include/c++/8.2.0/bits/stl_algobase.h:59,
from /home/applications/spack/applications/gcc-4.8.5/gcc-8.2.0-sxbf4jq6ghmoybsjlpqz2dm2qbbxzfyn/include/c++/8.2.0/vector:60,
from ./src/communication/loadBalancer.h:28,
from src/communication/loadBalancer.cpp:25:
/home/applications/spack/applications/gcc-4.8.5/gcc-8.2.0-sxbf4jq6ghmoybsjlpqz2dm2qbbxzfyn/include/c++/8.2.0/x86_64-pc-linux-gnu/bits/os_defines.h:39:10: fatal error: features.h: No such file or director
y
#include <features.h>
^~~~~~~~~~~~
compilation terminated.
make[2]: *** [build/generic/obj/src/communication/loadBalancer.o] Error 1

Thank you.

Yours sincerely,

Abhijeet C.