Difference between revisions of "Pubapps slurm-drmaa"

From UFRC
Jump to navigation Jump to search
(Created page with "Category:PubApps Access to computational resources within the PubApps infrastructure is done via SLURM scheduler similarly to how it's used on HiPerGator. SLURM can be us...")
(No difference)

Revision as of 19:30, 13 June 2019


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.