Dear FLEUR developers,
When I tried to compile FLEUR (the last develop version) with Wannier, it says the undefined reference to `wannier_setup_' and `wannier_run_' and results in two errors:
make[2]: *** [CMakeFiles/fleur_MPI.dir/build.make:10546: fleur_MPI] Error 1
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/fleur_MPI.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Those errors come after [ 86%] Linking Fortran executable fleur_MPI
The Wannier library, as well as other needed libraries, were added successfully during the configuration: ./configure.sh -wannier TRUE SNELLIUS.
File SNELLIUS.sh (FLEUR specifications for AMD machine), as well as Makefile, cmake_install.cmake, config.cmake, and configure.out files are attached.
I would appreciate your help!
[ 86%] Linking Fortran executable fleur_MPI
ld: CMakeFiles/fleur_MPI.dir/wannier/wann_postproc_setup.F.o: in function `m_wann_postproc_setup_mp_wann_postproc_setup_':
/home/sgrytsiuk/soft/fleur/wan_fl_test/wannier/wann_postproc_setup.F:140: undefined reference to `wannier_setup_'
ld: CMakeFiles/fleur_MPI.dir/wannier/wann_postproc_setup2.F.o: in function `m_wann_postproc_setup2_mp_wann_postproc_setup2_':
/home/sgrytsiuk/soft/fleur/wan_fl_test/wannier/wann_postproc_setup2.F:143: undefined reference to `wannier_setup_'
ld: CMakeFiles/fleur_MPI.dir/wannier/wann_wannierize.F.o: in function `m_wann_wannierize_mp_wann_wannierize_':
/home/sgrytsiuk/soft/fleur/wan_fl_test/wannier/wann_wannierize.F:298: undefined reference to `wannier_run_'
make[2]: *** [CMakeFiles/fleur_MPI.dir/build.make:10546: fleur_MPI] Error 1
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/fleur_MPI.dir/all] Error 2
make: *** [Makefile:136: all] Error 2