no printout in terminal

Moderators: cyao, michael_borland

Post Reply
Thorsten
Posts: 2
Joined: 29 Oct 2010, 02:09

no printout in terminal

Post by Thorsten » 16 Nov 2010, 08:19

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

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: no printout in terminal

Post by michael_borland » 16 Nov 2010, 09:15

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

ywang25
Posts: 52
Joined: 10 Jun 2008, 19:48

Re: no printout in terminal

Post by ywang25 » 16 Nov 2010, 09:27

/dev/null can be used for mac as well.
NUL can be used for Windows.

Yusong

Post Reply