Difference between revisions of "Python"

From PDP/Grid Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Analysis packages usually do not work with the system version of python.  Installing a newer one yourself is possible, but not so easy in many cases and you might run out of disk space.  This wiki describes how to do it using Anaconda which is maintained by the PDP group and accessible from most Nikhef machines, as long as they are running SLC6 (do 'cat /etc/issue' to find out).  stbc-i2,i3,i4 work as well as all the stoomboot batch nodes with the exception of those in the 'legacy' queue.
 
Analysis packages usually do not work with the system version of python.  Installing a newer one yourself is possible, but not so easy in many cases and you might run out of disk space.  This wiki describes how to do it using Anaconda which is maintained by the PDP group and accessible from most Nikhef machines, as long as they are running SLC6 (do 'cat /etc/issue' to find out).  stbc-i2,i3,i4 work as well as all the stoomboot batch nodes with the exception of those in the 'legacy' queue.
 +
 +
'''If you need lots of non-python packages and the ability to compile and link stuff, you are likely better off following the SFT path explained elsewhere on this wiki.'''
  
 
These instructions assume that you use the bash shell.  If you don't use bash, just type "bash" before running any of the commands below.  Csh might be possible but if you're using csh you have bigger problems than getting python working ;-)   
 
These instructions assume that you use the bash shell.  If you don't use bash, just type "bash" before running any of the commands below.  Csh might be possible but if you're using csh you have bigger problems than getting python working ;-)   
Line 51: Line 53:
  
 
This project was done in collaboration with Daniela Remenska from the Netherlands eScience Center, in collaboration with Chris Tunnell from the XENON group.
 
This project was done in collaboration with Daniela Remenska from the Netherlands eScience Center, in collaboration with Chris Tunnell from the XENON group.
 
PS: right now we�re still in a test phase, but since I�ve been using anaconda myself for a year with no problems, I think the basic environment is fine.  The root support is still a bit experimental, I hope we can shake some bugs out by exposing it to you guys.
 

Latest revision as of 11:25, 29 November 2017