Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect image mapping in change team block #12

Open
reinh-bader opened this issue Oct 22, 2017 · 0 comments
Open

Incorrect image mapping in change team block #12

reinh-bader opened this issue Oct 22, 2017 · 0 comments

Comments

@reinh-bader
Copy link

Defect/Bug Report

Defect: Incorrect image mapping in change team block

Within a change team block, images must map to the current team. Except for the case where the coindex maps to the executing image, this is not correctly done.

  • GCC fork release tag or git hash: 62bf309
  • GCC version used to build this fork: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
  • Output of uname -a: Linux mpp2-devel 3.0.101-107-default Request for Enhancement: Support for team_number() intrinsic function #1 SMP Thu Jun 22 14:37:55 UTC 2017 (414ea9f) x86_64 x86_64 x86_64 GNU/Linux
  • Machine architecture and number of physical cores: Intel Haswell 24 cores

Observed Behavior

Output with 4 executing images is (module order of lines):
Parent: 2 f[1] = 1
Parent: 3 f[1] = 3
Parent: 4 f[1] = 1
Parent: 1 f[1] = 1

Expected Behavior

Output with 4 executing images should read (modulo order of lines)
Parent: 2 f[1] = 1
Parent: 3 f[1] = 3
Parent: 4 f[1] = 3
Parent: 1 f[1] = 1
(given the implementation specific convention for setting up image numbers in subteams)

Steps to Reproduce

Compile program in attached ZIP archive
t.zip
with caf wrapper

and execute with
cafrun -n 4 ./a.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant