Code_saturne v2.1.1 on a PBS Cluster
Posted: Fri Jan 06, 2012 5:08 pm
Hello,
I am using the 2.1.1 version on a PBS cluster. If code_saturne is launched on the frontend node (./runcase) it works well.
If i use the PBS batch (qsub runcase), i have to impose the case directory in the runcase file (code_saturne --case case_directory) otherwise the SRC,DATA, ... directories are unknown. It works without user fortran files, but if i add files in the SRC directory I have the following error message :
File "/Calcul/Apps2/saturne4.2.4/v211/code_saturne-2.1.1/lib64/python2.6/site-packages/code_saturne/cs_case.py", line 1350, in prepare_data d.compile_and_link()
File "/Calcul/Apps2/saturne4.2.4/v211/code_saturne-2.1.1/lib64/python2.6/site-packages/code_saturne/cs_case_domain.py", line 627, in compile_and_link
raise RunCaseError('Compile or link error.') cs_case_domain.RunCaseError: Compile or link error.
The last call of the "run_command function" in cs_compil.py returns 1 with "qsub runcase" ( it is 0 with "./runcase"). More precisely, it 's the "subprocess.Popen(cmd, shell=True, **kwargs)" which fails.
Have you any idea of the reason why I have this error ?
Best regards,
Erwan
I am using the 2.1.1 version on a PBS cluster. If code_saturne is launched on the frontend node (./runcase) it works well.
If i use the PBS batch (qsub runcase), i have to impose the case directory in the runcase file (code_saturne --case case_directory) otherwise the SRC,DATA, ... directories are unknown. It works without user fortran files, but if i add files in the SRC directory I have the following error message :
File "/Calcul/Apps2/saturne4.2.4/v211/code_saturne-2.1.1/lib64/python2.6/site-packages/code_saturne/cs_case.py", line 1350, in prepare_data d.compile_and_link()
File "/Calcul/Apps2/saturne4.2.4/v211/code_saturne-2.1.1/lib64/python2.6/site-packages/code_saturne/cs_case_domain.py", line 627, in compile_and_link
raise RunCaseError('Compile or link error.') cs_case_domain.RunCaseError: Compile or link error.
The last call of the "run_command function" in cs_compil.py returns 1 with "qsub runcase" ( it is 0 with "./runcase"). More precisely, it 's the "subprocess.Popen(cmd, shell=True, **kwargs)" which fails.
Have you any idea of the reason why I have this error ?
Best regards,
Erwan