User Tools

Site Tools


development:scripting_languages:mathematica

Differences

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

Link to this comparison view

Next revision
Previous revision
development:scripting_languages:mathematica [2019/10/12 07:54]
meesters created
development:scripting_languages:mathematica [2019/10/15 09:49] (current)
meesters [Submitting Jobs: Things to consider]
Line 31: Line 31:
 where where
  
-''​x''​ reflects the number of wanted cores ( 1 <= x <= 64 ; see below on how to retrieve this number within a script) +  * ''​x''​ reflects the number of wanted cores ( 1 <= x <= 64 ; see below on how to retrieve this number within a script) 
-''​xxx''​ the amount of memory required for the job (see the [[:​memory_reservation|memory reservation]] page for hints) +  ​* ​''​xxx''​ the amount of memory required for the job (see the [[:​memory_reservation|memory reservation]] page for hints) 
-''​sometime''​ the required [[:bsub|wall clock time]] +  ​* ​''​sometime''​ the required [[:slurm_submit|wall clock time]] 
-<path to script> should indeed be a valid path (relative paths should work, too)+  ​* ​<path to script> should indeed be a valid path (relative paths should work, too)
  
 A reminder: A reminder:
Line 40: Line 40:
   * If ''​x''​ = 64, please submit to **nodeshort** or **nodelong**. In this case just select with ''​-p <​partitionname>''​ a different partition.   * If ''​x''​ = 64, please submit to **nodeshort** or **nodelong**. In this case just select with ''​-p <​partitionname>''​ a different partition.
  
-===== Interactive ​Mathematica Session ​=====+===== Interactive ​Usage =====
  
-You can launch an interactive Mathematica session and use the program as you would on your desktop pc. Please note that this should only be done on the compute-nodes and not on the login-nodes. +Using Mathematica interactively ​can be done like for any other graphical user interface with [[:​slurm_submit|interactive jobs using salloc]].
- +
-<code bash> +
-[joe_user@login]$ srun -n<​ntasks>​ -p<​partition>​ -A<​account>​ -t<​time>​ --mem<​amount>​ --pty --preserve-env $SHELL ​  +
-</​code>​ +
- +
-<code bash> +
-[joe_user@node]$ Mathematica & +
-</​code>​+
  
 ===== SLURM specific Snippets ===== ===== SLURM specific Snippets =====
development/scripting_languages/mathematica.1570859661.txt.gz · Last modified: 2019/10/12 07:54 by meesters