Project

General

Profile

Bug #1143

AMPI's Hindexed datatype is broken

Added by Sam White about 3 years ago. Updated almost 3 years ago.

Status:
Merged
Priority:
Normal
Assignee:
Category:
AMPI
Target version:
Start date:
07/19/2016
Due date:
% Done:

100%


Description

Running the hindexed test in charm/tests/ampi/mpich-test/pt2pt/ results in a segfault.

I am suspicious of the way that Hindexed's constructor calls Indexed without converting the byte offsets into element offsets... Hindexed_block does not have a test, but it could be suffering from the same issue.

Parallel HDF5 makes heavy use of the H{vector, indexed, indexed_block} MPI datatypes.

History

#1 Updated by Sam White about 3 years ago

  • Status changed from New to In Progress

#2 Updated by Sam White about 3 years ago

Datatype related tests in tests/ampi/mpich-test/pt2pt that currently fail:

hindexed
hvectest2
typeub
typeub3
dataalign
getelm
sendrecv4

I think many of these failures are related to our poor handling of LB and UB...

#3 Updated by Sam White almost 3 years ago

Patch set #6 fixes most of these tests, the exceptions are listed below: http://charm.cs.illinois.edu/gerrit/#/c/1321/

getelm fails with "Wrong number of elements for struct recv; got 1001 expected 24"
sendrecv4 fails with many errors

These errors will be fixed in separate commits.

#4 Updated by Sam White almost 3 years ago

  • Status changed from In Progress to Merged
  • % Done changed from 0 to 100
  • translation missing: en.field_closed_date set to 2016-08-09 09:21:31.965499

Also available in: Atom PDF