Skip to Content.
Sympa Menu

charm - Re: [charm] Charm++ & Qt

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Charm++ & Qt


Chronological Thread 
  • From: "Sanchez, Denis" <dsanchez AT ceit.es>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] Charm++ & Qt
  • Date: Fri, 30 Jul 2010 17:38:42 +0200
  • Accept-language: es-ES, en-US
  • Acceptlanguage: es-ES, en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

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
>
>





Archive powered by MHonArc 2.6.16.

Top of Page