Public bug reported:

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.

** Affects: code-saturne (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "cs_user_ubuntu_issue.tar.gz"
   
https://bugs.launchpad.net/bugs/1672585/+attachment/4837363/+files/cs_user_ubuntu_issue.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672585

Title:
  code_saturne user subroutines are ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/code-saturne/+bug/1672585/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to