Skip to content

Test failures on MacOS #239

@danielhollas

Description

@danielhollas

Two tests do not pass on my macbook: SH_BUTCHER_PHASE and SH_RK4_PHASE. The problem appears to be in empty restart_sh.bin.diff. The binaries are different based on simple diff -q restart_sh.bin restart_sh.bin.ref but the subsequent diff -y -W 500 restart_sh.bin restart_sh.bin.ref | grep -e '|' -e '<' -e '>' > $test_file.diff produces empty file, which then breaks numdif.py.

=======================
Entering directory SH_BUTCHER_PHASE
Comparing numerical differences in file hopgeom.3.2.6.xyz.diff
Comparing numerical differences in file restart.xyz.5.diff
Comparing numerical differences in file restart.xyz.diff
Comparing numerical differences in file restart_sh.bin.diff
File 'restart_sh.bin.diff' is empty!
Comparing numerical differences in file stateall_grad.dat.diff
Comparing numerical differences in file wfcoef.dat.diff
SH_BUTCHER_PHASE FAILED
=======================

and

=======================
Entering directory SH_RK4_PHASE
Comparing numerical differences in file bkl.dat.diff
Comparing numerical differences in file restart.xyz.10.diff
Comparing numerical differences in file restart.xyz.diff
Comparing numerical differences in file restart_sh.bin.10.diff
File 'restart_sh.bin.10.diff' is empty!
Comparing numerical differences in file restart_sh.bin.diff
File 'restart_sh.bin.diff' is empty!
Comparing numerical differences in file wfcoef.dat.diff
SH_RK4_PHASE FAILED
=======================

Originally posted by @JanosJiri in #219 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions