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

Debug incorrect reported values of W when beta is non zero #13

Closed
ppebay opened this issue Sep 11, 2024 · 0 comments · Fixed by #14
Closed

Debug incorrect reported values of W when beta is non zero #13

ppebay opened this issue Sep 11, 2024 · 0 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@ppebay
Copy link
Contributor

ppebay commented Sep 11, 2024

Steps to reproduce

Run full process for FWMP with alpha=beta=1.0, everything else set to defaults. This should yield the following output (only tail shown here)

Objective value:                4.00000000
Enumerated nodes:               41
Total iterations:               7623
Time (CPU seconds):             0.69
Time (Wallclock seconds):       0.73

Option for printingOptions changed from normal to all
Total time (CPU seconds):       0.69   (Wallclock seconds):       0.74


# Detailed solution:
Task 2 of load 0.5 and memory blocks [1, 3] assigned to rank 0
Task 3 of load 0.5 and memory blocks [1, 3] assigned to rank 0
Task 6 of load 1.0 and memory blocks [1, 3] assigned to rank 0
Task 7 of load 0.5 and memory blocks [1, 3] assigned to rank 0
Task 8 of load 1.5 and memory blocks [4] assigned to rank 1
Task 5 of load 2.0 and memory blocks [2] assigned to rank 2
Task 0 of load 1.0 and memory blocks [0, 2] assigned to rank 3
Task 1 of load 0.5 and memory blocks [0, 2] assigned to rank 3
Task 4 of load 0.5 and memory blocks [0, 2] assigned to rank 3

# Solution summary:
Rank 0: L = 2.5, W = 3.0, unhomed: 1
Rank 1: L = 1.5, W = 3.0, unhomed: 1
Rank 2: L = 2.0, W = 4.0, unhomed: 1
Rank 3: L = 2.0, W = 4.0, unhomed: 2
w_max = 4.0
$assignments=[3, 3, 0, 0, 3, 2, 0, 0, 1];

The bug

As per figure below, the results shown above to do not match as far as W on ranks 0 and 1 are concerned:

screenshot_2024-09-11_at_11 35 07_720

Specifically:

  • on rank 0: V_in = 1.5, V_out = 0.5, V_max = 1.5 ==> W = 2.5+1.5 = 4.0 <> 3.0
  • on rank 1: V_in = 2.5, V_out = 1.5, V_max = 2.5 ==> W = 1.5+2.5 = 4.0 <> 3.0
  • on rank 2: V_in = V_out = V_max = 2.0 ==> W = 2.0+2.0 = 4.0
  • on rank 3: V_in = 0.0, V_out = 2.0, V_max = 2.0 ==> W = 2.0+2.0 = 4.0
@ppebay ppebay added the bug Something isn't working label Sep 11, 2024
@ppebay ppebay self-assigned this Sep 11, 2024
@ppebay ppebay changed the title Debug incorrect reported values of W when beta is non zeron Debug incorrect reported values of W when beta is non zero Sep 11, 2024
maxime-bfsquall added a commit that referenced this issue Sep 17, 2024
ppebay added a commit that referenced this issue Sep 17, 2024
…-values-of-W-when-beta-is-non-zero

#13: Debug incorrect reported values of W when beta is non zero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant