Hello users,
I just newly installed code_satune 4.0.2 with the Ubuntu 14.04.2.
When I tried to initialized the simulation cased, the following error messaged shown in the terminal:
File "/home/martian/Code_Saturne/4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_case_domain.py", line 758, in preprocess
retcode = run_command(cmd, pkg=self.package)
File "/home/martian/Code_Saturne/4.0.2/code_saturne-4.0.2/arch/Linux_x86_64/lib/python2.7/site-packages/code_saturne/cs_exec_environment.py", line 516, in run_command
p = subprocess.Popen(cmd, env = env, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I had checked the compile.log. The compilation looks ok, although there is an error as '-pedantic-errors -std=f2003 ', which is deemed to be ok by Yvan in the other topic. I also tried to turn off the enviroment subroutine in the configuration state via '--without-modules' or '--with-modules'. But it did not help. I am wondering whether it is due to the system or something wrong in my setting files. which are included in the attachments.
Please have a look and give me some advise.
Thanks in advence,
Yu.
The issue on initilaize the domain using code_sauturne 4.0.2
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 74
- Joined: Fri Aug 02, 2013 4:26 pm
The issue on initilaize the domain using code_sauturne 4.0.2
- Attachments
-
- compile.log
- (5.92 KiB) Downloaded 408 times
-
- cs_user_scripts.py
- (8.4 KiB) Downloaded 429 times
-
- src_saturne.zip
- (24.96 KiB) Downloaded 423 times
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: The issue on initilaize the domain using code_sauturne 4
Hello,
It seems there is trouble finding the preprocessor. This might be an installation issue.
What files do you have under:
/home/martian/Code_Saturne/4.0.2/code_saturne-4.0.2/arch/libexec/
Also, did you try setting up the case and checking the mesh using the GUI ?
Regards,
Yvan
It seems there is trouble finding the preprocessor. This might be an installation issue.
What files do you have under:
/home/martian/Code_Saturne/4.0.2/code_saturne-4.0.2/arch/libexec/
Also, did you try setting up the case and checking the mesh using the GUI ?
Regards,
Yvan
-
- Posts: 74
- Joined: Fri Aug 02, 2013 4:26 pm
Re: The issue on initilaize the domain using code_sauturne 4
Hello Yvan,
I had checked. There is only ./code_saturne/cs_solver in the directory you mentioned. It is alright?
I didnot test it via GUI, as I can not sucessfully install the PyQt4.
Best regards,
Yu.
I had checked. There is only ./code_saturne/cs_solver in the directory you mentioned. It is alright?
I didnot test it via GUI, as I can not sucessfully install the PyQt4.
Best regards,
Yu.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: The issue on initilaize the domain using code_sauturne 4
Hello,
Regarding PyQt, what system are you running on ? Do you have administrator access ?
Without the GUI, did you configure the code with --disable-gui, or --disable-frontend ?
If you used --disable-frontend, the error you have is "normal" (i.e. you must first preprocess/convert your mesh on another machine, and directly use the mesh_input).
Regards,
Yvan
Regarding PyQt, what system are you running on ? Do you have administrator access ?
Without the GUI, did you configure the code with --disable-gui, or --disable-frontend ?
If you used --disable-frontend, the error you have is "normal" (i.e. you must first preprocess/convert your mesh on another machine, and directly use the mesh_input).
Regards,
Yvan
-
- Posts: 74
- Joined: Fri Aug 02, 2013 4:26 pm
Re: The issue on initilaize the domain using code_sauturne 4
Hi Yvan,
Thanks for your remind. I did added both --disable-gui --disable-frontend during the configuration.
I will reconfigure the code and try it again.
Best regards,
Yu.
Thanks for your remind. I did added both --disable-gui --disable-frontend during the configuration.
I will reconfigure the code and try it again.
Best regards,
Yu.
-
- Posts: 74
- Joined: Fri Aug 02, 2013 4:26 pm
Re: The issue on initilaize the domain using code_sauturne 4
Hi Yvan,
The previous problem had been solved. Thanks for your precious advise. However, there is a new one come out. The same setting files was attached in my first post. Can you please help me on this. The listing file is attached as well.
Computing geometric quantities (0.766 s)
ALMAX = 0.77674E+02 (Characteristic length )
ALMAX is the cubic root of the domain volume.
ALMAX is the length used to initialize the turbulence.
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x7fd41f1d3788 <intprf_+0x23> (libsaturne.so.0)
2: 0x4038a7 <cs_user_initialization_+0x47a> (cs_solver)
3: 0x7fd41ef1378e <inivar_+0x82e> (libsaturne.so.0)
4: 0x7fd41ee33ce5 <caltri_+0x2235> (libsaturne.so.0)
5: 0x7fd41ee1615e <cs_run+0x3fe> (libsaturne.so.0)
6: 0x7fd41ee15c52 <main+0x112> (libsaturne.so.0)
7: 0x7fd41e485ec5 <__libc_start_main+0xf5> (libc.so.6)
8: 0x403369 <> (cs_solver)
End of stack
Best regards,
Yu.
The previous problem had been solved. Thanks for your precious advise. However, there is a new one come out. The same setting files was attached in my first post. Can you please help me on this. The listing file is attached as well.
Computing geometric quantities (0.766 s)
ALMAX = 0.77674E+02 (Characteristic length )
ALMAX is the cubic root of the domain volume.
ALMAX is the length used to initialize the turbulence.
SIGSEGV signal (forbidden memory area access) intercepted!
Call stack:
1: 0x7fd41f1d3788 <intprf_+0x23> (libsaturne.so.0)
2: 0x4038a7 <cs_user_initialization_+0x47a> (cs_solver)
3: 0x7fd41ef1378e <inivar_+0x82e> (libsaturne.so.0)
4: 0x7fd41ee33ce5 <caltri_+0x2235> (libsaturne.so.0)
5: 0x7fd41ee1615e <cs_run+0x3fe> (libsaturne.so.0)
6: 0x7fd41ee15c52 <main+0x112> (libsaturne.so.0)
7: 0x7fd41e485ec5 <__libc_start_main+0xf5> (libc.so.6)
8: 0x403369 <> (cs_solver)
End of stack
Best regards,
Yu.
- Attachments
-
- listing.log
- (23.16 KiB) Downloaded 412 times