init.c(478) :ERROR:161: Cannot initialise TCL

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
YasmineAmmar

init.c(478) :ERROR:161: Cannot initialise TCL

Post by YasmineAmmar »

Hello,

While trying to install Code_Saturne 2.2.1 on a laptop with Centos 6.2, we get the following error message
init.c(478) :ERROR:161: Cannot initialise TCL.

We can make and make install and have code_saturne installed but then this error message would appear when running a simulation.

The log, environment setting and console error files are attached.

Thanks in advance for your help.

Kind regards

Yasmine
Attachments
env_settings.log
environment settings
(18.21 KiB) Downloaded 395 times
Console_errors.log
console errors
(882 Bytes) Downloaded 314 times
config.log
config file
(287.86 KiB) Downloaded 401 times
Yvan Fournier
Posts: 4207
Joined: Mon Feb 20, 2012 3:25 pm

Re: init.c(478) :ERROR:161: Cannot initialise TCL

Post by Yvan Fournier »

Hello,

This is strange, as Code_Saturne does not use TCL, but it may be due to the SALOME environment you are linking against.

Did you source the SALOME environment ? I would recommend re-installing without sourcing that environment, as Code_Saturne should be able to access only the parts it needs anyways (even when using the --with-salome configure option, files are sourced automatically by the code in most cases).

If you still have an error, I recommend removing some of the optional libraries from the configure options (such as SCOTCH, CGNS, ...), at least to see which of these causes the problem. If the problem comes from one of those libraries, we'll have a better understanding of the probem, so finding a solution or workaround should be easier.

Best regards,

Yvan
YasmineAmmar

Re: init.c(478) :ERROR:161: Cannot initialise TCL

Post by YasmineAmmar »

Hello Ivan,

Thank you for your quick reply.

Yes, I did source the SALOME environment. So as you suggested, I re-installed without sourcing that environment but I came across a PyQt4 problem which was already documented by you in a previous thread at http://code-saturne.org/forum/viewtopic.php?f=8&t=984. I therefore added the option "--with-python_exec=/usr/bin" in the configure command after installing PyQt4 and PyQt4-devel.. and it worked!

Many thanks for your help and best wishes,

Yasmine
Post Reply