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...")
 
 
Line 3: Line 3:
 
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.
 
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  
+
For command-line use add <code>/opt/slurm/bin</code> to the $PATH
/opt/slurm/bin
 
to the $PATH
 
 
   
 
   
 
For programmatic use add, for example,
 
For programmatic use add, for example,

Latest revision as of 19:31, 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.