Re: Compilation problem using standard user routine
Posted: Tue Jul 21, 2020 3:23 pm
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 function.
I have installed code_saturne on ubuntu 16.04 LTS and the routine in C are still not executed by the solver.
The problem appears both in serial and parallel runs.
Is it possible that the problem comes from C libraries used during the installation stage ? When I tried the installation on ubuntu I faced many installation problem. Especially the mpi.h file was not find during the compilation. The solution was to install mpi-default-bin/mpi-default-dev and to modify the setup script : mpiCompC mpicc and mpiCompCxx mpicxx.
Best regards,
PF
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 function.
I have installed code_saturne on ubuntu 16.04 LTS and the routine in C are still not executed by the solver.
The problem appears both in serial and parallel runs.
Is it possible that the problem comes from C libraries used during the installation stage ? When I tried the installation on ubuntu I faced many installation problem. Especially the mpi.h file was not find during the compilation. The solution was to install mpi-default-bin/mpi-default-dev and to modify the setup script : mpiCompC mpicc and mpiCompCxx mpicxx.
Best regards,
PF