I've written a Mathematica notebook and subsequently saved it as a
.m file, so that I can run it on an HPC. When I opened it, the
.m file had the form
::Package:: ::Input:: "some code" ::Input:: "some code"
and so on. When I tried to get the Mathematica module on the HPC to run this file it spat out a syntax error saying that
::input:: are undefined. I have to admit, I usually run everything in a Mathematica notebook in the front-end of the Mathematica software, so I'm unsure if I'm using the
.m file correctly. What is the problem here?