Skip to content
Snippets Groups Projects
Commit 6a927a23 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Save copies of np_sphere binary configuration files for consistency tests

parent 485afdf9
No related branches found
No related tags found
No related merge requests found
...@@ -242,6 +242,8 @@ running_stage: ...@@ -242,6 +242,8 @@ running_stage:
- chmod +x np_sphere - chmod +x np_sphere
- OMP_NUM_THREADS=1 ./np_sphere DEDFB DSPH . - OMP_NUM_THREADS=1 ./np_sphere DEDFB DSPH .
- mv c_OSPH c_OSPH_dev - mv c_OSPH c_OSPH_dev
- mv c_TEDF c_TEDF_dev
- mv c_TEDF.hd5 c_TEDF_dev.hd5
- echo "Testing parallel execution of SPHERE" - echo "Testing parallel execution of SPHERE"
- ../../src/scripts/model_maker.py ../../test_data/sphere/config_181_xi.yml - ../../src/scripts/model_maker.py ../../test_data/sphere/config_181_xi.yml
- echo "Running parallel np_sphere" - echo "Running parallel np_sphere"
...@@ -295,7 +297,7 @@ testing_stage: ...@@ -295,7 +297,7 @@ testing_stage:
- export FFILE=../../test_data/sphere/OSPH_181_xi - export FFILE=../../test_data/sphere/OSPH_181_xi
- python3 ../../src/scripts/pycompare.py --no-progress --ffile $FFILE --cfile c_OSPH_181_xi --html - python3 ../../src/scripts/pycompare.py --no-progress --ffile $FFILE --cfile c_OSPH_181_xi --html
- echo "Checking consistency among legacy and HDF5 configuration files" - echo "Checking consistency among legacy and HDF5 configuration files"
- ../testing/test_TEDF ../../test_data/sphere/DEDFB c_TEDF c_TEDF.hd5 - ../testing/test_TEDF ../../test_data/sphere/DEDFB c_TEDF_dev c_TEDF_dev.hd5
- cd ../inclusion - cd ../inclusion
- echo "Comparing output of INCLUSION" - echo "Comparing output of INCLUSION"
- export FFILE=../../test_data/inclusion/OINCLU - export FFILE=../../test_data/inclusion/OINCLU
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment