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

Add model_maker to pipeline testing

parent 35188cf3
No related branches found
No related tags found
No related merge requests found
...@@ -217,8 +217,11 @@ running_stage: ...@@ -217,8 +217,11 @@ running_stage:
artifacts: artifacts:
paths: paths:
- build/cluster/c_* - build/cluster/c_*
- build/cluster/D*
- build/inclusion/c_* - build/inclusion/c_*
- build/inclusion/D*
- build/sphere/c_* - build/sphere/c_*
- build/sphere/D*
#- build/trapping/* #- build/trapping/*
exclude: exclude:
- ".git*" - ".git*"
...@@ -233,17 +236,23 @@ running_stage: ...@@ -233,17 +236,23 @@ running_stage:
- cd build/libnptm - cd build/libnptm
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH;$PWD" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH;$PWD"
- cd ../sphere - cd ../sphere
- echo "Testing configurator for sphere"
- ../../src/scripts/model_maker.py ../../test_data/sphere/config_dev.yml
- echo "Running np_sphere" - echo "Running np_sphere"
- chmod +x np_sphere - chmod +x np_sphere
- OMP_NUM_THREADS=1 ./np_sphere - OMP_NUM_THREADS=1 ./np_sphere DEDFB DSPH .
- cd ../cluster - cd ../cluster
- echo "Testing configurator for cluster"
- ../../src/scripts/model_maker.py ../../test_data/cluster/config_dev.yml
- echo "Running np_cluster" - echo "Running np_cluster"
- chmod +x np_cluster - chmod +x np_cluster
- OMP_NUM_THREADS=1 ./np_cluster - OMP_NUM_THREADS=1 ./np_cluster DEDFB DCLU .
- cd ../inclusion - cd ../inclusion
- echo "Testing configurator for inclusion"
- ../../src/scripts/model_maker.py ../../test_data/inclusion/config_dev.yml
- echo "Running np_inclusion" - echo "Running np_inclusion"
- chmod +x np_inclusion - chmod +x np_inclusion
- OMP_NUM_THREADS=1 ./np_inclusion - OMP_NUM_THREADS=1 ./np_inclusion DEDFB DINCLU .
testing_stage: testing_stage:
stage: test stage: test
......
...@@ -16,7 +16,7 @@ output_settings: ...@@ -16,7 +16,7 @@ output_settings:
# Folder for the code output storage # Folder for the code output storage
output_folder: "." output_folder: "."
# Name of the main output file # Name of the main output file
output_name : "c_OCLU" output_name : "c_OINCLU"
# Requested output formats # Requested output formats
formats : [ "LEGACY", "HDF5" ] formats : [ "LEGACY", "HDF5" ]
# Index of the scale for transition matrix output # Index of the scale for transition matrix output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment