I want my output stream to be directed to a specific file and I want that file to include the jobid. How does one do this?
My example script that does not work as intended:
#!/homes/miranda9/.conda/envs/automl-meta-learning/bin/python
#PBS -V
#PBS -M brando.science@gmail.com
#PBS -m abe
#PBS -e="experiment_output_job.%j.%N.out"
#PBS -o="experiment_output_job.%j.%N.out"
#PBS -lselect=1:ncpus=30
I’ve tried many combinations of different things but I don’t want to bore you with the failed attempts. What actually works?
related but eventually useless SO question: https://stackoverflow.com/questions/9096959/how-to-specify-error-log-file-and-output-file-in-qsub