This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
supercomputer [2017/10/10 17:03] wingated |
supercomputer [2021/06/30 23:42] (current) |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| </code> | </code> | ||
| - | UPDATE: apparently, the following module file works better: | + | **UPDATE: apparently, the following module file works better:** |
| <code> | <code> | ||
| Line 67: | Line 67: | ||
| Simple enough, right? Also it is important to make sure we tell it how much memory and time we expect. If we give it a lot we will have less priority and have to weight longer for the job to start. | Simple enough, right? Also it is important to make sure we tell it how much memory and time we expect. If we give it a lot we will have less priority and have to weight longer for the job to start. | ||
| - | Now we just do execute ./slurm.sh to run it. | + | To submit your job, use the ''sbatch'' command, as in ''sbatch ./slurm.sh''. |
| ==== Pro Tips ==== | ==== Pro Tips ==== | ||
| * Make sure your tf code uses the GPU | * Make sure your tf code uses the GPU | ||
| * to see all your jobs status its helpful to make an alias with the command `watch squeue -u<username> --Format=jobid,numcpus,state,timeused,timeleft' | * to see all your jobs status its helpful to make an alias with the command `watch squeue -u<username> --Format=jobid,numcpus,state,timeused,timeleft' | ||