L4Linux and L4Re communication

Björn Döbel doebel at os.inf.tu-dresden.de
Fri Apr 25 09:24:29 CEST 2014

Hash: SHA1


> In term of running hello world in L4Linux, I can run it by passing
> -m32 -static in the compilation process. But, now I'm having a
> problem in running the mpi-based application on L4Linux which this
> apps needs the mpi library to be able to run. I have ported the mpi
> library and run the apps over L4Re by using Ned. So, based on the
> explanation above, I don't understand how to run the mpi-based
> program on top L4Linux in which the L4Linux definitely doesn't have
> mpi-library because the mpi-library is existed in L4Re. Is it like
> this, the l4linux kernel needs the device driver to communicate
> with external L4 apps (in my case mpi-base apps), then to trigger
> the communication we should make the kernel module (linux program
> to talk to the l4linux kernel). Am I right? Can you point one
> example, which is similar with my case, that can be followed by
> me?

I see two different scenarios here:

1. Your MPI application is supposed to run as a Linux application in
- -> In this case all you need is an MPI library installed in the Linux
   distribution that you boot L4Linux into. E.g., if you are using
   some custom ramdisk, simply add a (Linux) MPI library to this disk
   and your program will then use it. No L4 magic necessary at all.

2. Your MPI application is supposed to run directly on L4Re
- -> In this case you don't need any Linux or L4Linux in the setup.
   You build your L4Re program and link it with your ported MPI
   library and then it should run.

Does that answer your question or am I missing your point?

Regarding MPI and L4Re: We had a student port MPICH to L4Re last year.
His thesis is at http://os.inf.tu-dresden.de/papers_ps/jahn-beleg.pdf
but I'm not sure if his code ever made it to a public repository (aka:
i don't have it ;) ).

Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/


More information about the l4-hackers mailing list