Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 67D69E00C69; Wed, 26 Jul 2017 20:39:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.83.68 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (antonius.riko[at]gmail.com) * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [74.125.83.68 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 203C8E00B87 for ; Wed, 26 Jul 2017 20:39:19 -0700 (PDT) Received: by mail-pg0-f68.google.com with SMTP id d193so19148738pgc.2 for ; Wed, 26 Jul 2017 20:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=s+cfY/ztqSbJp3yaA+a1/cBMwAOuRs5FZjbxPWAsxyk=; b=VJS7IwEFbBC4Ii+WX81BTFAv6oXKMPAy38ZJ/QTln/bBFDxULCJ51oJG53YxSTzpvv z0hvdF5sveOdqRSekl65LqWrT9zZyNvDHMUbYRegsQ0VSZhI4qRDnaj0TaYbwVTethXa z/QE6sqTqPRe2rq+xX6q1mEQqvX24gEq8a8F2SbP3H0V2fXmsv1j++Md6Kqp3e/TyKRY yVC7NMyQ4hORNTiQ7g4yo/zfIPGfdIVawl+Zegb4RsB8TCVqMaTazk2+G/PKuRucKInj PM4TSjH5j7ILww7rdD6gyNyaCbrPFRFvSCWfSOvJKUsQsvhjumyJiEbQNwFnPdqimbLy vTxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=s+cfY/ztqSbJp3yaA+a1/cBMwAOuRs5FZjbxPWAsxyk=; b=M7KS7jklSaqE+JP5fcB4uCPiA3Hjj4m3SfsYv1APpyuX2gSj2P0GPVLdySeWg+58pp dxYmymXfUUv8UA8GcR+HrZv8/qMRamBzmbyAVtKDGOslS5nmVCrBcrBGgs+8ea9UZeIZ d3HPG/vxSbbA79PUxAeRxNAcVJ3N5I+z4nLkkrqNC+T8o8ErZsk2gAIoo11qKOOA81Tb nbLIUwbTUa5G9P+3A6Ds6Y0PWyzfSEpFD9yv71VXNM9TtRy0IClLj8lzrf29rUyOxMkc iCyeNgOfc5S7JJyc6C63ck6JbIFe2jE86GHuX6gB2obqfIGGDqCJVMgCIkqA5UsEhMpQ FaWg== X-Gm-Message-State: AIVw112lboAUk+YfUn58v0Y3Dsh3rQFV4fBzZ022I6ut0F6tph5zvepj yQRAcOLoj9QSTVoG X-Received: by 10.84.232.197 with SMTP id x5mr2966108plm.329.1501126758772; Wed, 26 Jul 2017 20:39:18 -0700 (PDT) Received: from ?IPv6:2001:8003:804a:b500:8d40:2cc5:d4f4:a895? ([2001:8003:804a:b500:8d40:2cc5:d4f4:a895]) by smtp.gmail.com with ESMTPSA id s11sm32905369pgr.53.2017.07.26.20.39.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jul 2017 20:39:18 -0700 (PDT) To: Randy MacLeod References: <3917f163-9def-7069-ea70-0a9a943e8dc0@rsi-elektrotechnik.de> <118eb01a-00c6-7aff-3e4b-ce3ee56a9841@gmail.com> <515b47cb-90af-21e0-7e40-2af2be9326ce@windriver.com> <8a379ee0-7123-947e-3a1c-f9413bb3d604@windriver.com> From: Riko Ho Message-ID: Date: Thu, 27 Jul 2017 11:39:14 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <8a379ee0-7123-947e-3a1c-f9413bb3d604@windriver.com> Cc: "yocto@yoctoproject.org" Subject: Re: Mpich and yocto ? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jul 2017 03:39:21 -0000 Content-Type: multipart/alternative; boundary="------------772CD68C1FE962F53385B27F" Content-Language: en-US --------------772CD68C1FE962F53385B27F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear Yocto Team Member, Thanks for the reply, So : "YP+distcc/icecream" is equal to MpichCluster ? or that one is inside MpichCluster, I have tested : https://help.ubuntu.com/community/MpichCluster I don't have a fancy systems as you said below, but I have a spare motherboards, memories and hard drives for a test on a small cluster, at least making my compilation time faster and get more space. Ok, I'll have a look on those links below and keep posted, 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" > > 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 /*******/ * --------------772CD68C1FE962F53385B27F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Dear Yocto Team Member,

Thanks for the reply,

So :

"YP+distcc/icecream" is equal to MpichCluster ? or that one is inside MpichCluster,

I have tested :

https://help.ubuntu.com/community/MpichCluster

I don't have a fancy systems as you said below, but I have a spare motherboards, memories and hard drives for a test on a small cluster, at least making my compilation time faster and get more space.

Ok, I'll have a look on those links below and keep posted, 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@windriver.com <mailto:randy.macleod@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
/*******/

--------------772CD68C1FE962F53385B27F--