Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] multi-compiler builds of OpenMPI (RPM)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-01-18 21:30:05


On Jan 3, 2008, at 11:38 AM, Jim Kusznir wrote:

> > error: line 300: Dependency tokens must begin with alpha-numeric,
> '_'
> > or '/': Requires: %{_name}-runtime
>
> Huh..this is strange. Here's the chunk from my spec file and rpm
> version. I've now built 3 sets of multi-rpm openmpi, each with a
> different name, and its worked flawlessly:
>
> [root_at_aeolus ~]# rpmbuild --version
> RPM version 4.3.3
> [root_at_aeolus ~]# grep Requires /usr/src/redhat/SPECS/openmpi.spec
> Requires: %{modules_rpm_name}
> Requires: %{mpi_selector_rpm_name}
> Requires: %{modules_rpm_name}
> Requires: %{name}-runtime
> Requires: %{name}-runtime
>
> Perhaps its the difference between _name and name.
>

Bingo! I don't know how I missed this (especially since there are
other Requires with %{foo}), but using %{name} works just fine.

If you get the cycles, could you try the latest specfile from the
trunk and see if that works for you?

-- 
Jeff Squyres
Cisco Systems