Run a coupling calculation syrthes-CS
Posted: Fri Jul 12, 2013 8:53 am
Hello,
I am running CS3.0 and Syrthes 4.01 on a Kubuntu 12.04 64bits machine, and would like to run a coupling calculation. I followed the tutorial "version 3.0 tutorial - Three 2D disks", and everything went OK up to the coupling calculation. When I launched the runcase_coupling script I have this error :
Coupling execution between:
o Code_Saturne [1 domain(s)];
o SYRTHES [1 domain(s)];
Code_Saturne is running
***********************
Version: 3.0.0
Path: /opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0
Result directory:
/media/sdb1/CFD/3disks2D/RESU_COUPLING/20130712-0911
Single processor code_saturne simulation.
Single processor SYRTHES simulation.
SYRTHES4 home directory: /opt/syrthes4.0.1/arch/Linux_x86_64
MPI home directory: /opt/Code_Saturne_3.0/openmpi-1.6.3
Building the executable file syrthes..
ar: /opt/syrthes4.0.1/arch/Linux_x86_64/lib/libsyrthes_cfd.a: No such file or directory
make: *** [exe] Erreur 9
Error during the compilation stage
Traceback (most recent call last):
File "./runcase_coupling", line 151, in <module>
save_results=True)
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1472, in run
mpi_environment)
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1162, in prepare_data
d.prepare_data()
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case_domain.py", line 1169, in prepare_data
retval = self.syrthes_case.prepare_run(exec_srcdir, compile_logname)
File "/opt/syrthes4.0.1/arch/Linux_x86_64/share/syrthes/syrthes.py", line 417, in prepare_run
destdir = self.exec_dir)
File "/opt/syrthes4.0.1/arch/Linux_x86_64/share/syrthes/syrthes.py", line 1338, in build_syrthes
shutil.move(os.path.abspath("syrthes"), exec_name)
File "/usr/lib/python2.7/shutil.py", line 299, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 128, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/media/sdb1/CFD/3disks2D/RESU_COUPLING/20130712-0911/solid/src/syrthes'
From what I understood, there is 2 errors,
Thanks for any help.
I am running CS3.0 and Syrthes 4.01 on a Kubuntu 12.04 64bits machine, and would like to run a coupling calculation. I followed the tutorial "version 3.0 tutorial - Three 2D disks", and everything went OK up to the coupling calculation. When I launched the runcase_coupling script I have this error :
Coupling execution between:
o Code_Saturne [1 domain(s)];
o SYRTHES [1 domain(s)];
Code_Saturne is running
***********************
Version: 3.0.0
Path: /opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0
Result directory:
/media/sdb1/CFD/3disks2D/RESU_COUPLING/20130712-0911
Single processor code_saturne simulation.
Single processor SYRTHES simulation.
SYRTHES4 home directory: /opt/syrthes4.0.1/arch/Linux_x86_64
MPI home directory: /opt/Code_Saturne_3.0/openmpi-1.6.3
Building the executable file syrthes..
ar: /opt/syrthes4.0.1/arch/Linux_x86_64/lib/libsyrthes_cfd.a: No such file or directory
make: *** [exe] Erreur 9
Error during the compilation stage
Traceback (most recent call last):
File "./runcase_coupling", line 151, in <module>
save_results=True)
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1472, in run
mpi_environment)
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1162, in prepare_data
d.prepare_data()
File "/opt/Code_Saturne_3.0/Prod/code_saturne-3.0.0/lib/python2.7/site-packages/code_saturne/cs_case_domain.py", line 1169, in prepare_data
retval = self.syrthes_case.prepare_run(exec_srcdir, compile_logname)
File "/opt/syrthes4.0.1/arch/Linux_x86_64/share/syrthes/syrthes.py", line 417, in prepare_run
destdir = self.exec_dir)
File "/opt/syrthes4.0.1/arch/Linux_x86_64/share/syrthes/syrthes.py", line 1338, in build_syrthes
shutil.move(os.path.abspath("syrthes"), exec_name)
File "/usr/lib/python2.7/shutil.py", line 299, in move
copy2(src, real_dst)
File "/usr/lib/python2.7/shutil.py", line 128, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/media/sdb1/CFD/3disks2D/RESU_COUPLING/20130712-0911/solid/src/syrthes'
From what I understood, there is 2 errors,
- * one is the missing "libsyrthes_cfd.a", and I am not able to fix this. Is it a problem during configuration : an option I did forget ?
- * The other is the fact that it is not possible to find thedirectory : '/media/sdb1/CFD/3disks2D/RESU_COUPLING/20130712-0911/solid/src/syrthes'. But this should be generated during execution, no action should be done by myself, am I wrong ?
Thanks for any help.