How to avoid log files or make them generated in another directory?

Asked by kaiset on 2019-05-16

Hey guys, I am running a batch mode and up to one million simulations could be run. The log files almost drove me crazy. I have to select all of them and delete them manually and my computer may simply crash because it may not be able to process so many files simultaneously.
I am wondering whether there is a way to avoid the generation of log files or make them generate in another directory separate from the ./install/bin (so that I could just delete the whole folder without entering the folder and selecting many files).
Thanks a lot!

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2019-05-16
Last reply:
2019-05-16
Jan Stránský (honzik) said : #1

Hello,

have a look at yade batch doc (yade-batch --help) and the --log option.
For example, I am using
yade-batch ... --log /tmp/$.@.log
replace /tmp/ (deleted on system reboot) if necessary

cheers
Jan

Can you help with this problem?

Provide an answer of your own, or ask kaiset for more information if necessary.

To post a message you must log in.