Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenCARP Actors
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Numerical_Simulations_Lab
Cardiac
OpenCARP Actors
Commits
0fb35d0b
Commit
0fb35d0b
authored
1 year ago
by
KyleKlenk
Browse files
Options
Downloads
Patches
Plain Diff
started setting up ansible scripts
parent
c0367b77
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/ansible/hosts
+5
-0
5 additions, 0 deletions
tests/ansible/hosts
tests/ansible/start_simulation.yml
+44
-0
44 additions, 0 deletions
tests/ansible/start_simulation.yml
tests/input/config_test.toml
+2
-2
2 additions, 2 deletions
tests/input/config_test.toml
with
51 additions
and
2 deletions
tests/ansible/hosts
0 → 100644
+
5
−
0
View file @
0fb35d0b
[server]
simlab03.usask.ca
[client]
richardson.usask.ca
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/ansible/start_simulation.yml
0 → 100644
+
44
−
0
View file @
0fb35d0b
-
name
:
Start server
hosts
:
server
become
:
no
vars
:
server
:
simlab03.usask.ca
config_file
:
/code/openCARP-Actors/tests/input/config_test.toml
server_host_dir
:
/home/kck540/Cardiac-Projects/openCARP-Actors
container_dir
:
/code/openCARP-Actors
tasks
:
-
name
:
Start server
command
:
chdir
:
/home/kck540/Cardiac-Projects
cmd
:
screen -L -dmS server bash -c 'apptainer exec --bind /home/kck540/Cardiac-Projects/openCARP-Actors:/code/openCARP-Actors openCARP-actors.sif openCARP -c {{ config_file }} -s -p 4444'
-
name
:
Wait for server to start
wait_for
:
host
:
simlab03.usask.ca
port
:
4444
timeout
:
60
-
name
:
Start cleints
hosts
:
client
become
:
no
vars
:
server
:
simlab03.usask.ca
config_file
:
/code/openCARP-Actors/tests/input/config_test.toml
server_host_dir
:
/home/kck540/Cardiac-Projects/openCARP-Actors
container_dir
:
/code/openCARP-Actors
tasks
:
-
name
:
Clone repository
git
:
repo
:
https://git.cs.usask.ca/numerical_simulations_lab/cardiac/openCARP-Actors.git
dest
:
/home/kck540/Cardiac/openCARP-Actors
-
name
:
Start Client
command
:
chdir
:
/home/kck540/Cardiac
cmd
:
screen -L -dmS client bash -c 'apptainer exec --bind /home/kck540/Cardiac/openCARP-Actors:/code/openCARP-Actors openCARP-actors.sif openCARP -c {{ config_file }} -p 4444'
This diff is collapsed.
Click to expand it.
tests/input/config_test.toml
+
2
−
2
View file @
0fb35d0b
...
@@ -14,6 +14,6 @@ s2_args = ['openCARP', '+F', '/code/openCARP-Actors/tests/input/s2.par']
...
@@ -14,6 +14,6 @@ s2_args = ['openCARP', '+F', '/code/openCARP-Actors/tests/input/s2.par']
s2_min
=
100.0
s2_min
=
100.0
s2_max
=
500.0
s2_max
=
500.0
s2_interval_min
=
245
s2_interval_min
=
245
s2_interval_max
=
25
0
s2_interval_max
=
25
5
s2_interval_increment
=
5
s2_interval_increment
=
1
# skip_S1 = true # If True we use S1_max as the stimulus strength for S1 in the S2 simulation.
# skip_S1 = true # If True we use S1_max as the stimulus strength for S1 in the S2 simulation.
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