Re: GTK & MPI
- From: stian nixia no
- To: "Ian Strascina" <istrasci cs nmsu edu>
- Cc: gtk-list gnome org
- Subject: Re: GTK & MPI
- Date: Fri, 11 Feb 2005 19:22:51 +0100 (CET)
> Basically, I'm running some heavy computation on a Beowulf cluster... I
> need the main node (the one with the monitor) to do some graphical output
> of the computations... I have tried this in two ways: 1) I write my MPI
> code, and then start inserting GTK code into it... I want the main node
> to set up the GUI and then wait for it to start receiving information...
> However, I found out that as soon as this node calls gtk_main, it can no
> longer continue to the rest of its code (the data gathering)
don't use gtk_main. Use g_main_context_iteration instead and call that
from the the internal-main loops of your program. That is a good start..
Stian Skjelstad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]