Commit 30f7e8b
committed
feat: add --fast-build dev-iteration build mode (prototype)
New 'Fast' build type for fast edit-rebuild-run iteration (e.g. GPU print
debugging). It matches none of the Release-only (IPO, -march=native) or
Debug/RelDebug-only (MFC_DEBUG, -gpu=debug) conditional blocks, so it inherits
none of them; adds a light -O1. On NVHPC GPU builds it autodetects the node's
single compute capability (nvidia-smi) and overrides the multi-arch MFC_CUDA_CC,
with MFC_FAST_ARCH as a login-node escape hatch.
Measured (NVHPC 24.5, RTX 6000 cc75, generic simulation, 8 cores):
clean build 641s (Release fat 5-arch) -> 170s (3.8x)
hot-module 385s (Release fat 5-arch) -> 79s (4.9x)
Verified: builds with no IPO/MFC_DEBUG, runs a 1D case on GPU to exit 0.
Adds fast_build to MFCConfig (auto --fast-build/--no-fast-build, own slug);
bumps lock version to 9 for the new config field.1 parent 4a73bf3 commit 30f7e8b
4 files changed
Lines changed: 73 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
330 | 337 | | |
331 | 338 | | |
332 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
333 | 348 | | |
334 | 349 | | |
335 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
30 | 77 | | |
31 | 78 | | |
32 | 79 | | |
| |||
367 | 414 | | |
368 | 415 | | |
369 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
370 | 421 | | |
371 | 422 | | |
372 | 423 | | |
| |||
386 | 437 | | |
387 | 438 | | |
388 | 439 | | |
389 | | - | |
| 440 | + | |
390 | 441 | | |
391 | | - | |
| 442 | + | |
392 | 443 | | |
393 | 444 | | |
394 | 445 | | |
| |||
468 | 519 | | |
469 | 520 | | |
470 | 521 | | |
471 | | - | |
| 522 | + | |
472 | 523 | | |
473 | 524 | | |
474 | 525 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments