Index of /examples/mathematica/examples/HPC

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]job.hpc 2019-02-19 11:35 332  
[   ]multicore_ex.m 2019-02-19 11:34 823  

RCS sample Mathematica code


This directory contains a simple to run a Mathematica script on multicores.

Descriptions


The multicore_ex.m is a simple Mathematica script that makes use of multicores.
The job.hpc is a batch script for submitting the job.

Usage


On SCC, execute this command to submit the job,

qsub job.hpc

Note that the environment variable OMP_NUM_THREADS is set to be equal to NSLOTS in the batch script. If running this example in an interactive session, execute these commands,

module load mathematica
export OMP_NUM_THREADS=$NSLOTS
wolfram -script multicore_ex.m

Contact Information

RCS help: help@scc.bu.edu

Helpful Links:

Mathematica parallel computing