How can I run a script from an scpecific node and activating a conda environment?
0
votes
1
answer
656
views
I have a python program that runs inside a conda environment installed in a specific node of a cluster. I would like to submit it into qsub but just need help.
My script is:
#!/bin/bash
source conda activate myenv
pyhton3.6 myprogram.py
I have already tried:
- ssh **node** 'export SGE_ROOT=/usr/local/run/ge2011.11; /usr/local/run/ge2011.11/bin/linux-x64/qsub script.sh'
but says
Unable to run job: denied: host "**node**" is no submit hot. Exiting
- qsub cwd -V qu=**node** script.sh
but says
Unable to read script because of error: error opening cwd;error opening qu=**node**
Thanks!
Asked by TYSH
(37 rep)
Dec 12, 2020, 02:03 PM
Last activity: Feb 18, 2021, 09:52 AM
Last activity: Feb 18, 2021, 09:52 AM