I am trying to run an example FSI case "externecylindresconcentriques" given by Yvan on this forum using code saturne 5.0.9 and salome meca 2018 on ubuntu 16.04. I configured saturne using the following commands:
after the calculation begins, it says there is an error creating the FSI_ASTER component and in the corresponding log in the /tmp directory it says:ash@ash-computer:~/code_saturne-5.0.9/cs$ /home/ash/code_saturne-5.0.9/configure --prefix=/home/ash/code_saturne-5.0.9/cs/arch/Linux_x86_64/ --with-salome=/home/ash/salome_meca/V2018.0.1_public --with-hdf5=salome --with-cgns=salome --with-med=salome QT_SELECT=5 CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0
I'm not sure if this is caused by using a different version of python or gcc. I believe salome meca uses python 2.7.10 and gcc 4.9.2 and my system python is 2.7.12. For this saturne installation i used my system's gcc-5.4 but i get the same result when i configured CS with gcc-4.9.3(i had trouble installing 4.9.2).>>> 2018/11/09-12:59:39.166 [local_shell@/home/ash/salome_meca/V2018.0.1_public/tools/Code_aster_frontend-201801/lib/python2.7/site-packages/asrun/system.py:333]
ERROR : iret = 1
+++ STANDARD OUTPUT:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "/home/ash/salome_meca/V2018.0.1_public/prerequisites/Numpy-1121/lib/python2.7/site-packages/site.py", line 73, in <module>
__boot()
File "/home/ash/salome_meca/V2018.0.1_public/prerequisites/Numpy-1121/lib/python2.7/site-packages/site.py", line 3, in __boot
import os
ImportError: No module named os
EXECUTION_CODE_ASTER_EXIT_24350=1
+++ STANDARD ERROR:
+++ END
output from the run:
Any help is appreciated. Thanks!ash@ash-computer:~/fsi/ecc$ ./runcase
Coupling execution between:
o Code_Saturne [1 domain(s)];
o Code_Aster [1 domain(s)];
[1 coupler(s)];
Code_Saturne
************
Version: 5.0
Path: /home/ash/code_saturne-5.0.9/cs/arch/Linux_x86_64
Result directory:
/home/ash/fsi/ecc/RESU_COUPLING/20181109-1320
****************************************
Compiling user subroutines and linking
****************************************
****************************
Preparing calculation data
****************************
Single processor Code_Saturne simulation.
Single processor Code_Aster simulation.
***************************
Preprocessing calculation
***************************
Creating YACS coupling scheme.
Configure parser: processing /home/ash/code_saturne-5.0.9/cs/arch/Linux_x86_64/etc/salome/fsi_appli_config.xml ...
--- add module KERNEL /home/ash/salome_meca/V2018.0.1_public/modules/KERNEL_V8_5_0
link /home/ash/fsi/ecc/RESU_COUPLING/20181109-1320/appli/bin/salome/test/KERNEL --> /home/ash/salome_meca/V2018.0.1_public/modules/KERNEL_V8_5_0/bin/salome/test
--- add module GUI /home/ash/salome_meca/V2018.0.1_public/modules/GUI_V8_5_asterstudy_v011
--- add module YACS /home/ash/salome_meca/V2018.0.1_public/modules/YACS_V8_5_0
link /home/ash/fsi/ecc/RESU_COUPLING/20181109-1320/appli/bin/salome/test/YACS --> /home/ash/salome_meca/V2018.0.1_public/modules/YACS_V8_5_0/bin/salome/test
--- add module FSI /home/ash/code_saturne-5.0.9/cs/arch/Linux_x86_64
WARNING: context file does not exist
WARNING: sha1 collections file does not exist
**********************
Starting calculation
**********************
runSalome running on ash-Lenovo-Y50-70
Searching for a free port for naming service: 2810 - OK
Searching Naming Service + found in 0.1 seconds
Searching /Registry in Naming Service + found in 0.5 seconds
Searching /Kernel/ModulCatalog in Naming Service +th. 140253671368512 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/ModuleCatalog/SALOME_ModuleCatalog_Server.cxx [101] : Module Catalog Server: Naming Service was found
found in 0.5 seconds
RunStudy
Searching /myStudyManager in Naming Service + found in 0.5 seconds
Searching /Containers/ash-Lenovo-Y50-70/FactoryServer in Naming Service + found in 0.5 seconds
Start SALOME, elapsed time : 2.1 seconds
graph = fsi_yacs_scheme.xml options: display=0 verbose=0 stop-on-error=1 shutdown=1 reset=0 dumpErrorFile=dumpErrorState.xml
Starting 0 ms
Elapsed time before load: 79 ms
Elapsed time after load: 81 ms
Elapsed time after validation: 81 ms
Elapsed time after check consistency: 82 ms
+++++++++++++++++++ start calculation +++++++++++++++++++
th. 139800833894144 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [624] : [GiveContainer] waiting 60 second steps container /Containers/ash-Lenovo-Y50-70/25022_FSI_MILIEU_0x1c527a0
th. 139800825501440 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [624] : [GiveContainer] waiting 60 second steps container /Containers/ash-Lenovo-Y50-70/25022_FSI_ASTER_0x1c52490
th. 139800842286848 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [624] : [GiveContainer] waiting 60 second steps container /Containers/ash-Lenovo-Y50-70/25022_FSI_SATURNE_0x1c52aa0
th. 139800833894144 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [436] : [GiveContainer] container /Containers/ash-Lenovo-Y50-70/25022_FSI_MILIEU_0x1c527a0 launched
SalomeContainer launched : /Containers/ash-Lenovo-Y50-70/25022_FSI_MILIEU_0x1c527a0 ash-Lenovo-Y50-70 25045
th. 139800825501440 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [436] : [GiveContainer] container /Containers/ash-Lenovo-Y50-70/25022_FSI_ASTER_0x1c52490 launched
SalomeContainer launched : /Containers/ash-Lenovo-Y50-70/25022_FSI_ASTER_0x1c52490 ash-Lenovo-Y50-70 25047
th. 139800842286848 - Trace /home/A21173/smeca/yamm_build/V2018.0.1_public_build/V2018_public/modules/src/KERNEL/src/Container/SALOME_ContainerManager.cxx [436] : [GiveContainer] container /Containers/ash-Lenovo-Y50-70/25022_FSI_SATURNE_0x1c52aa0 launched
SalomeContainer launched : /Containers/ash-Lenovo-Y50-70/25022_FSI_SATURNE_0x1c52aa0 ash-Lenovo-Y50-70 25049
Error while trying to create a new component: component 'FSI_ASTER' is not installed or it's a wrong name
SALOME_Container::create_component_instance failed
Problem in connectService: solid_service Component is probably not launched. Modify your YACS file
+++++++++++++++++++ end calculation +++++++++++++++++++
Proc state : FAILED
Elapsed time after execution: 21202 ms
Execution has ended in error
<error node= proc state= FAILED>
<error node= inter_service state= ERROR>
Problem in connectService: solid_service Component is probably not launched. Modify your YACS file
</error>
<error node= fluid_service state= ERROR>
</error>
<error node= solid_service state= ERROR>
Error while trying to create a new component: component 'FSI_ASTER' is not installed or it's a wrong name
SALOME_Container::create_component_instance failed
</error>
</error>
shutdown SALOME container: /Containers/ash-Lenovo-Y50-70/25022_FSI_MILIEU_0x1c527a0
shutdown SALOME container: /Containers/ash-Lenovo-Y50-70/25022_FSI_SATURNE_0x1c52aa0
shutdown SALOME container: /Containers/ash-Lenovo-Y50-70/25022_FSI_ASTER_0x1c52490
Error raised when executing command: driver -e fsi_yacs_scheme.xml
ERROR:salomeContext:SystemExit 1 in method _runSession.
****************************
Saving calculation results
****************************
Ash