[yocto] Mpich and yocto ?

Riko Ho antonius.riko at gmail.com
Thu Jul 27 18:22:30 PDT 2017


Dear Yocto Team Member,

I tried to compile icecream on the master node, but here's the messages 
I got, any ideas ?

=====

Making install in services
make[1]: Entering directory '/home/bianchi77/icecream/services'
make[2]: Entering directory '/home/bianchi77/icecream/services'
  /bin/mkdir -p '/usr/local/lib'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c libicecc.la 
'/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libicecc.lai 
/usr/local/lib/libicecc.la
/usr/bin/install: cannot create regular file 
'/usr/local/lib/libicecc.la': Permission denied
Makefile:428: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/home/bianchi77/icecream/services'
Makefile:721: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/bianchi77/icecream/services'
Makefile:421: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

======

Thanks


On 27/07/17 09:10, Randy MacLeod wrote:
> On 2017-07-26 08:08 PM, Riko Ho wrote:
>> Dear Yocto Team Member,
>>
>> The cluster is using Ubuntu.
>> I haven't checked all the packages on the other computer. I will.
>>
>> My goal is getting more hardrive space and compiling speed.
>>
>> How can I relate bitbake with mpicc or other compilers needed by 
>> yocto (arm-linux-gcc, gcc, etc)?
>
> Do you mean that you want to do part of the build using each node in 
> the cluster? That's possible now using distcc/icecream
> (https://github.com/icecc/icecream ) but I haven't done it in years
> as explained below.
>
> Oh, there's a Stack Overflow entry for YP+distcc/icecream:
>
> https://stackoverflow.com/questions/14472175/distributed-compile-with-bitbake 
>
>
> and distcc is mentioned in the docs:
>    http://www.yoctoproject.org/docs/2.3/dev-manual/dev-manual.html
>
>
> Anyway, this just distributes the compilation so:
>  - build management,
>  - recipe download, unpack, patch, configuring and packaging,
>  - linking, etc
> are still done centrally.
>
> There are plans to improve the bitbake task manager so that, with
> the recipe specific sysroot work that has been done in 2.2, we'd be
> able to farm out all of the stages of a package's build to individual
> nodes in a cluster:
>    https://bugzilla.yoctoproject.org/show_bug.cgi?id=10684
> I don't know if that work is a priority for the fall 2.4 release.
>
> Note that depending on your workload, inter-recipe dependencies and
> the long time taken to run configure for autotools-based packages is
> the bottleneck. Therefore, buying a high-end ( >= 16+16 core )
> system with lots (64GB+) RAM and a good IO sub-system results
> in core-image-minimal building quickly, certainly under 40 minutes.
>    https://wiki.yoctoproject.org/wiki/Build_Performance
>
> Also for repeated builds by one or more developers, sstate-cache is
> a huge speed-up with some cost in scripts and people to manage it.
>
>
> I've wondered if anyone has played with bitbake on an OS that is
> known as a single-system image:
>    https://en.wikipedia.org/wiki/Single_system_image
> On these systems, jobs are transparently moved from the master-node
> to idle nodes in the cluster by the operating system. That would be
> an interesting academic exercise but it wouldn't be useful in
> practice since such OSs are not generally used as far as I know at
> least.
>
> I look forward to hearing what your goals and plans are.
>
> ../Randy
>
>
>>
>> I have tested a small code with mpicc and the cluster do the job.
>>
>> Thanks for the attention.
>>
>> On Jul 27, 2017 3:23 AM, "Randy MacLeod" <randy.macleod at windriver.com 
>> <mailto:randy.macleod at windriver.com>> wrote:
>>  >
>>  > On 2017-07-26 02:09 AM, Riko Ho wrote:
>>  >>
>>  >> How can we do that ?
>>  >>
>>  >> bitbake in which node ? I don't understand ?
>>  >>
>>  >>
>>  >> On 26/07/17 13:57, Josef Holzmayr wrote:
>>  >>>
>>  >>> Hi
>>  >>>
>>  >>> On 26.07.2017 05:12, Riko Ho wrote:
>>  >>>>
>>  >>>> Does anyone know on how to run poky on mpich cluster ?
>>  >
>>  >
>>  > That's a rather ambiguous question.
>>  >
>>  > What OS/Distro is the mpich cluster running?
>>  > Have you installed the packages that are required on the host:
>>  >    see: "The Build Host Packages" here:
>>  >
>>  > 
>> http://www.yoctoproject.org/docs/2.3/yocto-project-qs/yocto-project-qs.html
>>  >
>>  > What do you hope to achieve using bitbake?
>>  >
>>  >
>>  >>>
>>  >>> As far as I can see, MPICH is a userland library, basically. So 
>> it would be the other way round, you could probably run a mpich 
>> application on a number of nodes that run some OE/Poky thing.
>>  >>>
>>  >>> Greetz
>>  >
>>  >
>>  > There is an mpich recipe here:
>>  > http://layers.openembedded.org/layerindex/recipe/33348/
>>  >
>>  > but again, it's not clear what your ultimate goal is.
>>  >
>>  > ../Randy
>>  >
>>  >>
>>  >> --
>>  >> *
>>  >>
>>  >>
>>  >> /*******/
>>  >> Sent by Ubuntu LTS 16.04,
>>  >> Kind regards,
>>  >> Riko Ho
>>  >> /*******/
>>  >>
>>  >> *
>>  >>
>>  >>
>>  >
>>  >
>>  > --
>>  > # Randy MacLeod. SMTS, Linux, Wind River
>>  > Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
>> Canada, K2K 2W5
>>
>
>

-- 
*

/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/

*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170728/71c78b9d/attachment.html>


More information about the yocto mailing list