Page 1 of 1

The issue on initilaize the domain using code_sauturne 4.0.2

Posted: Wed Aug 19, 2015 8:37 am
by MartianDuan
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.

Re: The issue on initilaize the domain using code_sauturne 4

Posted: Wed Aug 19, 2015 2:01 pm
by Yvan Fournier
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

Re: The issue on initilaize the domain using code_sauturne 4

Posted: Wed Aug 19, 2015 4:27 pm
by MartianDuan
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.

Re: The issue on initilaize the domain using code_sauturne 4

Posted: Wed Aug 19, 2015 5:50 pm
by Yvan Fournier
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

Re: The issue on initilaize the domain using code_sauturne 4

Posted: Wed Aug 19, 2015 8:45 pm
by MartianDuan
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.

Re: The issue on initilaize the domain using code_sauturne 4

Posted: Wed Aug 19, 2015 9:09 pm
by MartianDuan
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.