Mpich and yocto ?
Dear Yocto Member,
Does anyone know on how to run poky on mpich cluster ?
Thanks,
Signature · 9 lines
* /*******/ Sent by Ubuntu LTS 16.04, Kind regards, Riko Ho /*******/ *
Hi
Quoted 1 line · Riko Ho
Does anyone know on how to run poky on mpich cluster ?
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
Signature · 19 lines
Josef Holzmayr Software Developer Embedded Systems Tel: +49 8444 9204-48 Fax: +49 8444 9204-50 R-S-I Elektrotechnik GmbH & Co. KG Woelkestrasse 11 D-85301 Schweitenkirchen www.rsi-elektrotechnik.de ——————————————— Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg Ust-IdNr: DE 128592548 _____________________________________________________________ Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg USt-IdNr.: DE 128592548
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 8 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
Does anyone know on how to run poky on mpich cluster ?
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
Signature · 9 lines
* /*******/ Sent by Ubuntu LTS 16.04, Kind regards, Riko Ho /*******/ *
Quoted 10 lines · Riko Ho
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 4 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
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?
Quoted 4 lines
Quoted 4 lines
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
Quoted 13 lines
Signature · 10 lines
-- * /*******/ Sent by Ubuntu LTS 16.04, Kind regards, Riko Ho /*******/ *
Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
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)?
I have tested a small code with mpicc and the cluster do the job.
Thanks for the attention.
Quoted 14 lines · Randy MacLeod
Quoted 12 lines · Riko Ho
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 5 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Quoted 6 lines
What do you hope to achieve using bitbake?
Quoted 2 lines
Quoted 2 lines
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.
Quoted 22 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 11 lines
--
*/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/
Quoted 8 lines
Quoted 3 lines
*
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,
Canada, K2K 2W5
Quoted 8 lines · Riko Ho
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
Quoted 70 lines
I have tested a small code with mpicc and the cluster do the job.
Thanks for the attention.
Quoted 14 lines · On Jul 27, 2017 3:23 AM, "Randy MacLeod" <[email protected]…
Quoted 12 lines · Riko Ho
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 5 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Quoted 6 lines
What do you hope to achieve using bitbake?
Quoted 2 lines
Quoted 2 lines
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.
Quoted 22 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 11 lines
--
*/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/Quoted 8 lines
Quoted 3 lines
*
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,Canada, K2K 2W5
Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5
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.
Quoted 133 lines · Randy MacLeod
Quoted 8 lines · Riko Ho
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.htmlAnyway, 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=10684I 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_PerformanceAlso 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
Quoted 70 lines
I have tested a small code with mpicc and the cluster do the job.
Thanks for the attention.
Quoted 14 lines · On Jul 27, 2017 3:23 AM, "Randy MacLeod" <[email protected]…
Quoted 12 lines · Riko Ho
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 5 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Quoted 6 lines
What do you hope to achieve using bitbake?
Quoted 2 lines
Quoted 2 lines
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.
Quoted 22 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 11 lines
--
*/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/Quoted 8 lines
Quoted 3 lines
*
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,Canada, K2K 2W5
Signature · 9 lines
* /*******/ Sent by Ubuntu LTS 16.04, Kind regards, Riko Ho /*******/ *
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
Quoted 133 lines · Randy MacLeod
Quoted 8 lines · Riko Ho
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.htmlAnyway, 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=10684I 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_PerformanceAlso 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
Quoted 70 lines
I have tested a small code with mpicc and the cluster do the job.
Thanks for the attention.
Quoted 14 lines · On Jul 27, 2017 3:23 AM, "Randy MacLeod" <[email protected]…
Quoted 12 lines · Riko Ho
How can we do that ?
bitbake in which node ? I don't understand ?
Quoted 5 lines · Josef Holzmayr
Hi
Quoted 1 line · Riko Ho
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
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
Quoted 6 lines
What do you hope to achieve using bitbake?
Quoted 2 lines
Quoted 2 lines
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.
Quoted 22 lines
Quoted 2 lines
Quoted 2 lines
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
Quoted 11 lines
--
*/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/Quoted 8 lines
Quoted 3 lines
*
--
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON,Canada, K2K 2W5
Signature · 9 lines
* /*******/ Sent by Ubuntu LTS 16.04, Kind regards, Riko Ho /*******/ *
Quoted 1 line · Riko Ho
/usr/bin/install: cannot create regular file '/usr/local/lib/libicecc.la': Permission denied
Riko,
:)
I assume you have to be root to install under /usr/local on your system.
We're happy to help with Yocto specific questions here but general introductory linux questions should go to google/baidu or some other forum; perhaps this link will help:
https://www.reddit.com/r/linux/comments/1hzz03/what_is_the_best_irc_channel_for_discussing/
I'd be happy to answer one or two question offline to get you started.
Good luck.
Signature · 2 lines
# Randy MacLeod. SMTS, Linux, Wind River Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5