Dear Elias,
thanks for your valuable and useful project!
I would like to use forpy in my code in order to use some machine learning algorithm. My code is compiled with ifort.
So, while compiling and linking forpy with gfortran is ok, when I try with ifort it is a bit more problematic and I cannot successfully link it. I tried to disable lto also in ifort with -fno-fat-lto-objects but I still get an error:
In particular when I run:
ifort intro_to_forpy.F90 forpy_mod.o python3-config --ldflags
ld: /home/lk/intel/oneapi/intelpython/python3.7/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(posixmodule.o): in function os_forkpty': (.text.unlikely+0x2307): undefined reference to forkpty'
ld: /home/lk/intel/oneapi/intelpython/python3.7/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(posixmodule.o): in function os_openpty': (.text.unlikely+0x25e2): undefined reference to openpty'
Have you encountered such issue?
Thank you,
Lorenzo
Dear Elias,
thanks for your valuable and useful project!
I would like to use forpy in my code in order to use some machine learning algorithm. My code is compiled with ifort.
So, while compiling and linking forpy with gfortran is ok, when I try with ifort it is a bit more problematic and I cannot successfully link it. I tried to disable lto also in ifort with -fno-fat-lto-objects but I still get an error:
In particular when I run:
ifort intro_to_forpy.F90 forpy_mod.o
python3-config --ldflagsld: /home/lk/intel/oneapi/intelpython/python3.7/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(posixmodule.o): in function
os_forkpty': (.text.unlikely+0x2307): undefined reference toforkpty'ld: /home/lk/intel/oneapi/intelpython/python3.7/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(posixmodule.o): in function
os_openpty': (.text.unlikely+0x25e2): undefined reference toopenpty'Have you encountered such issue?
Thank you,
Lorenzo