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: Phil Miller <mille121 AT illinois.edu>
  • To: "Sanchez, Denis" <dsanchez AT ceit.es>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] Charm++ & Qt
  • Date: Fri, 30 Jul 2010 10:13:23 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

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