"I think I saw a reference somewhere (probably Altera's OpenCL documents) that said it is possible to program the FPGA with your aocx file offline (rather than at runtime using the host code) and then set an environmental variable when running the host code to prevent runtime reconfiguration.", Could you tell which document is this? I have read all the documents (getting started, best practices and programming guide), and I dind't find anything related to that. I have found a way to change harware image, but I think that's not the right way (as I far as I understood flashing a new image should be provided the manufacturer), since this is used to update the DMA and PCIe hardware.
"Apart from that, if this actually works, it will probably only work if your processes are each accessing different kernels; two processes accessing the same kernel will more likely than not fail."
Could you further explain why this may be not possible?
" My recommendation is to rewrite your original code to do this instead of using MPI", Rewrite the code is not an option, this software is about 400 thousand lines of code (and very old). So, removing MPI is not an option. In order to use correctly, should I share program and context?
Thanks for helping me :)