Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
362a091c
Commit
362a091c
authored
4 years ago
by
Sven Marcus
Browse files
Options
Downloads
Patches
Plain Diff
Use deploy template for vf wheel deploy
parent
67be76eb
No related branches found
No related tags found
1 merge request
!6
Proper Python simulation tests
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-12
2 additions, 12 deletions
.gitlab-ci.yml
apps/cpu/poiseuille_example/poiseuille.cpp
+2
-4
2 additions, 4 deletions
apps/cpu/poiseuille_example/poiseuille.cpp
with
4 additions
and
16 deletions
.gitlab-ci.yml
+
2
−
12
View file @
362a091c
...
...
@@ -431,7 +431,7 @@ clang-tidy:
vf_to_phoenix
:
extends
:
.deploy_template
stage
:
deploy
needs
:
[
"
gcc_9_python"
]
needs
:
[
"
gcc_9_python"
,
"
gcc_9_unit_tests"
,
"
gcc_9_python_bindings_test"
]
variables
:
SSH_KEY
:
"
$SSH_PRIVATE_KEY"
...
...
@@ -447,6 +447,7 @@ vf_to_phoenix:
-
y0054816
vf_wheel_to_jupyterhub
:
extends
:
.deploy_template
stage
:
deploy
only
:
[
"
schedules"
]
...
...
@@ -459,17 +460,6 @@ vf_wheel_to_jupyterhub:
REMOTE_USER
:
"
jupyter_host"
jupyter_host
:
"
jupyter_host"
before_script
:
-
'
command
-v
ssh-agent
>/dev/null
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
apt-get install -y rsync
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
eval $(ssh-agent -s)
-
echo "$SSH_KEY" | tr -d '\r' | ssh-add -
-
echo $SSH_KEY >> ansible/private_key
-
ssh-keyscan -t rsa $HOST >> ~/.ssh/known_hosts
-
pip3 install ansible
script
:
-
ansible-playbook -i ansible/hosts.cfg -u $REMOTE_USER ansible/playbook_jupyter_update.yml
...
...
This diff is collapsed.
Click to expand it.
apps/cpu/poiseuille_example/poiseuille.cpp
+
2
−
4
View file @
362a091c
...
...
@@ -27,10 +27,9 @@ int main()
const
auto
communicator
=
MPICommunicator
::
getInstance
();
const
auto
kernel
=
std
::
make_shared
<
CompressibleCumulant4thOrderViscosityLBMKernel
>
();
kernel
->
setBCProcessor
(
std
::
make_shared
<
BCProcessor
>
());
kernel
->
setForcingX1
(
1e-6
*
lbmUnitConverter
->
getFactorForceWToLb
());
BoundaryConditionsBlockVisitor
boundaryConditionsBlockVisitor
{};
auto
grid
=
std
::
make_shared
<
Grid3D
>
();
grid
->
setDeltaX
(
deltaX
);
grid
->
setPeriodicX1
(
true
);
...
...
@@ -49,8 +48,6 @@ int main()
ppblocks
->
process
(
0
);
ppblocks
.
reset
();
kernel
->
setBCProcessor
(
std
::
make_shared
<
BCProcessor
>
());
const
auto
metisVisitor
(
std
::
make_shared
<
MetisPartitioningGridVisitor
>
(
communicator
,
MetisPartitioningGridVisitor
::
LevelBased
,
D3Q27System
::
B
));
...
...
@@ -93,6 +90,7 @@ int main()
InitDistributionsBlockVisitor
initVisitor
{};
BoundaryConditionsBlockVisitor
boundaryConditionsBlockVisitor
{};
grid
->
accept
(
initVisitor
);
grid
->
accept
(
setConnsVisitor
);
grid
->
accept
(
boundaryConditionsBlockVisitor
);
...
...
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