Page 1 of 1

no printout in terminal

Posted: 16 Nov 2010, 08:19
by Thorsten
Hey everybody,

I would like to tell elegant, that it should not print out anything into the terminal while running. I'm talking about the command lines of the *.ele file as well as the "computed value for ..." stuff corresponding to the lattice. It should just be quiet. Is this possible? Thanks,

Thorsten

Re: no printout in terminal

Posted: 16 Nov 2010, 09:15
by michael_borland
Thorsten,

This can be done by putting the following at the top of the command file:

&global_settings
echo_namelists = 0,
log_file = "/dev/null"
error_log_file = "/dev/null",
&end

The /dev/null is for Linux. I'm not sure what the null device would be for windows or mac.

You probably want to ask for a semaphore file to be created so you can verify that the run works:
&run_setup
...
semaphore_file = %s.done
...
&end

--Michael

Re: no printout in terminal

Posted: 16 Nov 2010, 09:27
by ywang25
/dev/null can be used for mac as well.
NUL can be used for Windows.

Yusong