[Beowulf] METIS Partitioning within program
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
richard.walsh at comcast.net richard.walsh at comcast.netSat Aug 15 05:57:51 PDT 2009
- Previous message: [Beowulf] METIS Partitioning within program
- Next message: [Beowulf] METIS Partitioning within program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Amjad,
Have you thought of using the system call:
"system(const char *string);"
Type "man system" for a description. You can pass any string
to the shell to be run with this call. For instance:
system("date > date.out");
would instruct the shell to place the current date and time
in the file date.out. If the command you wish to run changes
cyclically y ou would have to manage the changes from inside
the program. I am assuming a C program here.
Regards,
rbw
----- Original Message -----
From: "amjad ali" <amjad11 at gmail.com>
To: "Beowulf Mailing List" <beowulf at beowulf.org>
Sent: Friday, August 14, 2009 6:44:44 PM GMT -06:00 US/Canada Central
Subject: [Beowulf] METIS Partitioning within program
Hi all,
For my parallel code to run, I first make grid partitioning on command line then for running the parallel code I give hard-code the path of METIS-partition files. It is very cumbersome if I need to run code with different grids and for different -np value. Please tell me how to call METIS partitioning routine from within the program run so that whatever -np value would be we are at ease.
THANKS A LOT FOR YOUR ATTENTION.
Regards,
Amjad Ali.
_______________________________________________ Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scyld.com/pipermail/beowulf/attachments/20090815/8a9913ae/attachment.html
- Previous message: [Beowulf] METIS Partitioning within program
- Next message: [Beowulf] METIS Partitioning within program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
