Compile or link error after installation of syrthes

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
ukok

Compile or link error after installation of syrthes

Post by ukok »

Hi there,

I have run a few cases with cs_user_physical_properties.f90 in code-saturne. But after installing Syrthes, I got compile error below for all previous successful cases.

Traceback (most recent call last):
File "/opt/saturne-3.0/bin/code_saturne", line 77, in
retcode = cs.execute()
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 73, in execute
return self.commands[command](options)
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_script.py", line 125, in run
return cs_run.main(options, self.package)
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_run.py", line 209, in main
save_results=save_results)
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1472, in run
mpi_environment)
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_case.py", line 1183, in prepare_data
d.compile_and_link()
File "/opt/saturne-3.0/lib/python2.7/site-packages/code_saturne/cs_case_domain.py", line 578, in compile_and_link
raise RunCaseError('Compile or link error.')
cs_case_domain.RunCaseError: Compile or link error.

I am not sure what is the problem. It would be grateful if someone could help me out.

Another question is what is difference between cs_user_physical_properties.f90 and user law in the GUI.

Many thanks

Sam
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Compile or link error after installation of syrthes

Post by Yvan Fournier »

Hello,

When you have a compile or link error, the useful information is in the compile.log file, so youll want to check that.

Regarding your second question, the user law in the GUI is based on an equation interpreter, wihich may bit slower (but only for a small portion of the code) and allow only acess to a number of predifined variables, while the user subroutine allows anything.

For moderately advanced property definitions, I recommend the GUI, as upgrading your setup to a newer version of the code is easier (semi-automatic) with the GUI. If you can't express the law you need with the GUI, then you may need the user subroutine.

In any case, if cs_user_physical_properties.f90 is defined, it will have priority.

Regards,

Yvan
ukok

Re: Compile or link error after installation of syrthes

Post by ukok »

Dear Yvan

Thank you so much for your reply.

The below is complie.log. All the simulations work once I removed the cs_user_physical_properties.f90 from the SRC fold. I am current using CS3.0.

f951: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
gfortran -I/home/mbgussz2/Code_saturne/EDF/packcoupling/fluid/RESU/20140515-2226/src_saturne -I/opt/saturne-3.0/include/code_saturne -x f95-cpp-input -Wall -Wno-unused -O -c /home/mbgussz2/Code_saturne/EDF/packcoupling/fluid/RESU/20140515-2226/src_saturne/cs_user_physical_properties.f90

Any suggestion please!

Many thanks
Sam
ukok

Re: Compile or link error after installation of syrthes

Post by ukok »

Solved,

some fold's permission was changed.

Thanks
Sam
Post Reply