Hello everybody, I want to use FEFF8 in a program loop and redirect the stdout of this programm in a textfile. When I run the loop several times this textfile becomes very large. Does anybody know, if there is a way to suppress the stdout of FEFF8 ? Regards, Jochen
On Monday 26 October 2009 07:35:37 am Jochen Brendt wrote:
I want to use FEFF8 in a program loop and redirect the stdout of this programm in a textfile. When I run the loop several times this textfile becomes very large. Does anybody know, if there is a way to suppress the stdout of FEFF8 ?
Jochen, If you are using a program of your own to run Feff8, you would probably be best off managing Feff's output via that program. You'll find that Feff itself provides very little in terms of file management. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Hi Jochen,
Just to follow up on Bruce's response....
The short answer is No. Feff8 is hardwired to write to stdout.
Changing that would be a large task. It sounds like you are writing
a script to loop around running Feff8. If so, you can use system
level redirects
feff8 > output.txt
In fact, essentially all of the information sent to stdout is also
sent to log files. If you're on a Unix-like platform (linux, Mac OS
X, cygwin, ....), you can send the results to /dev/null and read the
appropriate log files.
If you are writing scripts to loop around Feff, I'd recommend making
sure that each run happens in its own directory.
--Matt
On Mon, Oct 26, 2009 at 6:35 AM, Jochen Brendt
Hello everybody,
I want to use FEFF8 in a program loop and redirect the stdout of this programm in a textfile. When I run the loop several times this textfile becomes very large. Does anybody know, if there is a way to suppress the stdout of FEFF8 ?
Regards, Jochen
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
On Monday 26 October 2009 12:17:38 pm Matt Newville wrote:
If you are writing scripts to loop around Feff, I'd recommend making sure that each run happens in its own directory.
The reason for that being that Feff happily clobbers any output from a previous run. Because of this, in both Artemis and Demeter, I have the software generate a new folder for each Feff calculation and keep track of things appropriately. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
participants (3)
-
Bruce Ravel
-
Jochen Brendt
-
Matt Newville