codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

codes-workload-dump failure on mpi-io-test darshan log (Imported #68) #68

Closed nmcglo closed 5 years ago

nmcglo commented 8 years ago

Original Issue Author: Jonathan Jenkins Original Issue ID: 68 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/68


To reproduce, compile codes-base using the --with-darshan option and run make check.

There is a test script enabled in this case that will dump the workload from a 4-process mpi-io-test darshan log example that fails with the following assertion:

codes-workload-dump: ../src/workload/methods/codes-darshan-io-wrkld.c:637: generate_psx_coll_file_events: Assertion `extra_opens <= open_cycles' failed.
nmcglo commented 8 years ago

Jonathan Jenkins:

Added extra logic to handle the case where a shared file is opened independently at the MPI level -- did not consider that case when originally implementing the Darshan generator and this test case was triggering an assertion.

After the fix and running make check, the Darshan generator no longer crashes and accurately reproduces the workload from this IOR configuration.

See git commit: dc1f19dd053a54055e8a5644ef3b7154298654dd

nmcglo commented 8 years ago

Jonathan Jenkins:

Status changed to closed