Skip to content

Numerical discrepancy  #45

Description

@htal2

I tested the code with the command
bin/xplor -py src/test/test_xcamshift_ensemble_gb3.py -num_threads 2

and I got the following error message

FAIL: test_shift_averaging_identical_structures

(test_xcamshift_ensemble_gb3.TestXcamshiftEnsembleGB3)

Traceback (most recent call last):
File
"/import/bc2/home/guest/grzesiek/leung/software/xcamshift/xcamshift/src/test/test_xcamshift_ensemble_gb3.py",
line 93, in test_shift_averaging_identical_structures
self.assertAlmostEqual(energy,
gb3_10_steps.gb3_energies[0][TOTAL_ENERGY], places = 0)
AssertionError: 549094.1875 != 549088.13600000006 within 0 places


Is the difference significant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions