gdb debugging
Posted: Fri Jan 13, 2023 10:53 am
Hi all,
I want to use gdb to debug a computation. I read the web pagethat explain how to use gdb but I do not manage to run a computation with gdb.
I tried to go in the SCRIPT file and run the command:
I get the following error message: not in executable format: file format not recognized
My runcase file is the following:
May you explain me how to run a computation Code_Saturne with gdb?
Thanks a lot,
Sincerely
I want to use gdb to debug a computation. I read the web pagethat explain how to use gdb but I do not manage to run a computation with gdb.
I tried to go in the SCRIPT file and run the command:
Code: Select all
gdb runcase
My runcase file is the following:
Code: Select all
#!/bin/bash
# Ensure the correct command is found:
export PATH=/home/david/Code_Saturne/5.3.4/code_saturne-5.3.4/arch/Linux_x86_64/bin:$PATH
# Run command:
\code_saturne run --param setup.xml
Thanks a lot,
Sincerely