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

Fixed Examples, Added Examples CI. #664

Merged
merged 100 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
22abc46
#474: Kickstart
henryleberre Jul 4, 2024
f1bd842
Merge branch 'henry/474' of https://github.com/henryleberre/ChemMFC i…
okBrian Jul 14, 2024
6c0af87
test example workflow
okBrian Jul 14, 2024
5bd78e9
fix example
okBrian Jul 14, 2024
e0e3cdc
test
okBrian Jul 15, 2024
264fede
test 2
okBrian Jul 16, 2024
7298bf8
yay
okBrian Jul 17, 2024
c3af570
Merge branch 'MFlowCode:master' into exampleCI2
okBrian Jul 17, 2024
ff4290d
final changes
okBrian Jul 17, 2024
fd7f68e
Merge branch 'exampleCI2' of https://github.com/okBrian/MFC into exam…
okBrian Jul 17, 2024
3e85cf2
final v2
okBrian Jul 17, 2024
8e302e9
fianl v3
okBrian Jul 17, 2024
01c069c
final v4
okBrian Jul 17, 2024
9bb0796
final v5
okBrian Jul 17, 2024
9fb6279
added a comment
okBrian Jul 17, 2024
112bb89
Switch to fastjsonschema
henryleberre Jul 17, 2024
86d5db2
fixed tol, reduced TestSize, fixed parralel_io w/o mpi, fixed format …
okBrian Jul 24, 2024
2936a95
fixed remaining 4 broken example, todo fix no-mpi possibly
okBrian Jul 27, 2024
b940337
merge w/ master
okBrian Jul 27, 2024
8ee7ca2
fixed new broken examples & temp fix D error
okBrian Jul 28, 2024
5fda4cb
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Jul 31, 2024
e83c13f
fixed no mpi and mpi ?
okBrian Jul 31, 2024
3829807
fix case bug hopefully
okBrian Jul 31, 2024
e071a9c
fix gpu?? and fix no-mpi final
okBrian Aug 1, 2024
af2f7d1
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Aug 1, 2024
bf821bf
add generate on workflow to fix no-mpi'
okBrian Aug 1, 2024
a9361a0
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Aug 2, 2024
1bdb66f
fix lfs issue and revert some changes + merge w/ master
okBrian Aug 10, 2024
7446ce4
temp fix merge conflict
okBrian Aug 10, 2024
e46fe3f
remove 0dqbmm and fix lint
okBrian Aug 10, 2024
722f772
revert changes and some formatting
okBrian Aug 13, 2024
2b25651
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Aug 13, 2024
9ca124f
fix 2d artifical MA bug
okBrian Aug 13, 2024
0c99ff5
fix all broken case files
okBrian Aug 13, 2024
6296758
rerevert the D directory temp
okBrian Aug 13, 2024
b14ba57
Merge remote-tracking branch 'upstream/master' into exampleCI2
okBrian Aug 19, 2024
d3b2db3
test compiled w/ gcc 12
okBrian Aug 19, 2024
f351c7c
decreased tolerence
okBrian Aug 20, 2024
5b8fcea
increase tol & fix lint?
okBrian Aug 20, 2024
0252536
Merge remote-tracking branch 'upstream/master' into exampleCI2
okBrian Aug 21, 2024
f23c748
test fix for gt phoneix?
okBrian Aug 21, 2024
06fca35
Merge remote-tracking branch 'upstream/master' into exampleCI2
okBrian Aug 22, 2024
92415b9
Merge remote-tracking branch 'origin/master' into exampleCI2
okBrian Aug 23, 2024
4635550
fix docker
okBrian Aug 26, 2024
3b40332
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Aug 26, 2024
61baf3d
Merge remote-tracking branch 'origin/master' into exampleCI2
okBrian Sep 12, 2024
9adac3c
regenerate examples
okBrian Sep 12, 2024
f2d33e0
add support ibm_cfl_dt
okBrian Sep 13, 2024
fcd4454
try 13.3 gcc
okBrian Sep 13, 2024
b2de66e
merge origin master
okBrian Sep 13, 2024
03b5f72
added strict floating point and regnerated examples w/ it
okBrian Sep 20, 2024
acc8228
merge w/ master
okBrian Sep 20, 2024
ddabee4
fix req.txt
okBrian Sep 20, 2024
e0c1dd3
fix frontier cas
okBrian Sep 20, 2024
98f9b3d
regenerate all files and fix frontier
okBrian Sep 25, 2024
99465ee
Merge remote-tracking branch 'origin' into exampleCI2
okBrian Sep 30, 2024
b4e958f
fixed time_step_save issue
okBrian Sep 30, 2024
fdd5162
mimi pr for exampleCI
okBrian Oct 7, 2024
e1ac8f4
test lower tol + regenerating with debug
okBrian Oct 18, 2024
f34a911
regenerate hypo_2materials?
okBrian Oct 18, 2024
7d90327
--regenerate with strict flag
okBrian Oct 18, 2024
aad1300
add strict back to workflow
okBrian Oct 18, 2024
480c76d
Merge branch 'MFlowCode:master' into exampleCI2
okBrian Oct 21, 2024
f27d0ce
inital viscous edit
okBrian Oct 21, 2024
1d47274
regen viscous
okBrian Oct 21, 2024
4c9636d
test 2525 on exampleCI2
okBrian Oct 21, 2024
04a901a
remove cases for merge
okBrian Oct 25, 2024
c4db9d6
remove strict flag & retest with default flags
okBrian Oct 28, 2024
527a859
w/ correct weno_eps for testing
okBrian Oct 28, 2024
0e4fe57
fix removal of strict in workflow
okBrian Oct 28, 2024
33ab525
close to done?
okBrian Oct 28, 2024
1c99f12
remove strict on frontier
okBrian Oct 28, 2024
fc2883a
remove tols
okBrian Oct 28, 2024
0c6d78e
fix lint
okBrian Oct 28, 2024
64cb531
revert tests and regen examples
okBrian Oct 30, 2024
16fc0fe
update low_mach
okBrian Oct 30, 2024
ddaaec3
test regenerate?
okBrian Oct 31, 2024
df2e826
fix merge
okBrian Nov 1, 2024
d14d1c3
test no generate
okBrian Nov 1, 2024
529b460
fix acoustic tol
okBrian Nov 1, 2024
2127c1b
Merge branch 'MFlowCode:master' into exampleCI2
okBrian Nov 4, 2024
1225a40
fix merge conflicts
okBrian Nov 15, 2024
7da5cea
fix lint
okBrian Nov 15, 2024
dc93dee
fix some merges
okBrian Nov 19, 2024
eb1524b
Merge remote-tracking branch 'origin/master' into exampleCI2
okBrian Nov 22, 2024
bb761bd
fix merge conflicts
okBrian Nov 22, 2024
4edf055
rm tol error
okBrian Nov 22, 2024
3523022
pkgconf workaround
okBrian Nov 22, 2024
e68812c
added cases to broken cases to fix
okBrian Nov 26, 2024
1a90050
Merge branch 'master' into exampleCI2
sbryngelson Nov 26, 2024
3d2fcbb
Merge branch 'master' into exampleCI2
okBrian Nov 27, 2024
2a568ce
add another test to ingore list
okBrian Nov 27, 2024
2234580
Merge branch 'master' into exampleCI2
okBrian Nov 28, 2024
de1bff1
fixed stl spell error and seg fault on s_circle
okBrian Dec 2, 2024
377d8c7
add test to ignore
okBrian Dec 2, 2024
f00bdd5
add to ignore list
okBrian Dec 2, 2024
ea7a768
fixed mixing layer
okBrian Dec 2, 2024
5a47cfa
Merge branch 'master' into exampleCI2
okBrian Dec 2, 2024
ca10766
add to ignore suite
okBrian Dec 2, 2024
f7294c3
Merge branch 'exampleCI2' of https://github.com/okBrian/MFC into exam…
okBrian Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: Setup MacOS
if: matrix.os == 'macos'
run: |
brew update
brew upgrade
brew install coreutils python cmake fftw hdf5 gcc@14 boost open-mpi
echo "FC=gfortran-14" >> $GITHUB_ENV
echo "BOOST_INCLUDE=/opt/homebrew/include/" >> $GITHUB_ENV
Expand Down
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
)
add_link_options("SHELL: -K trap=fp" "SHELL: -G2")
endif()

elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Flang")
add_compile_options(
$<$<COMPILE_LANGUAGE:Fortran>:-Mfreeform>
Expand All @@ -188,13 +189,14 @@ elseif ((CMAKE_Fortran_COMPILER_ID STREQUAL "NVHPC") OR (CMAKE_Fortran_COMPILER_
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(
$<$<COMPILE_LANGUAGE:Fortran>:-O0>
$<$<COMPILE_LANGUAGE:Fortran>:-C>
$<$<COMPILE_LANGUAGE:Fortran>:-g>
$<$<COMPILE_LANGUAGE:Fortran>:-traceback>
$<$<COMPILE_LANGUAGE:Fortran>:-Minform=inform>
$<$<COMPILE_LANGUAGE:Fortran>:-Mbounds>
)
endif()

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(-C -g -O0 -traceback -Minform=inform -Mbounds)
endif()

if (DEFINED ENV{MFC_CUDA_CC})
string(REGEX MATCHALL "[0-9]+" MFC_CUDA_CC $ENV{MFC_CUDA_CC})
message(STATUS "Found $MFC_CUDA_CC specified. GPU code will be generated for compute capability(ies) ${MFC_CUDA_CC}.")
Expand Down
153 changes: 0 additions & 153 deletions examples/0D_qbmm/case.py

This file was deleted.

2 changes: 1 addition & 1 deletion examples/1D_acoustic_dipole/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_acoustic_gauss_sigmadist/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_acoustic_gauss_sigmatime/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_acoustic_sine_frequency/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_acoustic_sine_wavelength/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
3 changes: 2 additions & 1 deletion examples/1D_bubblescreen/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,13 @@
# Acoustic source ==========================================
'acoustic_source' : 'T',
'num_source' : 1,
'acoustic(1)%support' : 1,
'acoustic(1)%loc(1)' : -5.E-03/x0,
'acoustic(1)%npulse' : 1,
'acoustic(1)%dir' : 1.,
'acoustic(1)%pulse' : 1,
'acoustic(1)%mag' : pa,
'acoustic(1)%length' : (1./(300000.))*cact/x0,
'acoustic(1)%wavelength' : (1./(300000.))*cact/x0
# ==========================================================
}))

Expand Down
3 changes: 2 additions & 1 deletion examples/1D_exp_bubscreen/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,13 @@
# Acoustic source ==========================================
'acoustic_source' : 'T',
'num_source' : 1,
'acoustic(1)%support' : 1,
'acoustic(1)%loc(1)' : -0.05/x0,
'acoustic(1)%npulse' : 1,
'acoustic(1)%dir' : 1.,
'acoustic(1)%pulse' : 1,
'acoustic(1)%mag' : 0.001,
'acoustic(1)%length' : (1./(30000.))*cphysical/x0,
'acoustic(1)%wavelength' : (1./(30000.))*cphysical/x0
# ==========================================================
}))

Expand Down
18 changes: 9 additions & 9 deletions examples/1D_hypo_2materials/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@
# Computational Domain Parameters ==========================
'x_domain%beg' : 0.E+00,
'x_domain%end' : 1.E+00,
'm' : Nx,
'm' : 25,
'n' : 0,
'p' : 0,
'dt' : mydt,
't_step_start' : 0,
't_step_stop' : int(Nt),
't_step_save' : int(math.ceil(Nt/1.)),
't_step_stop' : 50,
't_step_save' : 50,
# ==========================================================

# Simulation Algorithm Parameters ==========================
'num_patches' : 2,
'model_eqns' : 2,
'alt_soundspeed' : 'F',
'num_fluids' : 2,
'mpp_lim' : 'F',
'mixture_err' : 'F',
'time_stepper' : 3,
'mpp_lim' : 'F',
'mixture_err' : 'F',
'time_stepper' : 3,
'weno_order' : 3,
'weno_eps' : 1.E-16,
'weno_Re_flux' : 'F',
'weno_Re_flux' : 'F',
'weno_avg' : 'F',
'mapped_weno' : 'F',
'null_weights' : 'F',
'mp_weno' : 'F',
'riemann_solver' : 1,
'riemann_solver' : 1,
'wave_speeds' : 1,
'avg_state' : 2,
'bc_x%beg' : -3,
Expand All @@ -58,7 +58,7 @@
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'parallel_io' :'F',
'parallel_io' :'F',
# ==========================================================

# Patch 1 L ================================================
Expand Down
14 changes: 7 additions & 7 deletions examples/1D_impact/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@
'model_eqns' : 2,
'alt_soundspeed' : 'F',
'num_fluids' : 1,
'mpp_lim' : 'F',
'mixture_err' : 'F',
'time_stepper' : 3,
'mpp_lim' : 'F',
'mixture_err' : 'F',
'time_stepper' : 3,
'weno_order' : 3,
'weno_eps' : 1.E-16,
'weno_Re_flux' : 'F',
'weno_avg' : 'F',
'weno_Re_flux' : 'F',
'weno_avg' : 'F',
'mapped_weno' : 'F',
'null_weights' : 'F',
'mp_weno' : 'F',
'riemann_solver' : 1,
'riemann_solver' : 1,
'wave_speeds' : 1,
'avg_state' : 2,
'bc_x%beg' : -3,
Expand All @@ -58,7 +58,7 @@
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'parallel_io' :'F',
'parallel_io' :'F',
# ==========================================================

# Patch 1 L ================================================
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_qbmm/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'parallel_io' :'F',
'parallel_io' :'T',
'fd_order' : 1,
#'schlieren_wrt' :'T',
'probe_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_shuosher_teno5/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_shuosher_teno7/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_shuosher_wenojs5/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_shuosher_wenom5/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# ==========================================================================

# Formatted Database Files Structure Parameters ============================
'format' : 2,
'format' : 1,
'precision' : 2,
'prim_vars_wrt' :'T',
'rho_wrt' :'T',
Expand Down
Loading
Loading