Search found 8 matches

by PFERRO
Wed Jul 22, 2020 4:11 pm
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Thank Yvan,
it's working !
PF
by PFERRO
Wed Jul 22, 2020 10:09 am
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Dear Yvan, I have reinstalled everything (OS and code_saturne 6.0.4) and now it works (ubuntu 18.04, 16.04 and also Debian 10). The messages are well printed in the listing file. I probably did something wrong during the installation stage. Nevertheless there is another problem with the routine user...
by PFERRO
Tue Jul 21, 2020 3:23 pm
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Dear Yvan, I confirm you that adding the zone as head losses in the gui doesn't solve the problem. Following your recommendations I have tried with another user routine. Unfortunately I see no print with the cs_user_parameters-base.c routine when adding bft_printf("here") inside each void ...
by PFERRO
Fri Jul 10, 2020 2:32 pm
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Hello Yvan, I am not sure to understand your last message. I have copied below the run_solver script. What should be the line containing the path ? #!/bin/bash # Export paths here if necessary or recommended. export LD_LIBRARY_PATH="/usr//lib":$LD_LIBRARY_PATH export OMP_NUM_THREADS=1 cd /...
by PFERRO
Fri Jul 10, 2020 1:38 pm
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Dear Yvan, Using code_saturne 6.0.4 doesn't solve the problem. Please find below the result of ldd command on the cs_solver file : linux-vdso.so.1 (0x00007ffe4e9e0000) libcs_solver-6.0.so => /home/user/Code_Saturne/6.0.4/code_saturne-6.0.4/arch/Linux_x86_64/lib/libcs_solver-6.0.so (0x00007f5ec605e00...
by PFERRO
Fri Jul 10, 2020 8:11 am
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Dear Yvan, Thank you for your answer. In deed, using newer version of the routine make things easier. The compiler is now ok but routines are still not called during the CFD process (printf test). Would you recommend to change Lunix distribution ? If it's the case what would be the best (free) distr...
by PFERRO
Thu Jul 09, 2020 12:58 pm
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Re: Compilation problem using standard user routine

Dear Yvan,

Thank you for your quick answer. Please find attached a test case. This test case has not been built from an old case.
code_saturne has been compiled from source (using the python script).

Best regards,

Paulin
by PFERRO
Thu Jul 09, 2020 11:23 am
Forum: code_saturne usage
Topic: Compilation problem using standard user routine
Replies: 14
Views: 14058

Compilation problem using standard user routine

Dear code_saturne user's, I am facing a problem when trying to use standard user routines : cs_user_extra_operations.c. : code_saturne stops at the compilation stage. Note that the routine is as provided by code_saturne, i.e empty. Additional tests have been made with the cs_user_head_losses.c routi...