ipython-cluster-helper icon indicating copy to clipboard operation
ipython-cluster-helper copied to clipboard

Batch and log file destination

Open nspies opened this issue 9 years ago • 3 comments

Is there any way to direct where the batch submission and log files get placed? If I specify a large number of jobs, my working directory gets filled with a huge number of these files.

nspies avatar Jun 02 '16 16:06 nspies

Hi @nspies,

Sorry there isn't a way to specify where the batch files end up. They should all have the same prefix though so you can easily delete them with a sge_* or something similar.

roryk avatar Jun 10 '16 15:06 roryk

Alright, thanks. BTW, is this something that ipyparallel is controlling? I see that the batch_file_name argument gets passed on to from ipyparallel.apps import launcher but that's as far as I've gone. I can file a ticket there if it makes more sense to do that.

nspies avatar Jun 10 '16 15:06 nspies

Hi @nspies,

We generate the batch_file_name, so could theoretically append a working directory name to it, but I'm not 100% sure how the different schedulers will resolve where the working directory is, if it is where the batch file is or where the batch file is submitted from.

roryk avatar Jun 10 '16 15:06 roryk