initial upload

This commit is contained in:
2025-12-17 10:53:43 +08:00
commit f3f1778f77
308 changed files with 129940 additions and 0 deletions

19
debug_mpi.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# general mpi debugging
# instantly start the debugger
#mpirun --oversubscribe -np $1 xterm -e gdb -ex run --args ../../build/bin/TOMOATT -v -i $2
# for break point insertion
mpirun --oversubscribe -np $1 xterm -e gdb --args ../../build/bin/TOMOATT -v -i $2
# tui mode
#mpirun --oversubscribe -np $1 xterm -e gdb --tui --args ../../build/bin/TOMOATT -i $2
# valgrind memory leak check
#mpirun --oversubscribe -np $1 valgrind --log-file="log_val" --leak-check=yes --track-origins=yes ../../build/bin/TOMOATT -i $2
# cuda debug
#mpirun --oversubscribe -np $1 xterm -e cuda-gdb -ex run --args ../../build/bin/TOMOATT $2
# nvprof
#nvprof mpirun --oversubscribe -np 1 ../../build/bin/TOMOATT $2