Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1638 Discussions

hpat on DevCloud

László_S_
Beginner
1,749 Views

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.

0 Kudos
1 Solution
Adweidh_Intel
Moderator
1,749 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

0 Kudos
7 Replies
Adweidh_Intel
Moderator
1,750 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.

 

  

 

 

0 Kudos
László_S_
Beginner
1,749 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

0 Kudos
Adweidh_Intel
Moderator
1,749 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 !!

0 Kudos
László_S_
Beginner
1,749 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

0 Kudos
Adweidh_Intel
Moderator
1,749 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 !!

0 Kudos
László_S_
Beginner
1,749 Views

Solved, please close the ticket.

0 Kudos
Adweidh_Intel
Moderator
1,749 Views

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

0 Kudos
Reply