I managed to fix the problem and get a better understanding of how apt works. Simply put;
G
- Get the source of the package via ''' apt-get source ''' and cd to the dir with source.
- Use the configuration-script (or likewise) to generate code for your requested settings.
- Build (make use of the make-commando, typically '''make all''')
- Install (make use of '''make install'''
However for openmpi-bin there is some faulty configuration-script, yielding that the package-version is missing if one attemps to configure the checked out source. Instead, if one unpacks the tarball and make the requested settings to that source, then it works.
''' Update '''
It is still not functioning, using e.g. mpiexec I receive an error stating that some libs are missing.
Not being able to sort out that problem I instead tried to build and the openmpi
from debian build command (debuild).
I have taken the following steps:
apt-get source openmpi-bin
dpkg-source -x openmpi-3.1.2-.dsc
cd to extracted dir
./configure --with-slurm
debuild -rfakeroot -us -uc -b -i (as stated in the debian guidelines)
However this fails with the output of debuild-command stating the some files where not found and that the makefile exited with error 1.
More specific it is the compilation of libopen-pal.so that fails.
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2.
Any idea as to why this might fail? Or if there is some log I could check to see why this fails.
Any help is much appreciated.