Can't reload a checkpoint : [Errno 13] : Permission denied

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Benjamin_PITON
Posts: 4
Joined: Thu Sep 08, 2016 12:46 pm

Can't reload a checkpoint : [Errno 13] : Permission denied

Post by Benjamin_PITON »

Hello Dear All,

I'm currently executing some calculation via code_saturne 4.0 under windows using code_saturne's GUI.

After having run a first and primalarily calculation ending with the save of a checkpoint directory, I desire to restart my calculation using this checkpoint directory.

On somme computers, I encounter no problem.

But on a computer that I want to use due to its high performances, I receive the following error message preventing me to restart my calculation :

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in
File "bin/code_saturne", line 76, in
File "lib/python2.7/site-packages/code_saturne\cs_script.py", line 88, in execute
File "lib/python2.7/site-packages/code_saturne\cs_script.py", line 150, in run
File "lib/python2.7/site-packages/code_saturne\cs_run.py", line 304, in main
File "lib/python2.7/site-packages/code_saturne\cs_case.py", line 1717, in run
File "lib/python2.7/site-packages/code_saturne\cs_case.py", line 1442, in prepare_data
File "lib/python2.7/site-packages/code_saturne\cs_case_domain.py", line 627, in prepare_data
File "lib/python2.7/site-packages/code_saturne\cs_case_domain.py", line 491, in symlink
File "C:\Python27\lib\shutil.py", line 130, in copy2
File "C:\Python27\lib\shutil.py", line 82, in copyfile
IOError: [Errno 13] Permission denied: 'C:\\Users\\Team_support\\Desktop\\PART_CP_Re1140_Laminaire\\..\\AERO_CP_Re1140_Laminaire\\RESU\\20161222-0944\\checkpoint'

I firstly thought it was due an rights problem in terms of reading, writting or execution.
But I'm already local admin.

Could you please tell me how to fix this ?

Thanks by advance for your help and support,

BR,

Benjamin PITON.
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Yvan Fournier »

Hello,

Which release of 4.0 are you using (i.e. the "z" in "x.y.z" version numbering) ?

Regards,

Yvan
Benjamin_PITON
Posts: 4
Joined: Thu Sep 08, 2016 12:46 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Benjamin_PITON »

Hello Yvan and thank you for your support,

My code_saturne version is : 4.0.0

Thanks again for your support,

BR,

Benjamin.
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Yvan Fournier »

Hello,

The bug you describe was fixed in version 4.0.1 or 4.02. You should upgrade to the latest version in the 4.0 series (4.0.6).

Regards,

Yvan
Benjamin_PITON
Posts: 4
Joined: Thu Sep 08, 2016 12:46 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Benjamin_PITON »

Good Evening Yvan and thank you for your answer and solution.

I confirm you that upgrading code_saturne from 4.0.0 to 4.0.6 fixed the issue under Windows 7 64 bits.
But I can't find the 4.0.6 version for 32 bits computers in the "DOWNLOAD" menu.

Do you know where it "hides itself" ? ;)

thank you again.

Regards,

Benjamin.
Yvan Fournier
Posts: 4077
Joined: Mon Feb 20, 2012 3:25 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Yvan Fournier »

Hello,

We stopped building 32-bit Windows versions of Code_Saturne, as this required additional efforts and we did not expect there would be much users still requiring a 32-bit version.

I may try to regenerate such a version in a week or two, but won't make a promise here...

Regards,

Yvan
Benjamin_PITON
Posts: 4
Joined: Thu Sep 08, 2016 12:46 pm

Re: Can't reload a checkpoint : [Errno 13] : Permission deni

Post by Benjamin_PITON »

Hello Yvan,

Ok I understand.
Thank you in any way.

BR,

Benjamin.
Post Reply