Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Incompact3d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container 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
s2006749
Incompact3d
Commits
8225eedd
Unverified
Commit
8225eedd
authored
2 years ago
by
slaizet
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update generate_reference_test_data.yml
parent
961db0de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/generate_reference_test_data.yml
+7
-7
7 additions, 7 deletions
.github/workflows/generate_reference_test_data.yml
with
7 additions
and
7 deletions
.github/workflows/generate_reference_test_data.yml
+
7
−
7
View file @
8225eedd
...
@@ -17,14 +17,14 @@ jobs:
...
@@ -17,14 +17,14 @@ jobs:
id
:
cache-openmpi
id
:
cache-openmpi
uses
:
actions/cache@v2
uses
:
actions/cache@v2
with
:
with
:
path
:
openmpi-4.1.
2
/installed
path
:
openmpi-4.1.
4
/installed
key
:
openmpi-4.1.
2
key
:
openmpi-4.1.
4
-
name
:
Build openmpi
-
name
:
Build openmpi
if
:
steps.cache-openmpi.outputs.cache-hit != 'true'
if
:
steps.cache-openmpi.outputs.cache-hit != 'true'
run
:
|
run
:
|
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.
2
.tar.gz
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.
4
.tar.gz
tar -xf openmpi-4.1.
2
.tar.gz
tar -xf openmpi-4.1.
4
.tar.gz
cd openmpi-4.1.
2
/ && mkdir installed
cd openmpi-4.1.
4
/ && mkdir installed
./configure --prefix=$(pwd)/installed
./configure --prefix=$(pwd)/installed
make all install
make all install
-
name
:
Record metadata
-
name
:
Record metadata
...
@@ -33,13 +33,13 @@ jobs:
...
@@ -33,13 +33,13 @@ jobs:
echo "Incompact3d HEAD: $(git rev-parse HEAD)" >> metadata.txt
echo "Incompact3d HEAD: $(git rev-parse HEAD)" >> metadata.txt
echo "make cmd: make" >> metadata.txt
echo "make cmd: make" >> metadata.txt
echo "run cmd: mpirun -np 2 xcompact3d" >> metadata.txt
echo "run cmd: mpirun -np 2 xcompact3d" >> metadata.txt
export PATH=$(pwd)/openmpi-4.1.
2
/installed/bin/:$PATH
export PATH=$(pwd)/openmpi-4.1.
4
/installed/bin/:$PATH
echo "mpif90 version: $(mpif90 --version | head -1)" >> metadata.txt
echo "mpif90 version: $(mpif90 --version | head -1)" >> metadata.txt
echo "mpirun version: $(mpirun --version | head -1)" >> metadata.txt
echo "mpirun version: $(mpirun --version | head -1)" >> metadata.txt
mv metadata.txt test/data/Taylor-Green-Vortex/
mv metadata.txt test/data/Taylor-Green-Vortex/
-
name
:
Build Incompact3d and run TGV reference test case
-
name
:
Build Incompact3d and run TGV reference test case
run
:
|
run
:
|
export PATH=$(pwd)/openmpi-4.1.
2
/installed/bin/:$PATH
export PATH=$(pwd)/openmpi-4.1.
4
/installed/bin/:$PATH
make
make
cp test/data/Taylor-Green-Vortex/reference_input.i3d input.i3d
cp test/data/Taylor-Green-Vortex/reference_input.i3d input.i3d
mpirun -np 2 xcompact3d
mpirun -np 2 xcompact3d
...
...
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