Pubapps slurm-drmaa

From UFRC
Revision as of 19:31, 13 June 2019 by Moskalenko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Access to computational resources within the PubApps infrastructure is done via SLURM scheduler similarly to how it's used on HiPerGator. SLURM can be used on PubApps using command-line or via a python drmaa module that uses the python-drmaa library.

For command-line use add /opt/slurm/bin to the $PATH

For programmatic use add, for example,

os.environ['DRMAA_LIBRARY_PATH'] = '/opt/slurm-drmaa/lib/libdrmaa.so'

to the WSGI configuration for the application or its equivalent.

See https://drmaa-python.readthedocs.io/en/latest/ for Python DRMAA reference.