compute:pythongpu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| compute:pythongpu [2024/12/11 15:42] – bjorns | compute:pythongpu [2024/12/11 15:48] (current) – bjorns | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| '' | '' | ||
| \\ | \\ | ||
| - | But you must run this code test with sbatch\\ | + | But you must run this code test with **sbatch**, send your job to the cluster\\ |
| - | Create a python file dummy.py with these command\\ | + | Create a python file dummy.py with the test-GPU |
| \\ | \\ | ||
| Update the sbatch script file, mine is called **oneJob.sh**\\ | Update the sbatch script file, mine is called **oneJob.sh**\\ | ||
| Line 29: | Line 29: | ||
| Then check your log file (default name is myJob.log) for the result\\ | Then check your log file (default name is myJob.log) for the result\\ | ||
| \\ | \\ | ||
| - | Installing Tensorflow is same process, we recommend a different virtual environment if you want to try both of them\\ | + | Installing Tensorflow is same process, we recommend |
| Make sure to instruct pip in this way, to get all necessary packages '' | Make sure to instruct pip in this way, to get all necessary packages '' | ||
| \\ | \\ | ||
compute/pythongpu.1733931726.txt.gz · Last modified: 2024/12/11 15:42 by bjorns