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
45 stars 57 forks source link

Set useful environment variables #477

Closed njzjz closed 3 months ago

njzjz commented 3 months ago

It is useful to set some environment variables like DPDISPATCHER_NCPUS and DPDISPATCHER_NGPUS. One can use them in the command, without needing to update the command when updating the resources.