It works fine when I work with preinstalled Intel kernels however I want to work with my own custom conda environment.
I am tring to submit job from jupyter notebook itself with following command:
%%qsub
cd $PBS_O_WORKDIR
python PythonDemo.py
which needs "import cfxmagic" before it. I have tried pip install cfxmagic and conda install cfxmagic but both didn't work. kindly show me how to work with it directly from jupyter notebook with custom environment. Thankyou.
Any updates?
hi Aditya
if you just want to run your own python file as a job, here is one way I do it.
# Create script to run my_ownpython.py
Write_script("pathTo/runmy_python.sh", "python3 python/pathTo/my_ownpython.py")
# Run the script
job_id = !qsub pathTo/runmy_python.sh -l nodes=1:idc001skl:i5-6500te
if job_id:
print(job_id[0])
progressIndicator('results/', job_id[0]+'.txt', "Inference", 0, 100)
I know we do support your own python package installation in condo environment,
did you try pip3 install nameofyourPackage ?
For more complete information about compiler optimizations, see our Optimization Notice.