Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ src/*/*.mod
src/*/*.o
src/*/autogen/
src/common/case.fpp
src/pre_process_code/pre_process
src/simulation_code/simulation
src/post_process_code/post_process
src/pre_process/pre_process
src/simulation/simulation
src/post_process/post_process
src/master_scripts/*.pyc
src/*/.build
src/*/case.*
Expand Down
22 changes: 11 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,19 @@ if (CMAKE_BUILD_TYPE STREQUAL "Release")
endif()


# This macro locates Fypp files in src/<target>_code/ and instructs CMake how to
# This macro locates Fypp files in src/<target>/ and instructs CMake how to
# preprocess them to generate their .f90 counterparts, should they be requested
# by an executable or library. They are preprocessed again if they are modified
# or if src/common_code/case.fpp changes because some #:include it, and produce
# or if src/common/case.fpp changes because some #:include it, and produce
# a different .f90 file depending on case.fpp's contents. This macro sets the
# <target>_srcs CMake cache variaible the full list of .f90 files, including the
# preprocessed Fypp files.
macro(HANDLE_FYPP target)
file(GLOB ${target}_f90s "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}_code/*.f90")
file(GLOB ${target}_fpps "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}_code/*.fpp")
file(GLOB ${target}_f90s "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}/*.f90")
file(GLOB ${target}_fpps "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}/*.fpp")

# Create src/<target>_code/autogen folder in which to generate Fypp'd .f90 files.
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}_code/autogen")
# Create src/<target>/autogen folder in which to generate Fypp'd .f90 files.
file(MAKE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}/autogen")

set(${target}_srcs "${${target}_f90s}")

Expand All @@ -171,7 +171,7 @@ macro(HANDLE_FYPP target)
add_custom_command(
OUTPUT "${f90_filepath}"
COMMAND "${FYPP_EXE}" "${fpp_filepath}" "${f90_filepath}"
DEPENDS "${fpp_filepath}" "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}_code/case.fpp"
DEPENDS "${fpp_filepath}" "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}/case.fpp"
COMMENT "Preprocessing ${fpp_filename}"
VERBATIM
)
Expand All @@ -190,7 +190,7 @@ HANDLE_FYPP(simulation)
HANDLE_FYPP(post_process)


# === === src/pre_process_code
# === === src/pre_process
if (MFC_BUILD_PRE_PROCESS)
add_executable(pre_process "${pre_process_srcs}" "${common_srcs}")

Expand All @@ -210,7 +210,7 @@ if (MFC_BUILD_PRE_PROCESS)
endif()


# === === src/simulation_code
# === === src/simulation
if (MFC_BUILD_SIMULATION)
add_executable(simulation "${simulation_srcs}" "${common_srcs}")

Expand Down Expand Up @@ -283,7 +283,7 @@ if (MFC_BUILD_SIMULATION)
endif()


# === === src/post_process_code
# === === src/post_process
if (MFC_BUILD_POST_PROCESS)
add_executable(post_process "${post_process_srcs}" "${common_srcs}")

Expand Down Expand Up @@ -313,7 +313,7 @@ add_custom_target("doc")
macro(GEN_DOCS target name)

set(DOXYGEN_PROJECT_NAME "${name}")
set(DOXYGEN_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}_code/ ${CMAKE_CURRENT_BINARY_DIR}/doxygen/${target}/")
set(DOXYGEN_INPUT "${CMAKE_CURRENT_SOURCE_DIR}/src/${target}/ ${CMAKE_CURRENT_BINARY_DIR}/doxygen/${target}/")

file(
COPY "${CMAKE_CURRENT_SOURCE_DIR}/doc/${target}"
Expand Down
12 changes: 3 additions & 9 deletions doc/landing/readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# Welcome to MFC!

## Presentation & User Guide

- [Authors](authors.md)
- [Building](building.md)
- [Testing](testing.md)
- [Running](running.md)
- [Flow Visualisation](visualisation.md)
- [References](references.md)
The MFC is a fully-documented parallel simulation software for multi-component, multi-phase, and bubbly flows. The source code of MFC is available [on GitHub](https://github.com/MFlowCode/MFC) and is open to contributions!

## Code Documentation

Expand Down Expand Up @@ -113,7 +107,7 @@ The list of modules offered by a system is subject to change. The aforementioned

### OpenACC Memory Profiling

You can append `-DMFC_MEMORY_DUMP` to `release-gpu`'s Fortran compiler options in [defaults.yaml](defaults.yaml) to make the [simulation code](src/simulation_code/) call `acc_present_dump()` at various stages of program execution to obtain a printout of on-device memory usage. The [mem_parse.sh](misc/mem_parse.sh) script can be given as an argument the path to a file containing MFC's output, in order to aggregate the data and produce tables with formatted output.
You can append `-DMFC_MEMORY_DUMP` to `release-gpu`'s Fortran compiler options in [defaults.yaml](defaults.yaml) to make the [simulation code](src/simulation/) call `acc_present_dump()` at various stages of program execution to obtain a printout of on-device memory usage. The [mem_parse.sh](misc/mem_parse.sh) script can be given as an argument the path to a file containing MFC's output, in order to aggregate the data and produce tables with formatted output.

## License

Expand Down
6 changes: 3 additions & 3 deletions doc/landing/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ computations are done in Python to generate the case.

### Interactive Execution

To run all stages of MFC, that is [pre_process](src/pre_process_code/), [simulation](src/simulation_code/), and [post_process](src/post_process_code/) on the sample case [2D_shockbubble](examples/2D_shockbubble/),
To run all stages of MFC, that is [pre_process](src/pre_process/), [simulation](src/simulation/), and [post_process](src/post_process/) on the sample case [2D_shockbubble](examples/2D_shockbubble/),

```console
$ ./mfc.sh run examples/2D_shockbubble/case.py
Expand All @@ -486,13 +486,13 @@ specified with the `-j` option.

For example,

- Running [pre_process](src/pre_process_code/) with 2 cores:
- Running [pre_process](src/pre_process/) with 2 cores:

```console
$ ./mfc.sh run examples/2D_shockbubble/case.py -t pre_process -n 2
```

- Running [simulation](src/simulation_code/) and [post_process](src/post_process_code/)
- Running [simulation](src/simulation/) and [post_process](src/post_process/)
using 4 cores:

```console
Expand Down
8 changes: 4 additions & 4 deletions examples/1D_bubblescreen/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ for proc in 1
do
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../build/___current___/build/bin/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../build/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_2539_gpu -f -o profile_anand_riemann ../../.mfc/___current___/build/bin/simulation
done
10 changes: 5 additions & 5 deletions examples/1D_exercise_WENO/run.lsf
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ do
size=$((32000000 * proc))
sed -i 's/m = .*/m = '"$size"'/' simulation.inp
sed -i 's/m = .*/m = '"$size"'/' pre_process.inp
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../src/pre_process_code/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_902_gpu -f -o profile_anand_alt ../../src/simulation_code/simulation
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../src/pre_process/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_902_gpu -f -o profile_anand_alt ../../src/simulation/simulation
done
8 changes: 4 additions & 4 deletions examples/1D_exercise_WENO/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ for proc in 1
do
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_2539_gpu -f -o profile_anand_riemann ../../.mfc/___current___/build/bin/simulation
done
2 changes: 1 addition & 1 deletion examples/1D_exp_bubscreen/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
# Preston's model shows up. polytropic = False means complicated Preston model
# = True means simpler Rayleigh--Plesset model
# if polytropic == False then you will end up calling s_initialize_nonpoly in
# m_global_parameters.f90 in both the pre_process and simulation_code
# m_global_parameters.f90 in both the pre_process and simulation
'polytropic' : 'T',
'polydisperse' : 'F',
#'poly_sigma' : 0.3,
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_exp_bubscreen/input_bak.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
# Preston's model shows up. polytropic = False means complicated Preston model
# = True means simpler Rayleigh--Plesset model
# if polytropic == False then you will end up calling s_initialize_nonpoly in
# m_global_parameters.f90 in both the pre_process and simulation_code
# m_global_parameters.f90 in both the pre_process and simulation
'polytropic' : 'T', \
'polydisperse' : 'F', \
#'poly_sigma' : 0.3, \
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_exp_bubscreen/input_shock.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
# Preston's model shows up. polytropic = False means complicated Preston model
# = True means simpler Rayleigh--Plesset model
# if polytropic == False then you will end up calling s_initialize_nonpoly in
# m_global_parameters.f90 in both the pre_process and simulation_code
# m_global_parameters.f90 in both the pre_process and simulation
'polytropic' : 'T', \
'polydisperse' : 'F', \
#'poly_sigma' : 0.3, \
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_exp_bubscreen/input_shock2.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
# Preston's model shows up. polytropic = False means complicated Preston model
# = True means simpler Rayleigh--Plesset model
# if polytropic == False then you will end up calling s_initialize_nonpoly in
# m_global_parameters.f90 in both the pre_process and simulation_code
# m_global_parameters.f90 in both the pre_process and simulation
'polytropic' : 'T', \
'polydisperse' : 'F', \
#'poly_sigma' : 0.3, \
Expand Down
2 changes: 1 addition & 1 deletion examples/1D_exp_bubscreen/input_shock3.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
# Preston's model shows up. polytropic = False means complicated Preston model
# = True means simpler Rayleigh--Plesset model
# if polytropic == False then you will end up calling s_initialize_nonpoly in
# m_global_parameters.f90 in both the pre_process and simulation_code
# m_global_parameters.f90 in both the pre_process and simulation
'polytropic' : 'T', \
'polydisperse' : 'F', \
#'poly_sigma' : 0.3, \
Expand Down
8 changes: 4 additions & 4 deletions examples/1D_kapilashocktube/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ for proc in 1
do
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_2539_gpu -f -o profile_anand_riemann ../../.mfc/___current___/build/bin/simulation
done
8 changes: 4 additions & 4 deletions examples/1D_qbmm/srun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export PGI_ACC_DEBUG=0

srun -N 1 -n 1 -G 1 ../../build/___current___/build/bin/pre_process
time srun -N 1 -n 1 -G 1 ../../build/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_2539_gpu -f -o profile_anand_riemann ../../.mfc/___current___/build/bin/simulation
8 changes: 4 additions & 4 deletions examples/1D_sodshocktube/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ for proc in 1
do
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_2539_gpu -f -o profile_anand_riemann ../../.mfc/___current___/build/bin/simulation
done
10 changes: 5 additions & 5 deletions examples/3D_test2/run.lsf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ for proc in 1
do
jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../../.mfc/___current___/build/bin/pre_process
time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../.mfc/___current___/build/bin/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_4212_gpu -f -o profile_anand_riemann ../../src/simulation_code/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 ../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nsys profile --stats=true ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1341_gpu -f -o profile_anand_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_weno_s_weno_alt_1565_gpu -f -o profile_anand_mp_weno ../../src/simulation/simulation
#time jsrun --smpiargs="-gpu" -r$proc -a1 -c1 -g1 nv-nsight-cu-cli --set full -k m_riemann_solvers_s_hllc_riemann_solver_acc_4212_gpu -f -o profile_anand_riemann ../../src/simulation/simulation
done
Loading