Difference between revisions of "Theano/Interactive"

From ScientificComputing
Jump to: navigation, search
Line 1: Line 1:
 
You can start an interactive Theano session on the login nodes by loading the corresponding modules and starting the Python interpreter.
 
You can start an interactive Theano session on the login nodes by loading the corresponding modules and starting the Python interpreter.
  
  [leonhard@euler09 ~]$ '''module load new python/2.7.12'''
+
  [leonhard@euler09 ~]$ '''module load new gcc/4.8.2 python/2.7.12'''
 
  [leonhard@euler09 ~]$ '''python'''
 
  [leonhard@euler09 ~]$ '''python'''
 
  Python 2.7.12 (default, Nov  2 2016, 13:46:00)  
 
  Python 2.7.12 (default, Nov  2 2016, 13:46:00)  

Revision as of 08:26, 22 August 2017

You can start an interactive Theano session on the login nodes by loading the corresponding modules and starting the Python interpreter.

[leonhard@euler09 ~]$ module load new gcc/4.8.2 python/2.7.12
[leonhard@euler09 ~]$ python
Python 2.7.12 (default, Nov  2 2016, 13:46:00) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import theano
>>> theano.__version__
'0.8.2'
>>>

Please note that you should use interactive sessions only for very short test that do not use a lot of CPU capacity. You have to submit all other computations as a batch job.