Open KseniaAleynikova opened 1 year ago
Great, Ksenia. My initial comments are:
Just had a look at the test logs (on the updated ci). The test run_fast_cylinder
fails because of an out-of-bound index access in the solution-array.
Error termination. Backtrace:
At line 1067 of file /home/runner/work/SPEC/build/src/mp00ac_m.F90
Fortran runtime error: Index '0' of dimension 1 of array 'solution' below lower bound of 1
Despite this, the CI will probably still fail since the value of 'Helicity' in the outputs will be different from that in the pre-computed files that it is checked against.
For this change to be accepted we need to generate new test files with the correct value of Helicity using this convention. For this you should do the following steps:
${SPEC_ROOT}/ci/${TEST_NAME}
Helicity
is the only difference by running python -m py_spec.ci.test compare.h5 ${TEST_NAME}.h5
cd ${SPEC_ROOT}/Utilities/pythontools && pip install -e .
] since Antoine and I just fixed a bug regarding this. compare.h5
, and rename the new .h5
file you created `compare.h5'@zhucaoxiang, @jloizu, @abaillod, could you comment on which Helicity convention is best convention and why?
I believe this should be a standard way of working with helicity in SPEC that is why I do not use an extra flag with/without gauge invariant helicity. But tests should be done first.