https://bugzilla.redhat.com/show_bug.cgi?id=1382755
--- Comment #19 from Antonio Trande anto.trande@gmail.com --- (In reply to Christoph Junghans from comment #18)
(In reply to Antonio Trande from comment #17)
- MPI builds are not using MPI compilers:
OpenMPI build must use mpic++ that's located in '/usr/lib64/openmpi/bin'. MPICH build must use mpic++ that's located in '/usr/lib64/mpich/bin'.
Force CXX flags after %{_mpich_load} and %{_openmpi_load} with:
export CXX=mpic++
Legion doesn't actually depends on MPI and hence using mpic++ as a compiler might lead to overlinking. Legion only depends on Gasnet, which comes in two mpi variants. The reason that legion looks for mpi can be found here: https://github.com/StanfordLegion/legion/pull/205 And doesn't really apply on Fedora as we are using shared libs for gasnet.
Let me understand, please: Legion does not depend on MPI but neither Gasnet looks linked to mpi, in fact Legion is inheriting all undefined-non-weak-symbol from Gasnet (https://bugzilla.redhat.com/show_bug.cgi?id=1375744#c9). I'm asking to myself why Legion-MPI libraries are compiled.
- Use %{_mpich_load} and %{_openmpi_load} into '%install' section too.
Will do.
- There are test files available for testing 'legion'
Last time I checked the tests only work in the non-cmake build system, but I will check again.
- *.cmake file go in '/usr/lib(64)/cmake/legion', not under /usr/share.
Ok.
- 'fedora-review' tool seems not able to download src-rpm from github.io;
please, use your 'fedorapeople' space if you can.
Ok, is there a way to pull the srpm from koji?
No, i guess. You can use Copr.