The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-14-2009
CRGreathouse CRGreathouse is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 105
Quote:
Originally Posted by pludi View Post
How do you get the list of programs to be run?
The program will read in a text file with a bunch of numbers, do some processing on them, then create an array based on those numbers. Each element of the array will be passed through a function which will create an appropriate data set for that entry. The data will be used to create a temporary file and a command line argument using that file.

I didn't think this was relevant before so I didn't mention it. Basically, the program does some work and comes up with a list of commands to run.

Quote:
Originally Posted by pludi View Post
Are there any dependencies between the programs? If yes, how would you describe them?
Ah, that's a rather important question I forgot to address! The programs are independent. Dependencies make for complicated programs; mine is just a basic one.

Quote:
Originally Posted by pludi View Post
What should happen to stdout/stderr? Output to the console or saved somewhere?
I'd like it to be passed back to the program as a string, if possible. It should not be displayed.

Quote:
Originally Posted by pludi View Post
Do the programs require some kind of input once they're running?
This one I'm working on does not, but I'd like a method that could send input because other similar programs I'll write will probably need to do this.

-----Post Update-----

Quote:
Originally Posted by fpmurphy View Post
What OS are you planning to use this program on? Can you control processor affinity on this OS?
I just changed my OS to 64-bit Ubuntu 9.04. The programs are processor-intensive 64-bit programs with small-medium memory footprints.