Skip to content
Snippets Groups Projects
Verified Commit 69fabbf7 authored by Reza Housseini's avatar Reza Housseini
Browse files

feat: add altair-edem installation instructions

parent f1c1b901
Branches
Tags
No related merge requests found
......@@ -93,7 +93,8 @@ gurobi:
- version: 9.5.2
prefix: gurobi
source: gurobi9.5.2_linux64.tar.gz
# TODO:
# Altair EDEM
# eSankey
altair_edem:
- version: 2021.1
prefix: altair-edem
source: AltairEDEM2021.1_linux64.bin
- name: Run interactive installer
ansible.builtin.expect:
command: "{{ installer }}"
responses:
"CHOOSE LOCALE BY NUMBER: ": "5"
" TO END: ": "0"
'DO YOU ACCEPT THE TERMS OF THIS LICENSE AGREEMENT\? \(Y/N\): ': "Y"
" : ": "{{ install_prefix }}"
' IS THIS CORRECT\? \(Y/N\): ': "Y"
"PRESS <ENTER> TO CONTINUE: ": '\n'
"PRESS <ENTER> TO EXIT THE INSTALLER: ": '\n'
creates: "{{ install_prefix }}/altair/EDEM{{ release.version }}/bin"
- name: Create module file
ansible.builtin.copy:
dest: "{{ install_prefix }}/module-file"
content: |
#%Module1.0
prepend-path -d ":" PATH "{{ install_prefix }}/altair/EDEM{{ release.version }}/bin"
prepend-path -d ":" LD_LIBRARY_PATH "{{ install_prefix }}/altair/EDEM{{ release.version }}/lib"
- name: Create module directory
ansible.builtin.file:
path: "{{ prop_modules_path }}/{{ release.prefix }}"
state: directory
mode: '0755'
- name: Create symbolic link to module-file
ansible.builtin.file:
src: "{{ install_prefix }}/module-file"
dest: "{{ prop_modules_path }}//{{ release.prefix }}/{{ release.version }}"
state: link
......@@ -33,7 +33,7 @@
dest: /etc/profile.d/guix-modules.sh
content: |
export GUIX_EXTENSIONS_PATH="$HOME/.guix-profile/share/guix/extensions"
- name: install needed dnf dependencies for matlab
- name: install needed dnf dependencies for matlab and altair-edem
ansible.builtin.shell:
cmd: dnf install alsa-lib
cmd: dnf install -y alsa-lib python3-pexpect
......@@ -80,12 +80,19 @@
# loop: "{{ carnot_toolbox }}"
# loop_control:
# loop_var: release
- name: Install gurobi
#- name: Install gurobi
# vars:
# archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
# install_prefix: "{{ install_path }}/{{ release.prefix }}/{{ release.version }}"
# ansible.builtin.include_tasks: install_gurobi.yaml
# loop: "{{ gurobi }}"
# loop_control:
# loop_var: release
- name: Install Altair EDEM
vars:
archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
installer: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
install_prefix: "{{ install_path }}/{{ release.prefix }}/{{ release.version }}"
tmp_prefix: "/tmp/{{ release.prefix }}_{{ release.version }}"
ansible.builtin.include_tasks: install_gurobi.yaml
loop: "{{ gurobi }}"
ansible.builtin.include_tasks: install_altair_edem.yaml
loop: "{{ altair_edem }}"
loop_control:
loop_var: release
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment