- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If for example I want to install Go(lang) with Conda using the file named install_golang.sh that I created which contains the following:
#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh > /dev/null 2>&1
conda install -c conda-forge go
Where does it put the installed binary?
Also, I submit the command using qsub with:
qsub -l nodes=1:gpu:ppa=2 -d . install_golang.sh
I guess that I have to manually set the PATH environment variable to locate the installed Go binaries after the package was installed as there is no Environment Variables sharing.
Thanks for any hint/help.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for reaching out. You can find the binaries in the conda folder of the environment you’re working in.
> To find the path, follow the below steps.
conda env list //lists the paths of conda environments
>Path to find the binaries
cd ~/.conda/envs/<environment_name>/bin
OR
cd /home/uXXXXX/.conda/envs/<environment_name>/bin
And to submit the job, please execute the below step.
conda activate <environment_name> //Activate the required environment
qsub -l nodes=1:gpu:ppn=2 -d . install_golang.sh //ppn instead of ppa where ppn is process per node
To know more about job submission in devcloud, please refer: https://devcloud.intel.com/oneapi/documentation/job-submission/
> No need to set the PATH. After activating the conda environment where the packages are installed, the environment variables will be set automatically. Executing which go, displays the same path
$ which go
/home/uXXXXX/.conda/envs/<environment_name>/bin/go
Hope this helps
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard from you. Has the solution provided helped? Can we discontinue monitoring this thread?
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you, so we will close this inquiry now. If you need further assistance, please post a new question.
Regards
Gopika
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page