-
Notifications
You must be signed in to change notification settings - Fork 121
Openmp cce #1035
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
Open
prathi-wind
wants to merge
221
commits into
MFlowCode:master
Choose a base branch
from
prathi-wind:openmp_cce
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4,798
−3,312
Open
Openmp cce #1035
Changes from all commits
Commits
Show all changes
221 commits
Select commit
Hold shift + click to select a range
8584e89
Update mfc python and cmake to support OpenMP
prathi-wind 7521731
Fixed issue with not compiling on CPU builds
prathi-wind 90c6738
Temporary commit
prathi-wind 06a783e
OMP parallel and parallel loop
prathi-wind 2abfad5
Removed pure markings
prathi-wind db1b8c5
Added routine and declare and partial data, non compiling
prathi-wind ed29d13
Some manual changes to codebase, and implemented attach
prathi-wind c1b41a6
Changed parallel loop to also include the end parallel
29e9404
Ran formatter
prathi-wind cec9867
Fixed some issues with matching start and end of parallel loop macros…
prathi-wind 33eca5f
Moved macro code to their corresponding file, and finished enter data…
prathi-wind 11822f5
remove line that sets default_val to empty string
prathi-wind 314fa13
Fixed GPU_PARALLEL for omp and ran formatter
prathi-wind 9d23036
Add syscheck of OpenMP, add omp support for GPU_HOST_DATA, ATOMIC, an…
prathi-wind de586ad
Update var name
prathi-wind 84ddc01
Change how parallel loop is translated
prathi-wind 7246e9b
Ran formatter
prathi-wind d5381aa
Remove extraneous build flags
prathi-wind dbcb6f3
Remove thermochem function calls
prathi-wind 94222f4
Remove LTO add always to data allocation omp, switch delete to releas…
prathi-wind 473d19d
Fixed parallel loop when no OpenMP or OpenACC
prathi-wind 5703c19
Update how allocate macro works, update riemann solver, and parallel …
prathi-wind 7021690
Passing most 1D cases
prathi-wind 828d9d8
Fixed IGR 2D, readded parallel loop in cbc, undid changes in derived …
prathi-wind cb02511
Forgot to add something for IGR and add back parallel loop for data o…
prathi-wind 69b5792
change binding + test suite works
a01f262
Added missing space
prathi-wind d7fbcab
Chemistry works with OpenACC and almost works with OpenMP
wilfonba b3c1ad1
Added a half-precision data type
0d550aa
Readd LTO to cmake
prathi-wind bac089d
Update toolchain to support swapping between OpenACC and OpenMP
prathi-wind 555cf06
Add themochem build for CPU
prathi-wind 16c9ce3
pyro updates
wilfonba 6abe146
Added CMAKE defintion flags that should set the precision types
d7dfc0d
compiles and runs with OpenMP on CCE but fails all tests
wilfonba d52abd2
Add AMD compiler support, different macro expansions based on compiler
ddf8755
Passed with --mixed into python builder and changed some variables
danieljvickers 04fa590
Everything up to post-processing works
danieljvickers cc8cd81
Remove autocompare as failing debug cases, fix COMPILER_ID bug
prathi-wind f834b9a
Intermediate commit with print statements
danieljvickers 2358d29
Add scripts for santis/alps, example case, and captures for UVM comms…
ntselepidis 347fe84
I am dumb. Nothing to see here. Carry on.
danieljvickers 37d393b
Add PREFER_GPU and rearrange update for out-of-core computation
ntselepidis 693c7f4
Allow keeping q_cons_ts(2) on CPU using pinned allocations
ntselepidis 7054b7b
Modify PREFER_GPU macro
ntselepidis dcd616a
Updated CMAKE to actually take half precision flag
danieljvickers e28423a
made nonparameterized molecular_weights to compile few AMD kernels, m…
616a37d
Fixed one error and defined how to convert. Moving work from wingtip
danieljvickers ee1277d
Allow control in placement of IGR temps
ntselepidis aaa0ddf
Test suite passes fully on Phoenix (NVHPC + OPENMP), Fixes failing ch…
389e537
Make --gpu default to OpenACC if no extra arg given
prathi-wind 4065c02
Do some clean up
ntselepidis a64686a
I did not intend to commit the temp file
danieljvickers de78aee
Made it 11% through pre_process
danieljvickers d9eb6e0
Made it through 86% of pre_process
danieljvickers 78d9490
Made it through 66% of simulation
danieljvickers 4ade300
Made it through even more of simulation
danieljvickers 2feca3b
Made it through the time stepper compiling
danieljvickers fdfa9f0
Fixed rhs calculations.
danieljvickers cfb792c
ENV Vars to case file options and code structure changes
9333105
It compiles!
danieljvickers 7499855
Runs but gives errors
danieljvickers 7d8f438
Calling it for the night. I get NaNs in the answer using --mixed, but…
danieljvickers cacc6b0
Fix some comments
ntselepidis 884a4d9
Merge remote-tracking branch 'upstream/master' into nvidia
wilfonba b3fdbff
test merge and add nv_uvm_out_of_core back
wilfonba f8f4e78
Added some debug statements that will fail if it ever encounters divi…
danieljvickers 4914dac
Made it further and was able to remove scaler field intiial NaNs
danieljvickers 0f7ed78
Cleaned up prints
danieljvickers dd42279
Merge remote-tracking branch 'upstream/master' into add-half-precision
wilfonba e090dbd
Working and removed print statements
danieljvickers da3a3ed
Merge branch 'add-half-precision' of github.com:danieljvickers/MFC-Da…
wilfonba 590b849
CCE + OpenMP works on all IGR cases + a subset of 1D/2D cases
84e9690
Merge branch 'openmp_rebased' of https://github.com/prathi-wind/MFC-p…
0702c3c
Hypoelasticity works
fb8b555
fix prim_vars_wrt serial I/O
wilfonba 7a88e66
IBM works
31d490c
merge upstream
wilfonba 436ba6e
Merge branch 'openmp_rebased' of github.com:prathi-wind/MFC-prathi in…
wilfonba 7b72322
resolving mc
012a24f
merge
wilfonba 5b627b3
CMake fix
wilfonba 8ee4098
stopping for the night. MPI not working with n=2
danieljvickers 8af5489
merge
wilfonba 558cc3c
move dt to m_igr and m_rhs
wilfonba 9128d07
Merge branch 'openmp_rebased' of https://github.com/prathi-wind/MFC-p…
d5c84ea
Rename muscl
anandrdbz 51d7e90
Fix some allocs and deallocs in timesteppers
ntselepidis c553b78
Fix nv_uvm_out_of_core inconsistency and add to case file
ntselepidis 7277eb8
Comment out detach
f3b3851
Fix bug in 2nd order TVD RK introduced by merge
ntselepidis 71b5976
Fix some comments
ntselepidis b3008d4
fix chemistry tests
wilfonba c8f1103
Remove private duplicates
51fa088
fix compile bug in global_param
6c682bd
CCE + openMP + Case-OPT compiles
a4d6b38
Add note on binding script requirement for PREFER_GPU macro
ntselepidis fbe9120
merge but bubbles fail
wilfonba 03f1e42
Add back FFTW
466c887
asdf
wilfonba fffb6f6
add alps support
d5c1701
compiles with mixed precision with NVHPC but gives NaNs, single preci…
wilfonba 6f60d32
add changes that make bubbles pass the test suite
wilfonba acb2405
Flip nv_uvm_pref_gpu default to false
ntselepidis 8fef22d
Be explicit with unified memory compilation to stay robust in changes…
ntselepidis 7f9aef2
progress towards MPI IO
wilfonba eea5b56
Parallel I/O fix, works with mixed and single
anandrdbz 3596e85
LLVM + OpenMP works without USM (HSA_XNACK off), Case-OPT compile tim…
6bfedad
remove print statements
wilfonba e663a4d
more IO changes
wilfonba f9b7bc0
Case-OPT works with USM and non-USM
5e369c3
Add some changes to future proof the unified memory build
ntselepidis 52c5608
Comment out calls to cudaGetErrorString
ntselepidis 801ccef
Compile 2D cases with case-opt
0fcc08d
Compile 2D cases with case-opt
4ec8617
prepare for merge
wilfonba bd0adee
Merge remote-tracking branch 'upstream/master' into nvidia
wilfonba 37b1768
update capture
wilfonba e02e9f6
add fastmath flag and bug fix
wilfonba fdfa831
AMD compiler + OpenMP works with and without case-opt, USM and UVM (a…
80bc33a
Merge in half precision
314fe05
Merge remote-tracking branch 'origin/openmp_rebased' into openmp_amd_…
ab6fe37
HP fixes
e2be34b
BC TYPE bug fix
08b8431
Make pb_in and mv_in in s_interpolate_image_point intent in
2cd1383
Half precision + MPI-IO for BCs
29f16c2
Merge branch 'openmp_amd_half_precision' of https://github.com/prathi…
58802b8
Remove print
a6ff639
Fix typo in CMakeLists
ntselepidis 79f68ea
Final HP fixes
60b361b
Remove cudadevice
16ed391
Merge pull request #1 from prathi-wind/openmp_amd_half_precision
anandrdbz 457ae60
Replace host_pool with host in m_igr
ntselepidis a6116f2
Set cpus-per-task to 72 and update binding script
ntselepidis fb50e90
Add some more updates to the helper scripts
ntselepidis 9459901
merge
wilfonba 59a8fcf
Fixing macros bug for cce
12778a3
fix alps template helper function
wilfonba 910c4f8
Fix MPI issue
8454149
Merge branch 'openmp_rebased' of github.com:prathi-wind/MFC-prathi in…
wilfonba f91e6ed
Add 1 Jet case for weak scaling with mixed precision
e9d6bd7
Declare missing variables
4219e01
Disable mpp_lim
cbbf7f9
Change number of iterations
9ef2165
Add file_per_process and option to down_sample
e9e827e
Change Jacobi to GS
655c263
NV UVM Mixed cleanup
wilfonba ea58187
UVM with AMD compilers (with USM) works in single and mixed, but rea…
62382bc
Disable GPU Aware MPI on frontier for now
672cc78
Ran 1386^3 on a single node with mixed precision with UVM and without…
9d66c9a
Changing kind=2 to kind=1 for patch_ID
c7f6313
Fix Down-Sampling with UVM on AMD compilers
060e9d1
Add copyin for idwbuff
7cb0f9e
Cleanup
19b7671
Further Cleanup
42349df
Setup Case for 200T
f0be342
Deallocate after pre_process
d290396
Change bc_type and ib_markers to kind1
e457e04
Change bc_x
dfdd901
Use parameter arrays with OpenACC
b6edcf9
add simplex nosie
wilfonba 6ca1db4
CCE build fixes
wilfonba 3ec56b2
Revert to default frontier.mako and add mnt changes
1bff304
Merge branch 'openmp_rebased' of https://github.com/prathi-wind/MFC-p…
678777e
Ensure bc_type does not overflow
34a080e
Update m_boundary_common.fpp
anandrdbz 0a080c2
Change loop bounds to kind=8
59d11bc
Change to kind8
6fcdf2b
Revert halo_size
23bbea6
Merge branch 'openmp_rebased' into openmp_cce
e84464d
Merge branch 'openmp_rebased' into openmp_cce
416f021
IGR tests pass (CPUs)
767fb94
520/529 cases pass
9d2f746
change down_sample
56e1269
bug fix
be6fced
All but one case pass on CPUs
9baca98
All test cases pass on CPUs
42806e3
All test cases pass with parallel_io=T
70ec48e
fix the breaking change
d4dc3b3
Add additional test
b6022a8
Merge branch 'openmp_cce' of https://github.com/prathi-wind/MFC-prath…
68033a1
fix ts1 and all tests pass on frontier
08a9024
OpenMP compile bug
b0697c5
1D cases pass on CCE + OpenMP (except adap_dt and chemistry)
8a84e1b
Probe WRT and adap_dt fixed
b983483
1D/2D cases pass
622c06c
Passing most 3D cases
b9db549
replace comments with appropriate ifdefs
d759c6f
fix ifdef
8d40011
fix ifdef
c4d2603
fix macros
5a97a92
line length cleanup
anandrdbz cab026e
Fixed Cylindrical on OpenMP Frontier
e9a5a93
Added OMP Frontier CI
6d9b0fb
Merge remote-tracking branch 'upstream/master' into openmp_cce
f5b64a0
Ran formatter
5f73950
Ran formatter
5ab057b
Case Opt Works
409c367
Ran spellcheck
5e70305
Fixed lint issues on toolchain
1ebb536
Remove extra print
cacc5d5
remove duplicates in private
268808e
IGR tests pass with AMD compiler
216261f
fix format
84f85a5
fix bug in CBC + OpenMP
anandrdbz 530638a
fix bounds in post_process
e1d9044
Increase bench time
a774051
fix post_process benchmark
87fae79
fix benchmarking on frontier
771797b
fix benchmarking on frontier
f1afee3
example case fix ups
wilfonba e08bcae
CMakeLists.txt fix
wilfonba b2ad78a
Addressing more PR comments
wilfonba 88cbac0
fix boundary condition patches and simplex noise
wilfonba 7ae0a65
more bug fixes
wilfonba 78ff9c6
Merge remote-tracking branch 'upstream/master' into openmp_cce
wilfonba 4f2f579
format
wilfonba 56097f8
fix IB markers seg fault
wilfonba 8a66941
Fix for benchmarking on frontier
f5ac529
fix to make benchmark work on frontier
5fa68fa
format
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| #!/usr/bin/env python3 | ||
| import math | ||
| import json | ||
|
|
||
| # Domain parameters | ||
| D = 2.5 # Jet diameter | ||
| Nd = 711 # Cells per jet diameter | ||
|
|
||
| x0 = 0 # x_beg coordinate | ||
| x1 = 19 * D # x_end coordinate | ||
| y0 = -22 * D / 2 # y_beg coordinate | ||
| y1 = 22 * D / 2 # y_end coordinate | ||
| z0 = -22 * D / 2 # y_beg coordinate | ||
| z1 = 22 * D / 2 # y_end coordinate | ||
| Nx = int(Nd * (x1 - x0) / D) - 1 | ||
| Ny = int(Nd * (y1 - y0) / D) - 1 | ||
| Nz = int(Nd * (z1 - z0) / D) - 1 | ||
|
|
||
| time_end = 5 | ||
| igrIters = 5 | ||
|
|
||
| dx = D / Nd | ||
| dt = dx / 36 | ||
|
|
||
| Nt = int(time_end / dt) | ||
|
|
||
| # Configuring case dictionary | ||
| print( | ||
| json.dumps( | ||
| { | ||
| # Logistics | ||
| "run_time_info": "T", | ||
| # Computational Domain Parameters | ||
| "x_domain%beg": x0, | ||
| "x_domain%end": x1, | ||
| "y_domain%beg": y0, | ||
| "y_domain%end": y1, | ||
| "z_domain%beg": z0, | ||
| "z_domain%end": z1, | ||
| "m": int(Nx), | ||
| "n": int(Ny), | ||
| "p": int(Nz), | ||
| "dt": dt, | ||
| "t_step_start": 0, | ||
| "t_step_stop": 10, # Nt, | ||
| "t_step_save": 10, # int(Nt/50), | ||
| # Simulation Algorithm Parameters | ||
| "num_patches": 1, | ||
| "num_bc_patches": 0, | ||
| "model_eqns": 2, | ||
| "alt_soundspeed": "F", | ||
| "num_fluids": 1, | ||
| "mpp_lim": "F", | ||
| "time_stepper": 3, | ||
| "igr": "T", | ||
| "igr_order": 3, | ||
| "igr_pres_lim": "T", | ||
| "igr_iter_solver": 1, | ||
| "num_igr_iters": igrIters, | ||
| "num_igr_warm_start_iters": 10 * igrIters, | ||
| "alf_factor": 10, | ||
| "bc_x%beg": -17, | ||
| "bc_x%end": -3, | ||
| "bc_y%beg": -3, | ||
| "bc_y%end": -3, | ||
| "bc_z%beg": -3, | ||
| "bc_z%end": -3, | ||
| # Formatted Database Files Structure Parameters | ||
| "format": 1, | ||
| "precision": 1, | ||
| "prim_vars_wrt": "T", | ||
| "file_per_process": "T", | ||
| "parallel_io": "T", | ||
| "down_sample": "T", | ||
| # Patch | ||
| "patch_icpp(1)%geometry": 9, | ||
| "patch_icpp(1)%x_centroid": (x1 + x0) / 2, | ||
| "patch_icpp(1)%y_centroid": (y1 + y0) / 2, | ||
| "patch_icpp(1)%z_centroid": (z1 + z0) / 2, | ||
| "patch_icpp(1)%length_x": 2 * (x1 - x0), | ||
| "patch_icpp(1)%length_y": 2 * (y1 - y0), | ||
| "patch_icpp(1)%length_z": 2 * (z1 - z0), | ||
| "patch_icpp(1)%hcid": 303, | ||
| "patch_icpp(1)%vel(1)": 0.0e00, | ||
| "patch_icpp(1)%vel(2)": 0.0e00, | ||
| "patch_icpp(1)%vel(3)": 0.0e00, | ||
| "patch_icpp(1)%pres": 1.0e00, | ||
| "patch_icpp(1)%alpha_rho(1)": 1.0, | ||
| "patch_icpp(1)%alpha(1)": 1.0, | ||
| # Perturbation of velocity field | ||
| "simplex_perturb": "T", | ||
| "simplex_params%perturb_vel(1)": "T", | ||
| "simplex_params%perturb_vel_freq(1)": 3, | ||
| "simplex_params%perturb_vel_scale(1)": 0.02, | ||
| "simplex_params%perturb_vel_offset(1,1)": 12.3, | ||
| "simplex_params%perturb_vel_offset(1,2)": -11.3, | ||
| "simplex_params%perturb_vel_offset(1,3)": 34.6, | ||
| "simplex_params%perturb_vel(2)": "T", | ||
| "simplex_params%perturb_vel_freq(2)": 2, | ||
| "simplex_params%perturb_vel_scale(2)": 0.02, | ||
| "simplex_params%perturb_vel_offset(2,1)": -70.3, | ||
| "simplex_params%perturb_vel_offset(2,2)": 33.4, | ||
| "simplex_params%perturb_vel_offset(2,3)": -34.6, | ||
| "simplex_params%perturb_vel(3)": "T", | ||
| "simplex_params%perturb_vel_freq(3)": 2, | ||
| "simplex_params%perturb_vel_scale(3)": 0.02, | ||
| "simplex_params%perturb_vel_offset(3,1)": 123.3, | ||
| "simplex_params%perturb_vel_offset(3,2)": -654.3, | ||
| "simplex_params%perturb_vel_offset(3,3)": -64.5, | ||
| # Fluids Physical Parameters | ||
| "fluid_pp(1)%gamma": 1.0e00 / (1.4e00 - 1.0e00), | ||
| "fluid_pp(1)%pi_inf": 0.0, | ||
| "viscous": "T", | ||
| "fluid_pp(1)%Re(1)": 5e5, | ||
| }, | ||
| indent=4, | ||
| ) | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| 3.000000,0.000000,0.001 | ||
| -1.500000,2.598076,0.001 | ||
| -1.500000,-2.598076,0.001 | ||
| 9.000000,0.000000,0.001 | ||
| 7.281153,5.290067,0.001 | ||
| 2.781153,8.559509,0.001 | ||
| -2.781153,8.559509,0.001 | ||
| -7.281153,5.290067,0.001 | ||
| -9.000000,0.000000,0.001 | ||
| -7.281153,-5.290067,0.001 | ||
| -2.781153,-8.559509,0.001 | ||
| 2.781153,-8.559509,0.001 | ||
| 7.281153,-5.290067,0.001 | ||
| 15.000000,0.000000,0.001 | ||
| 14.265848,4.635255,0.001 | ||
| 12.135255,8.816779,0.001 | ||
| 8.816779,12.135255,0.001 | ||
| 4.635255,14.265848,0.001 | ||
| 0.000000,15.000000,0.001 | ||
| -4.635255,14.265848,0.001 | ||
| -8.816779,12.135255,0.001 | ||
| -12.135255,8.816779,0.001 | ||
| -14.265848,4.635255,0.001 | ||
| -15.000000,0.000000,0.001 | ||
| -14.265848,-4.635255,0.001 | ||
| -12.135255,-8.816779,0.001 | ||
| -8.816779,-12.135255,0.001 | ||
| -4.635255,-14.265848,0.001 | ||
| -0.000000,-15.000000,0.001 | ||
| 4.635255,-14.265848,0.001 | ||
| 8.816779,-12.135255,0.001 | ||
| 12.135255,-8.816779,0.001 | ||
| 14.265848,-4.635255,0.001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 33 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| #!/usr/bin/env python3 | ||
| import json | ||
|
|
||
| # Domain parameters | ||
| alfFactor = 10 | ||
| igrIters = 3 | ||
|
|
||
| NPx = 2 | ||
| NPy = 2 | ||
| NPz = 2 | ||
|
|
||
| x0 = 0 | ||
| x1 = 2 * NPx | ||
| y0 = -1.0 * NPy | ||
| y1 = 1.0 * NPy | ||
| z0 = -1.0 * NPz | ||
| z1 = 1.0 * NPz | ||
|
|
||
| N = 1383 | ||
|
|
||
| Nx = N * NPx - 1 | ||
| Ny = N * NPy - 1 | ||
| Nz = N * NPz - 1 | ||
|
|
||
| dx = (x1 - x0) / Nx | ||
| dt = dx / 20000 | ||
|
|
||
| # Configuring case dictionary | ||
| print( | ||
| json.dumps( | ||
| { | ||
| # Logistics | ||
| "run_time_info": "F", | ||
| # Computational Domain Parameters | ||
| "x_domain%beg": x0, | ||
| "x_domain%end": x1, | ||
| "y_domain%beg": y0, | ||
| "y_domain%end": y1, | ||
| "z_domain%beg": z0, | ||
| "z_domain%end": z1, | ||
| "m": int(Nx), | ||
| "n": int(Ny), | ||
| "p": int(Nz), | ||
| "dt": dt, | ||
| "t_step_start": 0, | ||
| "t_step_stop": 10, # Nt, | ||
| "t_step_save": 10, # int(Nt / 20), | ||
| # Simulation Algorithm Parameters | ||
| "num_patches": 1, | ||
| "num_bc_patches": 0, | ||
| "model_eqns": 2, | ||
| "alt_soundspeed": "F", | ||
| "num_fluids": 1, | ||
| "mpp_lim": "F", | ||
| "time_stepper": 3, | ||
| "igr": "T", | ||
| "igr_order": 5, | ||
| "igr_pres_lim": "T", | ||
| "igr_iter_solver": 1, | ||
| "num_igr_iters": igrIters, | ||
| "num_igr_warm_start_iters": igrIters, | ||
| "alf_factor": 10, | ||
| "bc_x%beg": -17, | ||
| "bc_x%end": -3, | ||
| "bc_y%beg": -3, | ||
| "bc_y%end": -3, | ||
| "bc_z%beg": -3, | ||
| "bc_z%end": -3, | ||
| # Formatted Database Files Structure Parameters | ||
| "format": 1, | ||
| "precision": 2, | ||
| "prim_vars_wrt": "T", | ||
| "c_wrt": "F", | ||
| "parallel_io": "T", | ||
| "file_per_process": "T", | ||
| "down_sample": "F", | ||
| # Background | ||
| "patch_icpp(1)%geometry": 9, | ||
| "patch_icpp(1)%x_centroid": (x1 + x0) / 2, | ||
| "patch_icpp(1)%y_centroid": (y1 + y0) / 2, | ||
| "patch_icpp(1)%z_centroid": (z1 + z0) / 2, | ||
| "patch_icpp(1)%length_x": (x1 - x0), | ||
| "patch_icpp(1)%length_y": (y1 - y0), | ||
| "patch_icpp(1)%length_z": (z1 - z0), | ||
| "patch_icpp(1)%hcid": 302, | ||
| "patch_icpp(1)%vel(1)": 1.0, | ||
| "patch_icpp(1)%vel(2)": 0.0e00, | ||
| "patch_icpp(1)%vel(3)": 0.0e00, | ||
| "patch_icpp(1)%pres": 1.0, | ||
| "patch_icpp(1)%alpha_rho(1)": 1.0e00, | ||
| "patch_icpp(1)%alpha(1)": 1.0e00, | ||
| # Fluids Physical Parameters | ||
| "fluid_pp(1)%gamma": 1.0e00 / (1.4e00 - 1.0e00), | ||
| "fluid_pp(1)%pi_inf": 0.0, | ||
| "viscous": "T", | ||
| "fluid_pp(1)%Re(1)": 5e4, | ||
| }, | ||
| indent=4, | ||
| ) | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| module use /ccs/home/bcornille/afar-drops/modulefiles/Core/ | ||
| module load rocm-afar-drop mpich cray-python | ||
| module load cmake | ||
| #export OMPX_APU_MAPS=0 | ||
| #export HSA_XNACK=0 | ||
| #export LIBOMPTARGET_INFO=0 | ||
| #export AMD_LOG_LEVEL=1 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file needs to be deleted, moved to
misc/, or incorporated into the toolchain somehow. This PR doesn't add AMD compilers anyway, so my suggestion would be deleted for now.