Skip to content
Snippets Groups Projects
Unverified Commit 8225eedd authored by slaizet's avatar slaizet Committed by GitHub
Browse files

Update generate_reference_test_data.yml

parent 961db0de
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment