Comment 10 for bug 152273

Revision history for this message
csauer (caetanosauer) wrote :

Sorry, i was wrong in my last post.

The solution mentioned halfflat did not work for me. I have to do the following.

Replace:

${prefix}/share/openmpi.%s%s%s-wrapper-data.txt

for:

/usr/share/openmpi......%s%s%s-wrapper-data.txt

the dot means a zero byte, so there is two strings in that sequence, and the extra 5 bytes have to be added to the end of the first one.
But, the problem continued, because now the binary tried to open /usr/share/openmpi/mpicc.openmpi-wrapper-data.txt
So i smply made a symlink to the real file, without the ".openmpi".
If you use fortran or c++ compilers, the same thing has to be done for them.

Regards and sorry for the mistake before.

And now, it works for real ;-)