Community
cancel
Showing results for 
Search instead for 
Did you mean: 
László_S_
Beginner
226 Views

hpat on DevCloud

Jump to solution

I was hoping to experiment with hpat on the system, getting ready for data-intensive work in the cloud. However, I do not see it installed and even the preset channels do not include the module even though it is on the Intel channel on Anaconda, albeit with a 'test' label.

Please let me know if you could get hpat to work.

Tags (1)
0 Kudos
1 Solution
Adweidh_Intel
Moderator
226 Views

Thanks for reaching out to us.

Kindly follow below steps to get hpat installed in a conda environment :

conda create -n env_hpat -c intel python=3.6  
source activate env_hpat 
conda install -c intel -c intel/label/test hpat

Try to import hpat from python terminal. 

Hope this helps.

 

  

 

 

View solution in original post

7 Replies
Adweidh_Intel
Moderator
227 Views

Thanks for reaching out to us.

Kindly follow below steps to get hpat installed in a conda environment :

conda create -n env_hpat -c intel python=3.6  
source activate env_hpat 
conda install -c intel -c intel/label/test hpat

Try to import hpat from python terminal. 

Hope this helps.

 

  

 

 

View solution in original post

László_S_
Beginner
226 Views

Thanks, this sounds cool.

I must be confused by the setup though — if I installed everything from a terminal, why can't activate the environment in a new notebook?

!source activate env_hpat

gave me 

/bin/sh: 1: source: not found

Adweidh_Intel
Moderator
226 Views

Kindly follow below steps to use your conda environment from jupyter notebook :


Activate the conda environment from the terminal.

source activate env_hpat

Install ipykernel

conda install ipykernel

ipython kernel install --name env_hpat --user

Now open the jupyter and select the "env_hpat" from Kernel option. ( path : jupyter -> kernel -> change kernel -> env_hpat) 

Hope this works !!

László_S_
Beginner
226 Views

Thanks again, so far so good!

Btw, a bland `conda update conda` before everything else failed, even though it attempted to update a surprising number of packages. (DevCloud promised to keep us on the bleeding edge, but you must know if some things are unstable or incompatible with other things.)

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
  environment location: /glob/intel-python/versions/2018u2/intelpython3
  uid: 34333
  gid: 34333

Adweidh_Intel
Moderator
226 Views

Hope your initial query was resolved.

Kindly raise a new thread for your new query.

Please confirm whether issue related to hpat on devcloud is resolved, so that we can close it !!

László_S_
Beginner
226 Views

Solved, please close the ticket.

Adweidh_Intel
Moderator
226 Views

This issue had been resolved and the thread is now closed. If you have a similar question, please start a new thread

Reply