justanhduc / task-spooler

A scheduler for GPU/CPU tasks
https://justanhduc.github.io/2021/02/03/Task-Spooler.html
GNU General Public License v2.0
273 stars 24 forks source link

non-sudo installation #18

Closed ShuyangCao closed 2 years ago

ShuyangCao commented 2 years ago

Thanks again for this wonderful tool. I wonder if the tool can be installed without sudo.

justanhduc commented 2 years ago

Hi @ShuyangCao. Thanks for the nice words! Technically, ts should not require sudo as long as it can write into the tmp folder. The installation can just be in the local home folder. Let me check it out and get back to you soon.

justanhduc commented 2 years ago

Hello @ShuyangCao. I pushed a local installation script to branch local-install. You can install without sudo by make followed by make install-local. Let me know if there is any issue with it.

ShuyangCao commented 2 years ago

@justanhduc It works perfectly! Thanks! I would suggest adding this local-install version to the main branch. This would be very helpful for those who do not have sudo on the machine.

justanhduc commented 2 years ago

@ShuyangCao Thanks. I will include this in the next release.