Hello everyone,
So on my personal computer everything works great, but not
on the computing space of the institute I’m working in.
On my computer I compiled everything with fpm and gfortran 11.3.0
and hdf5 1.10.7.
Now on the computing space, I compile everything with fpm using
ifort 2021.3.0 20210609 and hdf5 1.12.1. Here is the command line :
fpm build --profile release --flag “-fno-frontend-optimize -I$HDF5INC -L$HDF5LIB” --compiler ifort
Everything compiles until the point where the examples get compiled. I then get the
errors :
ifort: command line warning #10006: ignoring unknown option ‘-fno-frontend-optimize’
build/ifort_1D32607880784D78/neural-fortran/libneural-fortran.a(src_nf_nf_network_submodule.f90.o) : In the function « nf_network_mp_train_ » :
nf_network_submodule.f90:(.text+0x900b) : undefined reference to « for_rtl_ICAF_BROADCAST_DESCR »
nf_network_submodule.f90:(.text+0x904e) : undefined reference to « for_rtl_ICAF_BROADCAST_DESCR »
build/ifort_1D32607880784D78/neural-fortran/libneural-fortran.a(src_nf_nf_dense_layer_submodule.f90.o) : In the function « nf_dense_layer_mp_update_ » :
nf_dense_layer_submodule.f90:(.text+0x24c8) : undefined reference to « for_rtl_ICAF_BROADCAST_OP_DESCR »
nf_dense_layer_submodule.f90:(.text+0x251c) : undefined reference to « for_rtl_ICAF_BROADCAST_OP_DESCR »
build/ifort_1D32607880784D78/neural-fortran/libneural-fortran.a(src_nf_nf_dense_layer_submodule.f90.o) : In the function « nf_dense_layer_mp_init_ » :
nf_dense_layer_submodule.f90:(.text+0x3077) : undefined reference to « for_rtl_ICAF_BROADCAST_DESCR »
build/ifort_1D32607880784D78/neural-fortran/libneural-fortran.a(src_nf_nf_conv2d_layer_submodule.f90.o) : In the function « nf_conv2d_layer_mp_update_ » :
nf_conv2d_layer_submodule.f90:(.text+0x43af) : undefined reference to « for_rtl_ICAF_BROADCAST_OP_DESCR »
nf_conv2d_layer_submodule.f90:(.text+0x440d) : undefined reference to « for_rtl_ICAF_BROADCAST_OP_DESCR »
Compilation failed for object " simple "
stopping due to failed compilation
STOP 1
Is there a way to overcome this issue?