Skip to content

Mathematica License

Aim: get a license for Wolfram Mathematica software

Prerequisites

  • SSH
  • Putty or openSSH

Instructions

To get a Mathematica license outside Nikhef a SSH tunnel must be made to the license server via IPv4. This can be done with different implementation of SSH (e.g., OpenSSH and PuTTY). The following ports must be connected to the server from localhost:

16286:odet.nikhef.nl:16286
16287:odet.nikhef.nl:16287

Open a terminal with OpenSSH installed:

ssh -4 -L 16286:odet.nikhef.nl:16286 -L 16287:odet.nikhef.nl:16287 <username>@login.nikhef.nl

Open a terminal with OpenSSH installed:

ssh -4 -L 16286:odet.nikhef.nl:16286 -L 16287:odet.nikhef.nl:16287 <username>@login.nikhef.nl

In PuTTY the tunnels can be added through via Connection -> SSH -> Tunnels. Put them on IPv4!

In the local Mathematica Licensing folder a line must be added to mathpass (before !odet):

!localhost

Usage

If the tunnel is active, Mathematica can be used outside Nikhef. The number of licenses is limited, exit the program when not actively using it!