Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:mathematica [2021/12/09 20:12]
goldenberg [VSC-2]
doku:mathematica [2022/09/20 13:41] (current)
groda [SLURM]
Line 2: Line 2:
  
  
-===== VSC-3 =====  
 === SLURM === === SLURM ===
-In order to be able to use Mathematica, you have to load the program with the ''module load xyz'' command+ 
 +In order to be able to use Mathematica, you need to load the program with the ''module load'' command
 <code> <code>
-[username@l32]$ module avail  # select a Mathematica version +[username@l32]$ module load Mathematica    # load the default Mathematica module 
-[username@l32]$ module load Mathematica/10.0.2 # load desired version +[username@l32]$ module list                # check loaded modules
-[username@l32]$ module list   # check loaded modules+
 Currently Loaded Modulefiles: Currently Loaded Modulefiles:
-  1) Mathematica/10.0.2  +  [...]  
 +      18) Mathematica/12.3.
 </code> </code>
-(See also the introduction to the [[https://wiki.vsc.ac.at/doku.php?id=doku:slurm|module command.]]) 
  
 +(See also the introduction to the [[https://wiki.vsc.ac.at/doku.php?id=doku:slurm|module command.]])
 Now, Mathematica can be called by Now, Mathematica can be called by
 <code> <code>
Line 78: Line 78:
 [username@l32]$ squeue -u username    # check state of your job [username@l32]$ squeue -u username    # check state of your job
 </code> </code>
 +
 +==== remote kernel connection ====
 +
 +The setup follows
 +[[https://cc-mathematik.univie.ac.at/services/vsc3-cluster/remote-mathematica-kernel/|Local mathematica with remote kernel]]
 +with the
 +
 +**Shell command to launch kernel:**
 +
 +for VSC3+
 +<code>
 +/Users/<LOCAL-USERNAME>/Library/tunnel.sh <VSC-USERNAME>@localhost:9998 /opt/sw/x86_64/generic/Mathematica/11.3/bin/math `linkname`
 +</code>
 +
 +for VSC4
 +<code>
 +/Users/<LOCAL-USERNAME>/Library/tunnel.sh <VSC-USERNAME>@localhost:9998 /opt/sw/vsc4/VSC/x86_64/generic/Mathematica/12.3.1/bin/math `linkname`
 +</code>
 +
 +Note that on VSC4, the salloc command [as described on the
 +cc-mathematik.univie.ac.at web link] does not need the Mathematica
 +license. Just leave the -L parameter away.
  • doku/mathematica.1639080734.txt.gz
  • Last modified: 2021/12/09 20:12
  • by goldenberg