Page 1 of 1

Error in "Prepare Batch Calculation"

Posted: Mon May 18, 2015 8:02 pm
by Muhsin
Hello,

I recently installed code_saturne and about to learn to use it starting with the tutorial. unfortunately, I couldn't finish the first tutorial as I got an error at the prepare batch calculation. Error shown in the terminal as following.


"Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/code_saturne/Base/MainView.py", line 1127, in displayNewPage
self.Browser)
File "/usr/local/lib/python2.7/dist-packages/code_saturne/Base/BrowserView.py", line 578, in display
return displaySelectedPage(name, root, case, stbar, study, tree)
File "/usr/local/lib/python2.7/dist-packages/code_saturne/Base/Toolbox.py", line 254, in displaySelectedPage
thisPage = Page.BatchRunningView(root, case)
File "/usr/local/lib/python2.7/dist-packages/code_saturne/Pages/BatchRunningView.py", line 469, in __init__
if config_features['mpi'] == 'yes':
KeyError: 'mpi'"


Would anyone consult me on this problem. Thank you

Re: Error in "Prepare Batch Calculation"

Posted: Mon May 18, 2015 9:17 pm
by Yvan Fournier
Hello,

Which version ?

How was it built ?

Regards,

Yvan

Re: Error in "Prepare Batch Calculation"

Posted: Tue May 19, 2015 1:59 pm
by Muhsin
Hello,

Previously I installed code saturne 3.3, and I install manually (because unknowingly couldn't run automated installation). Now I manage to install code_saturne 4.0 automatically and the error occurred before is now fixed, however I got the following error when I start to run the calculation.

/home/muhsin/Code_Saturne/4.0.0/code_saturne-4.0.0/arch/Linux_x86_64/libexec/code_saturne/cs_preprocess: symbol lookup error: /usr/local/lib/libopen-rte.so.7: undefined symbol: orte_rml
Error running the preprocessor.



Regards,
Muhsin

Re: Error in "Prepare Batch Calculation"

Posted: Tue May 19, 2015 3:06 pm
by Yvan Fournier
Hello,

As you installed the code in "system" directories, some linker flags are assumed not to be necessary.
To update the linker cache, run:
sudo ldconfig
This should be enough.

Regards,

Yvan