FLAIR Geoviewer in HPC

Dear All, @vasilis
In my institutional HPC cluster, I am trying to install flair3 (without root access) using source files.
The flair manged to install correctly.
The Geoviewer gives me error as follows with the make command.

lto1: fatal error: bytecode stream in file '/blues/gpfs/home/software/anaconda3/2019.7/lib/python3.7/config-3 .7m-x86_64-linux-gnu/libpython3.7m.a' generated with LTO version 6.0 instead of the expected 8.1

compilation terminated.
lto-wrapper: fatal error: c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [geoviewer.so] Error 1

The compilers were
python : Python 3.7.3 (default, Mar 27 2019, 22:11:17)
gcc -version: gcc (GCC) 9.2.0
make -version: GNU Make 3.82

I tried a newer version of python (Python 3.7.4) as suggested by my system administrator and ended up in the same spot.

lto1: fatal error: bytecode stream in file '/blues/gpfs/home/software/anaconda3/2019.10/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a' generated with LTO version 6.0 instead of the expected 8.1
compilation terminated.
lto-wrapper: fatal error: c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [geoviewer.so] Error 1

Is there a way to get this compiled in the cluster?
Thanks
Sunil

Hi @sunil
I believe there is a mismatch with the python that the makefile finds and the one you want to run.
You can force the python in the geoviewer makefile with the option PYTHONEXE
Try compiling geoviewer as

make -j nnn PYTHONEXE=/python/executable/path/python...

nn is the number of cores you have to compile (optional)