deepmodeling / dpdispatcher

generate HPC scheduler systems jobs input scripts and submit these scripts to HPC systems and poke until they finish
https://docs.deepmodeling.com/projects/dpdispatcher/
GNU Lesser General Public License v3.0
42 stars 56 forks source link

Feature Request: hide the *.sub and *.run file in some other directory #400

Open ixsluo opened 10 months ago

ixsluo commented 10 months ago

When I submitting a jobgroup with thousands of jobs, many many *.sub and *.run files will be created in the working directory directly. This makes it very difficult to find other files.

Is it possible to move these files to some other directory named dpdispatcher-<jobgroup-id> (just for example)?

njzjz commented 10 months ago

ls supports hiding certain files:

ls --hide={*.sub,*.run}

If you want to hide these files by default, it's considerable to prepend a dot to the filenames.

ixsluo commented 10 months ago

ls supports hiding certain files:

ls --hide={*.sub,*.run}

If you want to hide these files by default, it's considerable to prepend a dot to the filenames.

Thanks for your advice. But I don't think it is a good idea to let users to change these files. Because users don't known that does rename/delete these file will affect running jobs/recover jobs or not. Most users won't change these file until they are sure their jobs are finished and the submission files are no longer needed.