Sage: Unterschied zwischen den Versionen

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen
imported>Burghardt
imported>Burghardt
Zeile 1: Zeile 1:
 
'''<cite>''Sage is a free open-source mathematics software system licensed under the GPL.''</cite>'''
 
'''<cite>''Sage is a free open-source mathematics software system licensed under the GPL.''</cite>'''
   
== Version 6.x im Pool ==
+
== Version 7.5.x im Pool ==
  +
Im Pool und auf den [[Shell]]-Servern steht sage ebenfalls zur Verfügung.
Seit dem 16.05.2014 steht "Sage" auch im Pool unter Ubuntu 14.04 zur Verfügung. Damit steht jedem einzelnen Nutzer eine eigene Quadcore CPU und 4GiB Ram zur Verfügung :-)
 
   
 
''Jeder'' User kann einfach einen lokalen Server starten:
 
''Jeder'' User kann einfach einen lokalen Server starten:
   
<pre>~$ sage
+
<pre>
  +
user@shell2:~$ sage
 
┌────────────────────────────────────────────────────────────────────┐
 
┌────────────────────────────────────────────────────────────────────┐
Sage Version 6.2, Release Date: 2014-05-06
+
SageMath version 7.5.1, Release Date: 2017-01-15
 
│ Type "notebook()" for the browser-based notebook interface. │
 
│ Type "notebook()" for the browser-based notebook interface. │
 
│ Type "help()" for help. │
 
│ Type "help()" for help. │
 
└────────────────────────────────────────────────────────────────────┘
 
└────────────────────────────────────────────────────────────────────┘
 
sage: notebook( port=12002 )
 
sage:
 
sage: notebook()
 
 
The notebook files are stored in: sage_notebook.sagenb
 
The notebook files are stored in: sage_notebook.sagenb
┌────────────────────────────────────────────────┐
 
│ │
 
│ Open your web browser to http://localhost:8080
 
│ │
 
└────────────────────────────────────────────────┘
 
Executing twistd --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
 
/usr/lib/sagemath/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
 
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
 
2014-05-16 11:42:01+0200 [-] Log opened.
 
2014-05-16 11:42:01+0200 [-] twistd 13.2.0 (/usr/lib/sagemath/local/bin/python 2.7.5) starting up.
 
2014-05-16 11:42:01+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
 
2014-05-16 11:42:01+0200 [-] QuietSite starting on 8080
 
2014-05-16 11:42:01+0200 [-] Starting factory <__builtin__.QuietSite instance at 0x7b932d8>
 
   
(process:3733): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
 
   
   
  +
Please choose a new password for the Sage Notebook 'admin' user.
  +
Do _not_ choose a stupid password, since anybody who could guess your password
  +
and connect to your machine could access or delete your files.
  +
NOTE: Only the hash of the password you type is stored by Sage.
  +
You can change your password by typing notebook(reset=True).
   
^C2014-05-16 11:45:02+0200 [-] Quitting all running worksheets...
 
2014-05-16 11:45:02+0200 [-] Saving notebook...
 
2014-05-16 11:45:02+0200 [-] Notebook cleanly saved.
 
2014-05-16 11:45:02+0200 [-] (TCP Port 8080 Closed)
 
2014-05-16 11:45:02+0200 [-] Stopping factory <__builtin__.QuietSite instance at 0x7b932d8>
 
2014-05-16 11:45:02+0200 [-] Main loop terminated.
 
2014-05-16 11:45:02+0200 [-] Server Shut Down.
 
</pre>
 
   
<big>Die beim starten von "Notebook()" auftretende Fehlermeldungen können ignoriert werden.</big>
 
   
  +
Enter new password:
  +
Retype new password:
  +
Please login to the notebook with the username 'admin' and the above password.
  +
User admin created with the password you specified.
  +
  +
  +
  +
**********************************************************************
  +
  +
  +
┌──────────────────────────────────────────────────┐
 
 
│ Open your web browser to http://localhost:12002
 
  +
└──────────────────────────────────────────────────┘
 
</pre>
   
  +
At this point your default browser will open this url.
   
  +
Terminate the notebook session with <tt>Ctr-C</tt> and exit sage with <tt>quit</tt>.
=== Updates ===
 
* 03.09.2015: "sage" ersetzt durch "sage2" --> https://sage2.informatik.uni-goettingen.de
 
   
  +
The <tt>port=12002</tt> parameter is only relevant on shared sytems to keep concurrent notebooks apart. Otherwise the default (port=8080) is fine.
* xx.xx.2017: Generationswechsel ''innerhalb des Cip Pools'' führte zur lokalen Verfügbarkeit:
 
~$ sagemath --version
 
SageMath version 7.5.1, Release Date: 2017-01-15
 
   
 
== Version 8.x (Autumn 2018) on sage.informatik ==
 
== Version 8.x (Autumn 2018) on sage.informatik ==

Version vom 12. Oktober 2018, 06:38 Uhr

Sage is a free open-source mathematics software system licensed under the GPL.

Version 7.5.x im Pool

Im Pool und auf den Shell-Servern steht sage ebenfalls zur Verfügung.

Jeder User kann einfach einen lokalen Server starten:

user@shell2:~$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.5.1, Release Date: 2017-01-15                   │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: notebook( port=12002 )     
The notebook files are stored in: sage_notebook.sagenb



Please choose a new password for the Sage Notebook 'admin' user.
Do _not_ choose a stupid password, since anybody who could guess your password
and connect to your machine could access or delete your files.
NOTE: Only the hash of the password you type is stored by Sage.
You can change your password by typing notebook(reset=True).



Enter new password: 
Retype new password: 
Please login to the notebook with the username 'admin' and the above password.
User admin created with the password you specified.



**********************************************************************


┌──────────────────────────────────────────────────┐
│                                                  │
│ Open your web browser to http://localhost:12002  │
│                                                  │
└──────────────────────────────────────────────────┘

At this point your default browser will open this url.

Terminate the notebook session with Ctr-C and exit sage with quit.

The port=12002 parameter is only relevant on shared sytems to keep concurrent notebooks apart. Otherwise the default (port=8080) is fine.

Version 8.x (Autumn 2018) on sage.informatik

Pre-Announcement:

  • xx.09.2018: We'll upgrade to Version 8.x by switching to a new instance on Ubuntu Bionic (18.04). This old instance will vanish in Oktober, so please grab your data while it's available. This will be a new VM. To allow usage of both instances (for a short while) it will use the name "sage" instead of "sage2", so the URL will be https://sage.informatik.uni-goettingen.de
  • this is unrelated to the version available in the CIP-Pool which will stay at 7.x as the pool runs on Ubuntu Xenial (16.04) for now

Siehe auch

Links