User Subroutine Compilation Problem

Hello All,
I am trying to get a piece of subroutine for physical properties to work but getting runcase error. I am attaching my compile.log and my subroutine.

Previously I have tested Code_Saturne 2.3 and was able to run a TempC based variable density problem. But recently I installed Code_Saturne 3.0.1 on Ubuntu 12.04 and facing this issue.
Please point out my mistakes.

Thanks
Anand
compile.log (3.37 KB)
cs_user_physical_properties.f90 (10.4 KB)

Hello,

It seems the code is not able to re-link with libxml2. This is strange, ad if libxml2 is present upon install, it should be usable afterwards. So here a a few questions to help troubleshoting:

  • does the code work correctly when not using a user subroutine ?

  • did you perhaps uninstall libxml2 after installing Code_Saturne, or use a non-packaged version of libxml2 ?

  • could you post your installation logs (especially the config.log file) for the Code_Saturne installer ?

Regards,

Yvan

Hello Yvan,

-Yes, the code works correctly without User Subroutine. (tested for a laminar flow in channel)

-No, libxml2 was never un-installed and is the latest version: 2.7.8.dfsg-5.1ubuntu4.4

-I am attaching the insallation logs and also my installation setup

Thanks
Anand
setup.txt (4.62 KB)
config.log (199 KB)
install_saturne.log (1.55 MB)

Hello,

I am not quite sure, but you seem to both have a packaged libxml2, and one from the installer (this should not be an issue, but could become one if there is a minor difference in link order between the install and the re-compilation script).

I would recommend:

  • remove libxml2 from the /home/anand/Code_Saturne directories

  • make sure you have the libxml2-dev Ubuntu package installed

  • in your setup file, use:

libxml2 /usr yes no

  • reinstall Code_Saturne

  • re-test…

Regards,

Yvan

Thanks a lot Yvan,
The code compiles without error!!!

Anand