Re: gtk+ and MPI



G' Day !

I'm sorry, I may not have explained myself properly.  My last post was a
question.

My typical GTK main is:

int main (int argc, char *argv[ ])
{
        gtk_init(&argc, &argv);

        CreateGtkWidgets ( );

        gtk_main ( );
 
        return (SUCCESS);
}

So everything is done outside of main.  So what I thought Stewart Adcock
said was,
initialize MPI, then start GTK frontend on the head node.

If all you need to do is launch a new MPI program from a button press. 
That should be the same as launching a regular C program, using system
calls, depending on the queying system on your beowulf.

I want to use a gtk frontend to a MPI program.

I am really looking forward to an example code anyone can provide to verify
my 
theories. (my test machine is down with harddrive failure :-(, so I can't
verify on my own).

cheers,
Jim Parker

On Sun, 03 Feb 2002, filipe marreiros wrote:
Date: Sun, 03 Feb 2002 20:56:47 +0000
To: gtk-app-devel-list gnome org
From: "filipe marreiros" <f_marreiros hotmail com>
Sender: gtk-app-devel-list-admin gnome org
Subject: gtk+ and MPI

Ok but if I want to parallize a algorithm that is outside main(), and it 
colled buy for example a button of gtk. Maybe this is not possible I
don't 
now . Thanks for the help



_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]