Jython/Interactive

From ScientificComputing
Jump to: navigation, search

In order to start an interative Jython session, you first need to load the following modules:

[leonhard@euler06 ~]$ module load gcc/4.8.2 python/2.7.6 java/1.8.0_31 jython/2.7.0

You can then afterwards start the Jython interpreter with the command jython:

[leonhard@euler06 ~]$ jython
Picked up _JAVA_OPTIONS: -XX:ParallelGCThreads=1
*sys-package-mgr*: can't write cache file for '/cluster/apps/jython/2.7.0/x86_64/jython.jar'
*sys-package-mgr*: can't write index file
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_31
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Please do not run extensive computations in interactive sessions. All computations need to be submitted through the batch system.