Sample submit script for non-gui mode. You can copy/paste this script below to your Shamu directory, call it math.qsub. Submit the job on Shamu with qsub math.qsub.

#!/bin/bash
#
# Your job name
#$ -N Mathematica
#
# Use current working directory
#$ -cwd
#
# Join stdout and stderr
#$ -j y
#
# pe (Parallel environment) request. Set your number of processors here.
#$ -pe openmpi 32
#
# Run job through bash shell
#$ -S /bin/bash
#
# Use this queue
#$ -q all.q
#
. /etc/profile.d/modules.sh

module load mathematica

math -run < my_mathematica_input_file.math

-- AdminUser - 07 Nov 2019

This topic: Main > WebHome > SoftwareAndApplications > Mathematica
Topic revision: 05 Feb 2020, AdminUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback