hello,
I do run the code from an ssh connection since i have no access to the machine at the moment and is a standard Ubuntu machine.
When adding the --initalize option i actually have the run_solver and the cs_solver executable files (attached here), the following is the output of "ldd cs_solver":
Whereas when running ./cs_solver nothing prints out.
Which might be the python routines you were thinking about?
Regards and again thanks for the help,
Francesco
Library not found with custom compile file
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: Library not found with custom compile file
- Attachments
-
- 20241008-1642.zip
- (94.01 KiB) Downloaded 41 times
-
- Posts: 4161
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Library not found with custom compile file
Hello,
It is really surprising that you get no output at all, and no error message either. Perhaps the linked library has some initialization step that redirects output or changes the working directory.
I guess the next step would be to run the code under a debugger, either using code_saturne's debug wrapper, or simply running cs_solver it under gdb directly (do not forget et export LD_LIBRARY_PATH as in run_solver). Of course, using a debug build for this is recommended, to view the matching source code.
Best regards,
Yvan Fournier
It is really surprising that you get no output at all, and no error message either. Perhaps the linked library has some initialization step that redirects output or changes the working directory.
I guess the next step would be to run the code under a debugger, either using code_saturne's debug wrapper, or simply running cs_solver it under gdb directly (do not forget et export LD_LIBRARY_PATH as in run_solver). Of course, using a debug build for this is recommended, to view the matching source code.
Best regards,
Yvan Fournier
Re: Library not found with custom compile file
Hello Yvan,
Actually i did manage to find which was the mistake, it related to my C++ implementation of the neural network. After debugging it, now the code is actually running smoothly, giving back all of the needed output files.
Thanks for the help and regards,
Francesco
Actually i did manage to find which was the mistake, it related to my C++ implementation of the neural network. After debugging it, now the code is actually running smoothly, giving back all of the needed output files.
Thanks for the help and regards,
Francesco