msimul is a C program. msimul.params is a text file containing initialisation
data for the simulation (msimul). All statements are printed to screen by 
the printf() function. In the case there is no parameter specified, I 
changed the source to read a default file .msimulrc and hence it works. I 
assumed that printf prints to STDOUT. There are no parameters that 
control printing in the msimul.params (or .msimulrc). 

-Karthik.

On Tue, 13 Jun 2000, Ray Olszewski wrote:

> In the first case, do the "diagnostic messages" simply vanish or do they
> print to the screen? (If the second, might they be printing to STDERR rather
> than STDOUT?)  Are there any settings in msimul.params that affect the
> printing of diagnostic messages. 
> 
> If the msimul program "requires" a parameter file, in what sense does the
> second invocation (which lacks a parameter file) "work"?
> 
> At 12:47 PM 6/13/00 -0400, Karthik Vishwanath wrote:
> >When I run a simulation, there are diagnostic messages printed onto the 
> >screen. The program also requires a parameter file. So mostly I run:
> >$ ./msimul msimul.params > msimul.out and I find that the file msimul.out is 
> >empty, where msimul.params is my parameters file.  What am I missing? And 
> >why does this work if I just run: $ msimul > msimul.out ? 
> 
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski                                        -- Han Solo
> Palo Alto, CA                                  [EMAIL PROTECTED]        
> ----------------------------------------------------------------
> 
> 

-------------------------------------
The universe is like a safe to which there is a combination -- but the
combination is locked up in the safe.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to