code_saturne user subroutines are ignored

Bug #1672585 reported by Yvan Fournier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
code-saturne (Ubuntu)
New
Undecided
Unassigned

Bug Description

User subroutines in Code_Saturne are not handled in the code_saturne package.

These Fortran subroutines and C functions are used for advanced setups, and compiled and relinked with the code (replacing built-in defaults).

To reproduce:

In the attached example, untar the archive, "cd" into it, and run "code_saturne compile -s src_saturne".

The run "./cs_solver -p echo_case1.xml"

This should print "here" for every time step (10 time steps here, which should run in a few seconds).

If the execution finishes with nothing printed to the terminal, the bug is reproduced (detailed logging in the "listing" file allows checking time steps have been run).

It seems this issue has appeared on various Ubuntu/Code_Saturne releases over the last years.

I reproduced this issue in Ubuntu 16.10, other reproduce it under Ubuntu 16.04 (at least).

I do not reproduced the issue under upstream Debian Sid (nor have it had reported to me on older Debian distributions).

The bug does not occur in the vanila Code_Saturne.

Note: I am one of the leading developers of the Code_Saturne CFD code. I suspect the Ubuntu issue may be caused by special compiler/linker defaults that may be activated distribution-wide, but am not sure. Users who compile the code themselves on the distribution do not encounter this issue, so it seems it is specific to the package.

Revision history for this message
Yvan Fournier (yvan-fournier) wrote :
Revision history for this message
Yvan Fournier (yvan-fournier) wrote :

This issue is still observed in Ubuntu 18.04 LTS at least, while not present in any Debian version tested.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.