Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I am running FDS on my Linux machine (or Unix machine) and I cannot stop the diagnostic printout from outputing to the screen. What should I do?

0
Posted

I am running FDS on my Linux machine (or Unix machine) and I cannot stop the diagnostic printout from outputing to the screen. What should I do?

0

Run the job as follows: fds4 & whatever.err & What is going on is that UNIX/Linux uses two different streams for outputting messages; one is called “standard output” and one called “standard error”. FDS outputs diagnostic messages to the console using the FORTRAN unit 0 which UNIX/Linux sends to the “standard error” stream. The problem occured because “>” only re-directs the “standard output” stream to a file. To re-direct both the “standard output” and “standard error” streams, you need to use the “>&” re-direction symbol. To complicate matters further, the above explanation is only true if you are using the CSH or TCSH command shells. If you are using the Bourne shell then stream re-direction is handled differently and you’ll have to read a man page on the shell you are using (or ask your system administrator to switch you to the CSH or TCSH shells).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123