cmake integration issues
Users linking to libmaestro.a
using cmake get unresolved symbols from libfabric underlying libraries:
[ 25%] Linking C executable writer
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/scitech/maestro/lib/libmaestro.a(src_libfabric_la-fi_verbs.o): in function `vrb_get_rdmacm_rai':
/home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:125: undefined reference to `rdma_getaddrinfo'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:142: undefined reference to `rdma_freeaddrinfo'
...
/home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:492: undefined reference to `ibv_get_device_name'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:501: undefined reference to `ibv_create_cq'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:518: undefined reference to `ibv_destroy_qp'
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: /home/scitech/maestro-core/deps/libfabric/prov/verbs/src/fi_verbs.c:520: undefined reference to `ibv_create_qp'
This can be worked around by -DCMAKE_EXE_LINKER_FLAGS='-lrdmacm -libverbs'
but really needs a deeper fix in MaestroConfig.cmake