hdf5
Ansible Role: HDF5
Install HDF5 on Centos 7 from sources.
Work in progress
Requirements
None
Role Variables
//: <> (A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. )
Available variables are listed below, along with default values (see defaults/main.yml
):
Variable | Default | Comments |
---|---|---|
hdf5_version |
1.12.0 | Choose hdf5 version to install |
hdf5_install_dir |
/opt/HDF_Group/hdf5/ | Directory where to install hdf5 |
hdf5_module |
false | Create environment module |
hdf5_enable_fortran |
false | Enable fortran hdf5 |
hdf5_verbose |
false | Add some outputs in stdout |
hdf5_make_program |
make | Define make program (e.g. make, ninja, ...). Chosen make program must exist on the system. |
hdf5_make_jobs |
4 | Number of jobs for the build process |
hdf5_cmake_args |
auto | Arguments to pass to cmake . If set, overide auto presets. |
Dependencies
-- This role cannot be played independently (yet) --
Required roles:
- role:
korzeczl/gcc
Optional roles:
- role:
korzeczl/ninja
Example Playbook
//: <> (Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:)
- hosts: my_server
roles:
- role: korzeczl.gcc
- role: korzeczl.hdf5
License
Author Information
//: <> (An optional section for the role authors to include contact information, or a website (HTML is not allowed).)
This role was created in 2020 by Laurent Korzeczek.
ansible-galaxy install korzeczl/ansible-role-hdf5