Slurm workflow
This guide is written to compile and run a program written in Fortran using Intel's compiler.
Unity can also load and run MATLAB, Python, R, Mathematica, etc. . To view the whole list of available modules while you're logged in to Unity, type: module avail
Follow along in an example file: SlurmTime.sh
Job workflow
Preparing Fortran files to run on Unity
If you reference a path, make sure it uses / instead of \
/ still works with Windows, according to the wisdom of the internet
E.g. if your input files are saved in \input\files, change it to /input/files
Compilation script / makefile
Linux uses -qopenmp instead of /Qopenmp
Linux uses -mkl instead of /Qmkl
Linux builds to .o files instead of .obj, so you may need to tweak the compile script
Compilation example included in sample file, "SlurmTime" above
Upload your working files
In your home folder ( ~ or /home/name.#/ ), use WinSCP to create a new folder
On the right side screen, click "New", then choose "Directory"
Use the default options, but change the name to something related to your project
Life is simpler if you don't use spaces when choosing a folder name