charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: "Kale, Laxmikant V" <kale AT cs.uiuc.edu>
- To: "Sanchez, Denis" <dsanchez AT ceit.es>, "Miller, Philip B" <mille121 AT illinois.edu>
- Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>, "kale AT illinois.edu" <kale AT illinois.edu>
- Subject: Re: [charm] Charm++ & Qt
- Date: Fri, 30 Jul 2010 10:49:33 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Do you want to run it as an application on a single multicore computer (e.g.
desktop?) or a cluster?
If it is a cluster, you are already talking about separate processes anyway.
For multicore, it is possible to dig deeper into the system (i.e. in
COnverseInit) to the point where the Charm++ main function is called, and try
to interface Qt code there.. But I'd think its going to be a bit messy. You
can of course do a separate pthread within the same process.
Sanjay
--
Laxmikant Kale http://charm.cs.uiuc.edu
Professor, Computer Science
kale AT illinois.edu
201 N. Goodwin Avenue Ph: (217) 244-0094
Urbana, IL 61801-2302 FAX: (217) 265-6582
> -----Original Message-----
> From:
> charm-bounces AT cs.uiuc.edu
>
> [mailto:charm-bounces AT cs.uiuc.edu]
> On
> Behalf Of Sanchez, Denis
> Sent: Friday, July 30, 2010 10:39 AM
> To: Miller, Philip B
> Cc:
> charm AT cs.uiuc.edu
> Subject: Re: [charm] Charm++ & Qt
>
> I have considered that possibility. The point is that, were it to be
> possible to have in a process better (for internal reasons at CEIT,
> where I do my research). At first I thought of being possible in that
> way, because in the Main::Main of Charm++ doesn't have a loop at first
> sight.
>
> I will try to see if I can do in that way, if not I will read about de
> CCS, as it is a solution proposed by Charm++ as an option to Shm, pipe
> or so forth.
>
> Thank you for reading and for your help,
>
> Denis
>
> Ps: If anyone wants to see the code, it is a bit messy code, but
> essentially is that.
>
> http://dl.dropbox.com/u/5414176/Charm%2B%2BPrueba.rar
> ________________________________________
> De:
> unmobile AT gmail.com
>
> [unmobile AT gmail.com]
> En nombre de Phil Miller
> [mille121 AT illinois.edu]
> Enviado el: viernes, 30 de julio de 2010 17:13
> Para: Sanchez, Denis
> CC:
> charm AT cs.uiuc.edu
> Asunto: Re: [charm] Charm++ & Qt
>
> Do the Qt code and the Charm++ code strictly need to be in the same
> process?
>
> Have you considered interfacing them through the CCS (Converse
> Client-Server) protocol, or through a pipe or shared memory segment?
>
> The general programming-model level issue you face is that both Charm
> and Qt will have their own "main event loop". Allowing them both to
> make progress in their own way would be tricky.
>
> Phil
>
> On Fri, Jul 30, 2010 at 04:50, Sanchez, Denis
> <dsanchez AT ceit.es>
> wrote:
> > Hello to everybody,
> >
> > Is there a posibility to include in a Qt program Charm++??. I mean,
> the initial idea was to make a simple Charm++ program and form
> Main::Main(CkArgsMsg *msg) launch the QApplication. When doing this in
> the creation of the QApplication object (at run-time, compiles & links
> perfectly) says "floating point exception".
> >
> > Thus, is it possible to have Charm++ and Qt in the same application
> or do I have to make 2 different processes (on Charm++ and the other
> Qt) and the with sockets or shm or whatever, communicate between
> them???
> >
> > Thank you in advance and congratulations for Charm++.
> >
> > Denis
> > _______________________________________________
> > charm mailing list
> > charm AT cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/charm
> >
> >
>
> _______________________________________________
> charm mailing list
> charm AT cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/charm
- [charm] Charm++ & Qt, Sanchez, Denis, 07/30/2010
- Re: [charm] Charm++ & Qt, Isaac Dooley, 07/30/2010
- Re: [charm] Charm++ & Qt, Phil Miller, 07/30/2010
- Re: [charm] Charm++ & Qt, Sanchez, Denis, 07/30/2010
- Re: [charm] Charm++ & Qt, Kale, Laxmikant V, 07/30/2010
- Re: [charm] Charm++ & Qt, Kale, Laxmikant V, 07/30/2010
- Re: [charm] Charm++ & Qt, Sanchez, Denis, 07/30/2010
Archive powered by MHonArc 2.6.16.