jeffhammond / vapaa

A standalone implementation of the MPI Fortran 2018 module
MIT License
19 stars 1 forks source link

fix the non-HAVE_CFI path #37

Closed jeffhammond closed 2 months ago

jeffhammond commented 2 months ago

fix this

/opt/llvm/latest/bin/flang-new  -g -std=f2018  -fPIE -I../source test_info.o ../source/libmpi_f08.a -g -I/opt/mpich/flang/include -L/opt/mpich/flang/lib -lmpi -lpmpi -o test_info.x
ld: Undefined symbols:
  _CFI_MPI_Info_get_nthkey, referenced from:
      __QMmpi_info_fPmpi_info_get_nthkey_f08ts in libmpi_f08.a[31](mpi_info_f.o)
  _CFI_MPI_Info_get_string, referenced from:
      __QMmpi_info_fPmpi_info_get_string_f08ts in libmpi_f08.a[31](mpi_info_f.o)
  _CFI_MPI_Info_set, referenced from:
      __QMmpi_info_fPmpi_info_set_f08ts in libmpi_f08.a[31](mpi_info_f.o)