Gilles,
Upon close look, the previous errors of spec file are caused by CRLF line
terminators (it seems the file is prepared on windows(?) ). Once converted
to Unix, everything seems to fine.
Thanks for your spec.
Oliver
On Wed, Nov 4, 2015 at 7:24 PM, Gilles Gouaillardet
wrote:
> Olivier,
>
Olivier,
i just forgot ompi was offilically shipping .src.rpm (and there is no
binary x86_64.rpm)
please use the .spec i sent in a previous email (assuming you want ompi
in /usr)
an other option is to
rpmbuild -ba --define 'install_in_opt 1' SPECS/openmpi-1.10.0.spec
and ompi will be install
Gilles,
The new spec file has some issues:
f7b@ct0 ~/rpmbuild/SPECS$ rpmbuild -ba openmpi-1.10.0.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gDGUNx
+ umask 022
+ cd /home/f7b/rpmbuild/BUILD
+ rm -rf $'/home/f7b/rpmbuild/BUILDROOT/openmpi-1.10.0-1.x86_64\r'
+ $'\r'
/var/tmp/rpm-tmp.gDGUNx:
hi Gilles,
Yes, I got the src rpm from the OMPI official site. I am not sure what you
meant by "related x86_64.rpm", as far as I can tell, only the src rpm is
distributed: http://www.open-mpi.org/software/ompi/v1.10/
rpm -qlp of newly built rpm sure have files that in in /usr/bin:
etc
/etc/openm
Oliver writes:
> hi all
>
> I am trying to rebuild 1.10 RPM from the src rpm on Cent OS 7.
I assume that's an OMPI-distributed one. For an RHEL-like system, you
either want to take the Fedora source of the appropriate version and
make any necessary fixes for EPEL7, or adapt the native source to
Olivier,
here is attached an updated spec file that works on Cent OS 7
i will double think about it before a permanent fix
Cheers,
Gilles
On 10/31/2015 9:09 PM, Oliver wrote:
hi all
I am trying to rebuild 1.10 RPM from the src rpm on Cent OS 7. The
build process went fine without problem.
Olivier,
where did you get the src.rpm from ?
assuming you downloaded it, can you also download the related
x86_64.rpm, run rpm -qlp open-mpi-xxx.x86_64.rpm and check if there are
files in /usr/bin and /usr/lib64 ?
Cheers,
Gilles
On 10/31/2015 9:09 PM, Oliver wrote:
hi all
I am trying to
hi all
I am trying to rebuild 1.10 RPM from the src rpm on Cent OS 7. The build
process went fine without problem. Whiling trying to install the rpm, I
encountered the following error:
Examining openmpi-1.10.0-1.x86_64.rpm: openmpi-1.10.0-1.x86_64
Marking openmpi-1.10.0-1.x86_64.rpm to be instal