Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
922 Discussions

Where does Conda puts my installed packages?

Atias
Beginner
2,085 Views

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.

0 Kudos
3 Replies
Gopika_Intel
Moderator
2,049 Views

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

 

Gopika_Intel
Moderator
2,008 Views

Hi,

We have not heard from you. Has the solution provided helped? Can we discontinue monitoring this thread?

Regards

Gopika


Gopika_Intel
Moderator
1,967 Views

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


Reply