Title
A single sentence description.
|
Verification check of thread safety v005 |
---|---|
Description |
This verification check examines whether a model called in parallel by multiple threads gives the same results as when called sequentially. A number `num_configs` (preset in the code) of configurations is generated, each containing a different number of atoms based on a randomly distorted, periodic, face-centered cubic (fcc) structure containing a random distribution of all atoms supported by the model. Configurations used for testing are provided as auxiliary files. The energy and forces for each configuration are computed in sequence. Then the calculations are repeated using Python multithreading with `num_configs` threads and the Global Interpreter Lock (GIL) released to ensure true parallelism. Each thread possesses its own copy of memory related to the calculation. The threaded calculations are repeated `num_cycles` times (preset in the code) with the configurations randomly distributed to the threads to create many varying opportunities for collisions. To pass the test, the total energy and the forces on all atoms for a given configuration obtained in all cycles must be be identical to those obtained in the sequential calculation. Failure of this verification check implies that the model is inappropriately storing information in persistent (static) memory during or between calls. Passing this verification check provides some assurance the the model is thread-safe, but it is NOT a guarantee due to the inherent randomness of race conditions in unsafe code. To be certain, the model code would need to be studied and analyzed carefully. HISTORY: Changes in version 005: * Update for compatibility with kimpy 2.0.0 Changes in version 004: * Update syntax for latest ASE calculator to release GIL * Use context manager for ASE calculator in single-threaded stage to ensure model destroy is called (in case the model has global variables managed by its create/destroy functions that could impact thread safety) * Minor reformatting |
Disclaimer
A statement of applicability provided by the contributor, informing users of the intended use of this KIM Item.
|
None |
Contributor |
Ellad B. Tadmor |
Maintainer |
Ellad B. Tadmor |
Developer |
Ellad B. Tadmor Daniel S. Karls |
Published on KIM | 2021 |
How to Cite |
This Verification Check is archived in OpenKIM [1-3]. [1] Tadmor EB, Karls DS. Verification check of thread safety v005. OpenKIM; 2021. doi:10.25950/cdeef2b5 [2] Tadmor EB, Elliott RS, Sethna JP, Miller RE, Becker CA. The potential of atomistic simulations and the Knowledgebase of Interatomic Models. JOM. 2011;63(7):17. doi:10.1007/s11837-011-0102-6 [3] Elliott RS, Tadmor EB. Knowledgebase of Interatomic Models (KIM) Application Programming Interface (API). OpenKIM; 2011. doi:10.25950/ff8f563a Click here to download the above citation in BibTeX format. |
Funding | Not available |
Short KIM ID
The unique KIM identifier code.
| VC_881176209980_005 |
Extended KIM ID
The long form of the KIM ID including a human readable prefix (100 characters max), two underscores, and the Short KIM ID. Extended KIM IDs can only contain alpha-numeric characters (letters and digits) and underscores and must begin with a letter.
| ThreadSafety__VC_881176209980_005 |
DOI |
10.25950/cdeef2b5 https://doi.org/10.25950/cdeef2b5 https://commons.datacite.org/doi.org/10.25950/cdeef2b5 |
KIM Item Type | Verification Check |
Properties
Properties as defined in kimspec.edn.
| |
KIM API Version | 2.0 |
Simulator Name
The name of the simulator as defined in kimspec.edn.
| ase |
Programming Language(s)
The programming languages used in the code and the percentage of the code written in each one.
| 100.00% Python |
Previous Version | ThreadSafety__VC_881176209980_004 |
Begin typing to select species to narrow the selection; multiple species may be selected.
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Sim_LAMMPS_BOP_MurdickZhouWadley_2006_GaAs__SM_104202807866_001 | N/A | Results | view | 7917 |
Tersoff_LAMMPS_AlbeNordlundNord_2002_GaAs__MO_799020228312_004 | P | Results | view | 28662 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Sim_LAMMPS_ExTeP_LosKroesAlbe_2017_BN__SM_692329995993_001 | N/A | Results | view | 5522 |
Sim_LAMMPS_ReaxFF_AnGoddard_2015_BC__SM_389039364091_000 | N/A | Results | view | 7181 |
Sim_LAMMPS_ReaxFF_WeismillerVanDuinLee_2010_BHNO__SM_327381922729_001 | N/A | Results | view | 1689 |
Tersoff_LAMMPS_DawLawsonBauschlicher_2011_HfB__MO_328263916986_000 | P | Results | view | 54082 |
Tersoff_LAMMPS_DawLawsonBauschlicher_2011pot2_ZrB__MO_728716510644_000 | P | Results | view | 60651 |
Tersoff_LAMMPS_KinaciHaskinsSevik_2012_BNC__MO_105008013807_000 | P | Results | view | 26538 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Ba__MO_676977998912_004 | P | Results | view | 18202 |
Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Ba__MO_143487634619_004 | P | Results | view | 8225 |
Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Ba__MO_229241184339_004 | P | Results | view | 9132 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
EAM_Dynamo_AgrawalMishraWard_2013_Be__MO_404563086984_000 | P | Results | view | 18577 |
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
MEAM_LAMMPS_WeiZhouLi_2019_BeO__MO_344044439515_002 | P | Results | view | 57627 |
Sim_LAMMPS_ModifiedTersoff_ByggmastarHodilleFerro_2018_BeO__SM_305223021383_000 | N/A | Results | view | 1970 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
MEAM_LAMMPS_ZhouDickelBaskes_2021_Bi__MO_221877348962_001 | P | Results | view | 48074 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Sim_LAMMPS_EIM_Zhou_2010_BrClCsFIKLiNaRb__SM_259779394709_001 | N/A | Results | view | 2187 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Sim_LAMMPS_Buckingham_ArimaYamasakiTorikai_2005_CeO__SM_328512278696_000 | N/A | Results | view | 1845 |
Sim_LAMMPS_ReaxFF_BrugnoliMiyataniAkaji_SiCeNaClHO_2023__SM_282799919035_000 | N/A | Results | view | 5595 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Sim_LAMMPS_EIM_Zhou_2010_BrClCsFIKLiNaRb__SM_259779394709_001 | N/A | Results | view | 2187 |
Sim_LAMMPS_ReaxFF_BrugnoliMiyataniAkaji_SiCeNaClHO_2023__SM_282799919035_000 | N/A | Results | view | 5595 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run.
Measured in Millions of Whetstone Instructions (MWI) |
---|---|---|---|---|
EAM_Dynamo_NicholAckland_2016v2_Cs__MO_144828415103_000 | P | Results | view | 11947 |
LJ_ElliottAkerson_2015_Universal__MO_959249795837_003 | N/A | Results | view | 3284 |
Morse_Shifted_GirifalcoWeizer_1959HighCutoff_Cs__MO_187111446479_004 | P | Results | view | 10852 |
Morse_Shifted_GirifalcoWeizer_1959LowCutoff_Cs__MO_256406354561_004 | P | Results | view | 8726 |
Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Cs__MO_999639780744_004 | P | Results | view | 8507 |
Sim_LAMMPS_EIM_Zhou_2010_BrClCsFIKLiNaRb__SM_259779394709_001 | N/A | Results | view | 2187 |
Model | Grade | Full Results | Link to Verification Results page | Benchmark time
Usertime multiplied by the Whetstone Benchmark. This number can be used (approximately) to compare the performance of different models independently of the architecture on which the test was run. Measured in Millions of Whetstone |
---|