RISC-Linz RISC-Linz Research Institute for Symbolic Computation  
about
|
people
|
publications
|
research
|
education
|
industry
|
conferences
|
media
|
projects
internal
  
search:
  

Course Software at RISC

The following (mostly third party) software is available for use in courses: All of this software is freely available under GNU/Linux (partially also under MS Windows). If you are not familar with GNU/Linux, please study the tutorials
Introduction to Linux - A Hands on Guide
GNOME Desktop User Guide

To use this software for your course work, you have basically three options:
  1. Self installation: you may download and install the software on your local computer on your own.
    This is often not difficult but at your own risk; we cannot give installation support.
  2. Virtual machine: you may download a virtual machine with the pre-installed course software and run the software within the virtual machine on your local computer.
    To use this option, you have to install the free VirtualBox virtualization environment on your local computer; you also need sufficient main memory (1 GB) and free disk space (6 GB).

    This is the recommended way for using the course software.

  3. Remote login: you may login from your local computer to a machine in the RISC environment where the software is installed and run the software remotely.
    To use this option, you need a reasonably fast Internet connection and an efficient X11 server installed on your local computer.

    Use this option only if you cannot use the virtual machine.

The last two options are explained below.

Virtual Machine

You can run a virtual GNU/Linux machine (Debian 6 "squeeze") with the course software pre-installed on your own (MS Windows or Mac OS X or Linux) computer. All you need is To download and install VirtualBox, visit
VirtualBox
Download the appropriate VirtualBox binary and start the installation as described (MS Windows: just click on the .msi file).

After the installation, download the virtual machine stored in file

Debian6.ova
(about 2 GB large). Then start VirtualBox (MS Windows: menu entry "Programs/Oracle VM VirtualBox/VirtualBox") and import the virtual machine (choose "File->Import appliance", select the downloaded file, potentially adapt the configuration). Then start the virtual machine.

When you start the virtual machine, a Debian GNU/Linux system with the Gnome windows manager starts up. You may login as

User: guest
Password: guest
(there is also a superuser account "root" with password "root" for software installations/updates; after login as "guest", you may execute "su" to switch to this account). Click on the icon "Terminal" to open a terminal shell from which you can start the course software.

To exchange files between your computer and the virtual machine, some directory of your computer has to be mapped to the folder

  /home/guest/windows
in the home directory of user "guest". For this purpose, before starting the virtual machine, select the "Shared Folders" tab in the "Settings" menu of the VirtualBox manager. Press the "Add" button on the right to add a shared folder with name "windows" using the option "Auto-mount" and the path of an arbitrary directory (which must be writable) on your computer.

Remote Login

You can login to the RISC computing environment from any computer in the Internet. All you need is See also the reports
The Computer Environment at RISC and The Software Environment at RISC, respectively The Complete Guide to the Computer/Network/Software Environment at RISC (login with your RISC account).

Linux

On GNU/Linux computes with an X-Server running, you can type in a terminal window
  ssh -Y -l username speedy.risc.jku.at
(assuming that your account is named username). You will be asked for a password and can login to the machine "speedy" of the RISC environment. The ssh option "-Y" allows you to start programs with GUIs and have them displayed on your computer. After typing
  xterm &
a terminal window (executed on the RISC machine "speedy") should pop up on your computer.

MS Windows

For MS Windows computers, the free Xming software provides an X-Server together with the SSH client PuTTY.
Using slow Internet connections, work with the Xming server may be not very comfortable. I recommend to use this option mainly, if the "virtual machine" option described below is not possible to you.
To download and install Xming, visit
Xming X Server for Windows
Download from the section "Public releases" the executables "Xming" and "Xming-fonts" and run both for setup (complete installation, leave the default options, but have a desktop icon created for "XLaunch").

After the installation, start "XLaunch", select "Multiple windows", press "Next", Select "Start a program", press "Next", Select "Run Remote Using PuTTY (plink.exe)" and "With compression", enter "speedy.risc.jku.at", your username and password, press twice "Next" and then "Finish".

Now a terminal window (executed on the RISC machine "speedy") should pop up on your computer.

Account Configuration

Before you can execute the course software, you have to configure the environment of your RISC account by adding the following two lines to your initialization file in your RISC home directory (using e.g. the Gnome editor "gedit"):
tcsh users (file ".tcshrc", default at RISC)
  setenv PATH "$PATH":/zvol/formal/bin
bash users (file ".bashrc")
  export set PATH=$PATH:/zvol/formal/bin 
(Please note that a new line must be started after the last configuration line, otherwise the command will have no effect).

This command puts the directory with the RISC installation of the course software into your PATH (all software is installed in directory "/zvol/formal" with the executables in subdirectory "bin"). Now logout and login again (respectively start a new terminal window) and check whether executing the command

  jml --version
works and prints some version information.

Logout

Before logging out, make sure that you have no processes left running.

For this, enter

  ps -fu username
which will show a list of your processes with the corresponding process identifiers (PIDs). If you cannot close the corresponding application by normal means, enter
  kill -9 PID
to terminate the process.

To finally logout from the system, type

  exit
in the terminal window.

Never terminate a login session by just closing the terminal window.


Wolfgang Schreiner
Last modified: Thu Oct 27 08:38:02 CEST 2011