Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-cluster-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCL
ansible-cluster-config
Commits
3c132648
Commit
3c132648
authored
1 year ago
by
Florian Hammer
Browse files
Options
Downloads
Patches
Plain Diff
Added gerris and a dependency of gerris, gts
parent
abf53737
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cluster_config/software.yaml
+10
-0
10 additions, 0 deletions
cluster_config/software.yaml
install_gerris.yaml
+42
-0
42 additions, 0 deletions
install_gerris.yaml
install_gts.yaml
+41
-0
41 additions, 0 deletions
install_gts.yaml
install_software.yaml
+33
-15
33 additions, 15 deletions
install_software.yaml
with
126 additions
and
15 deletions
cluster_config/software.yaml
+
10
−
0
View file @
3c132648
...
@@ -97,3 +97,13 @@ altair_edem:
...
@@ -97,3 +97,13 @@ altair_edem:
-
version
:
2021.1
-
version
:
2021.1
prefix
:
altair-edem
prefix
:
altair-edem
source
:
AltairEDEM2021.1_linux64.bin
source
:
AltairEDEM2021.1_linux64.bin
gerris
:
-
version
:
131206
prefix
:
gerris
source
:
gerris-snapshot-131206.tar.gz
gts
:
-
version
:
121130
prefix
:
gts
source
:
gts-snapshot-121130.tar.gz
This diff is collapsed.
Click to expand it.
install_gerris.yaml
0 → 100644
+
42
−
0
View file @
3c132648
-
name
:
Create unpack directory
ansible.builtin.file
:
path
:
"
{{
tmp_prefix
}}"
state
:
directory
mode
:
'
0755'
-
name
:
Unpack the archive
ansible.builtin.unarchive
:
src
:
"
{{
archive
}}"
dest
:
"
{{
tmp_prefix
}}"
remote_src
:
yes
extra_opts
:
[
--strip-components=1
]
-
name
:
Rename MPI function call
ansible.builtin.replace
:
path
:
"
{{
tmp_prefix
}}/src/init.c"
regexp
:
"
MPI_Errhandler_set"
replace
:
"
MPI_Comm_set_errhandler"
-
name
:
Create installation directory
ansible.builtin.file
:
path
:
"
{{
install_prefix
}}"
state
:
directory
mode
:
'
0755'
-
name
:
Configure and make
ansible.builtin.shell
:
cmd
:
"
source
/etc/profile;modulesld;module
load
openmpi-4.1.6;module
load
gts;./configure
--prefix={{
install_prefix
}};make
-j4;make
install"
chdir
:
"
{{
tmp_prefix
}}"
-
name
:
Create module file
ansible.builtin.copy
:
dest
:
"
{{
install_prefix
}}/module-file"
content
:
|
#%Module1.0
prepend-path -d ":" PATH "{{ install_prefix }}/bin"
setenv LC_ALL C
-
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
This diff is collapsed.
Click to expand it.
install_gts.yaml
0 → 100644
+
41
−
0
View file @
3c132648
-
name
:
Create unpack directory
ansible.builtin.file
:
path
:
"
{{
tmp_prefix
}}"
state
:
directory
mode
:
'
0755'
-
name
:
Unpack the archive
ansible.builtin.unarchive
:
src
:
"
{{
archive
}}"
dest
:
"
{{
tmp_prefix
}}"
remote_src
:
yes
extra_opts
:
[
--strip-components=1
]
-
name
:
Create installation directory
ansible.builtin.file
:
path
:
"
{{
install_prefix
}}"
state
:
directory
mode
:
'
0755'
-
name
:
Configure and make
ansible.builtin.shell
:
cmd
:
"
./configure
--prefix={{
install_prefix
}};make
-j4;make
install"
chdir
:
"
{{
tmp_prefix
}}"
-
name
:
Create module file
ansible.builtin.copy
:
dest
:
"
{{
install_prefix
}}/module-file"
content
:
|
#%Module1.0
prepend-path -d ":" PATH "{{ install_prefix }}/bin"
prepend-path -d ":" LD_LIBRARY_PATH "{{ install_prefix }}/lib"
# setenv GTS_LIBS "{{ install_prefix }}/lib"
# setenv GTS_CFLAGS "{{ install_prefix }}/include"
prepend-path -d ":" PKG_CONFIG_PATH "{{ install_prefix }}/lib/pkgconfig"
setenv LC_ALL C
-
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
This diff is collapsed.
Click to expand it.
install_software.yaml
+
33
−
15
View file @
3c132648
...
@@ -30,11 +30,11 @@
...
@@ -30,11 +30,11 @@
ansible.builtin.copy
:
ansible.builtin.copy
:
src
:
cluster-channels.scm
src
:
cluster-channels.scm
dest
:
/home/OST/software/.config/guix/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 guix-modules
#
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 }}"
...
@@ -61,16 +61,16 @@
...
@@ -61,16 +61,16 @@
# loop: "{{ comsol }}"
# loop: "{{ comsol }}"
# loop_control:
# loop_control:
# loop_var: release
# loop_var: release
-
name
:
Install Ansys
#
- name: Install Ansys
vars
:
#
vars:
archive_prefix
:
"
{{
asset_path
}}/{{
release.prefix
}}"
#
archive_prefix: "{{ asset_path }}/{{ release.prefix }}"
mount_point_prefix
:
"
/tmp/{{
release.prefix
}}_{{
release.version
}}"
#
mount_point_prefix: "/tmp/{{ release.prefix }}_{{ release.version }}"
mount_point
:
"
/tmp/{{
release.prefix
}}_{{
release.version
}}_full"
#
mount_point: "/tmp/{{ release.prefix }}_{{ release.version }}_full"
install_prefix
:
"
{{
install_path
}}/{{
release.prefix
}}/{{
release.version
}}"
#
install_prefix: "{{ install_path }}/{{ release.prefix }}/{{ release.version }}"
ansible.builtin.include_tasks
:
install_ansys.yaml
#
ansible.builtin.include_tasks: install_ansys.yaml
loop
:
"
{{
ansys
}}"
#
loop: "{{ ansys }}"
loop_control
:
#
loop_control:
loop_var
:
release
#
loop_var: release
#- name: Install Matlab
#- name: Install Matlab
# vars:
# vars:
# archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
# archive: "{{ asset_path }}/{{ release.prefix }}/{{ release.source }}"
...
@@ -105,3 +105,21 @@
...
@@ -105,3 +105,21 @@
# loop: "{{ altair_edem }}"
# loop: "{{ altair_edem }}"
# loop_control:
# loop_control:
# loop_var: release
# loop_var: release
-
name
:
Install GTS
vars
:
archive
:
"
{{
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_gts.yaml
loop
:
"
{{
gts
}}"
loop_control
:
loop_var
:
release
-
name
:
Install Gerris
vars
:
archive
:
"
{{
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_gerris.yaml
loop
:
"
{{
gerris
}}"
loop_control
:
loop_var
:
release
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment