OSC / osc-ood-config

Configuration for OSC's OnDemand Deployments
MIT License
2 stars 1 forks source link

desktops can now correctly use srun & sbatch by setting exports to all #156

Closed johrstrom closed 3 years ago

johrstrom commented 3 years ago

desktops can now correctly use srun & sbatch by setting exports to all.

Previously folks would have to run srun --export=ALL ... to get Slurm to recognize the PATH or other environment variables. This also fixes a bug where desktops in parallel queues have all the cores on the machine but srun does not recognize this fact.