Skip to content

slothai/ansible-openblas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible OpenBLAS installation from source

Build Status Ansible Galaxy

This role installs and configures OpenBLAS library, used for scientific computations.

Requirements

This role requires Ansible 2.0 or higher. No other dependencies.

Install

ansible-galaxy install slothai.openblas

Role variables

The variables that can be passed to this role and a brief description about them are as follows. (For all variables, take a look at defaults/main.yml)

openblas_path: /opt/OpenBLAS
openblas_version: 0.2.19
openblas_no_affinity: 1  # NO_AFFINITY=1 flag
# Uncomment line below to set USE_OPENMP. Its enabled for multi-core systems.
# openblas_use_openmp: 1

It uses {{ansible_processor_vcpus}} threads by default and enables USE_OPENMP=1 for 2+ cpus.

Dependencies

None

License

MIT