Error 13 while post processing

Submitted by rahulsoni on Thu, 09/05/2013 - 11:04

While running the lpp dump file for post processing. I am getting the following error:

____@___:~/LIGGGHTS-PUBLIC/examples/LIGGGHTS/Tutorials_public/conveyor/post$ lpp dump*.conveyor --chunksize=1 --cpunum=1

starting LIGGGHTS memory optimized parallel post processing
chunksize: 1 --> 1 files are processed per chunk. If you run out of memory reduce chunksize.
Working with 1 processes...
calculating chunks 1 - 1 of 350
aborting due to errors: [Errno 13] Permission denied: 'conveyor100000_boundingBox.vtk'

The program gets terminated with above message and Error 13.

Anyone plz help in this regard...

Rahul

AGl | Fri, 09/06/2013 - 07:52

That is because you, probably, compiled, installed and started LIGGGHTS under "root"-user (or using "sudo"-command). I would __strongly__ recommend not to do it, use normal user for that.

PaulWinkler's picture

PaulWinkler | Fri, 09/06/2013 - 17:57

Hi,

you recommend not to use sudo. There are GNU/Linux distributions (Ubuntu e.g.) you need super user rights to compile Liggghts (I don't no why). I compiled Liggghts and some other tools on SE-Linux without super user rights without problems, but when make didn't even start... The folder of the git clone under circumstances has only write permissions to super user, so you will need to change permissions to run make as normal user.

Regards,
Paul

PaulWinkler's picture

PaulWinkler | Sat, 09/07/2013 - 15:44

Hello,

since this problem nags me I make a new git clone as normal user and just run make clean-all, make (in /STUBS) and make serial without super user rights on Ubuntu 13.04. Works like a charm.
My original LIGGGHTS-PUBLIC has only write access for root, so I have to create it as super user I guess and now I know why not using sudo without a need. Thanks for the recommendation.

Regards,
Paul

AGl | Mon, 09/09/2013 - 07:34

> My original LIGGGHTS-PUBLIC has only write access for root,

That is probably you did "sudo git clone ...". If you change the permission of your LIGGGHTS-PUBLIC or just do "git clone .....",
then the permissions of the folder will let you do all what you want inside the directory using the normal user.