In the past I have used OpenMPI to develop some (simple) applications.
At this point, we need to port OpenMPI to a new system being developed.
I need some help to understand where to start making changes in order to
support this new system, as my search didn't reveal something quite useful.
A few more details, regarding what we would like to do:
1) We need to have support for both, a native and also a
a) The native environment is a non-mainstream 64-bit processor
(specially designed for the system where it is being used). The OS
environment is Linux, the compiler is gcc and in general we have a quite
typical Linux/GNU environment, ported to that system.
b) The cross-compilation environment should be run on a Linux x86_64
system. The cross-compiler, libraries, etc are already working, which
means that only OpenMPI needs to be ported right now. We use this
environment together with a simulator of the system, in order to
evaluate any changes in the architecture of the system. Using the
typical configure options of most applications, we would like to have
something like the following options in this case when building OpenMPI:
--host=x86_64-linux-gnu --build=<our system triplet>
Afterwards, the OpenMPI library should be linked together with our
applications and the final executable should be run on the simulator.
I have started looking into the source code of OpenMPI, but I have not
yet understood in which files I should start making changes. I would
appreciate any help you can provide, in order for me to start the port.
Thank you in advance,
Ioannis E. Venetis