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

feat: reintroduce older starccm+ and ansys versions

parent e8be70bd
No related branches found
No related tags found
No related merge requests found
0.2.0 0.3.0
\ No newline at end of file \ No newline at end of file
File added
...@@ -31,6 +31,12 @@ star_ccm_plus: ...@@ -31,6 +31,12 @@ star_ccm_plus:
source: linux/STAR-CCM+18.02.008_01_linux-x86_64-r8.tar.gz source: linux/STAR-CCM+18.02.008_01_linux-x86_64-r8.tar.gz
executable: starccm+ executable: starccm+
gnu_version: 11.2 gnu_version: 11.2
- version: 17.02.008
prefix: star-ccm+
source: linux/STAR-CCM+17.02.008_01_linux-x86_64-r8.tar.gz
executable: starccm+
gnu_version: 9.2
ansys: ansys:
- version: 2023.r2 - version: 2023.r2
...@@ -45,6 +51,19 @@ ansys: ...@@ -45,6 +51,19 @@ ansys:
cfx: cfx5 cfx: cfx5
polyflow: polyflow polyflow: polyflow
fluent: fluent fluent: fluent
- version: 2022.r2
prefix: ansys
source:
- ansys2022r2/linux/ANSYS2022R2_LINX64_Disk1.iso
- ansys2022r2/linux/ANSYS2022R2_LINX64_Disk2.iso
- ansys2022r2/linux/ANSYS2022R2_LINX64_Disk3.iso
version_folder: v222
icepak_version_folder: icepak22.2
executable:
cfx: cfx5
polyflow: polyflow
fluent: fluent
# installation keys have to be put into "secrets" folder # installation keys have to be put into "secrets" folder
matlab: matlab:
......
...@@ -38,6 +38,15 @@ ...@@ -38,6 +38,15 @@
loop: "{{ release.source }}" loop: "{{ release.source }}"
loop_control: loop_control:
index_var: idx index_var: idx
- name: Remove mount directory
ansible.builtin.shell:
cmd: rm -rf "{{ mount_point }}"
- name: remove mount directories
ansible.builtin.shell:
cmd: rm -rf "{{ mount_point_prefix }}_disc{{ idx }}"
loop: "{{ release.source }}"
loop_control:
index_var: idx
- name: Create module file - name: Create module file
ansible.builtin.copy: ansible.builtin.copy:
dest: "{{ install_prefix }}/module-file" dest: "{{ install_prefix }}/module-file"
......
...@@ -21,11 +21,20 @@ ...@@ -21,11 +21,20 @@
path: "{{ secrets_path }}" path: "{{ secrets_path }}"
state: directory state: directory
mode: '0755' mode: '0755'
- name: create guix config directory
ansible.builtin.file:
path: /home/OST/software/.config/guix
state: directory
mode: '0755'
- name: Copy channels file
ansible.builtin.copy:
src: cluster-channels.scm
dest: /home/OST/software/.config/guix/channels.scm
- name: install needed guix dependencies - name: install needed guix dependencies
ansible.builtin.shell: ansible.builtin.shell:
cmd: guix install fuseiso cmd: guix install fuseiso guix-modules
#- name: Install guix modules - name: Install guix modules
# ansible.builtin.include_tasks: install_guix_modules.yaml ansible.builtin.include_tasks: install_guix_modules.yaml
#- name: Install Star-CCM+ #- name: Install Star-CCM+
# vars: # vars:
# archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}" # archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
......
...@@ -35,3 +35,6 @@ ...@@ -35,3 +35,6 @@
src: "{{ install_prefix }}/{{ release.version }}/module-file" src: "{{ install_prefix }}/{{ release.version }}/module-file"
dest: "{{ prop_modules_path }}//{{ release.prefix }}/{{ release.version }}" dest: "{{ prop_modules_path }}//{{ release.prefix }}/{{ release.version }}"
state: link state: link
- name: remove installation files
ansible.builtin.shell:
cmd: rm -rf "{{ installation_files }}"
...@@ -82,3 +82,21 @@ ...@@ -82,3 +82,21 @@
ansible.builtin.copy: ansible.builtin.copy:
src: cluster_config/slurm.conf src: cluster_config/slurm.conf
dest: /etc/slurm/slurm.conf dest: /etc/slurm/slurm.conf
- name: install libnsl-2.28.so on head
ansible.builtin.copy:
src: assets/libnsl-2.28.so
dest: /usr/lib64/libnsl-2.28.so
- name: create symbolic link to libnsl.so.1 on head
ansible.builtin.shell:
cmd: cd /usr/lib64;ln -s libnsl-2.28.so libnsl.so.1
- name: install libnsl-2.28.so on nodes
ansible.builtin.copy:
src: assets/libnsl-2.28.so
dest: /data/libnsl-2.28.so
- name: copy libnsl-2.28.so to nodes
ansible.builtin.shell:
cmd: cexec 'cp /data/libnsl-2.28.so /usr/lib64';rm /data/libnsl-2.28.so
- name: create symbolic link to libnsl.so.1 on nodes
ansible.builtin.shell:
cmd: cexec 'cd /usr/lib64;ln -s libnsl-2.28.so libnsl.so.1'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment