Page 1 of 1

nohup permission denied

Posted: Sun Aug 26, 2012 10:22 am
by apoorv121
I am running on Ubuntu 12.04 (64 bit). I installed code saturne 2.1.0 from software center of ubuntu.
When I tried to run a simulation for the very first time i got error as follows

nohup: redirecting stderr to stdout
nohup: failed to run command `/home/mathew/case1/SCRIPTS/': Permission denied

I used chmod a+rw to all saturne and case1 folders.
But the problems still persists.
:evil: :x :x :x :x

PLEASE help.
I have to finish this simulation in 1 week and deadline is non-negotiable. :(

Re: nohup permission denied

Posted: Sun Aug 26, 2012 12:23 pm
by Yvan Fournier
Hello,

The GUI should not try to run `/home/mathew/case1/SCRIPTS/', but `/home/mathew/case1/SCRIPTS/runcase' (or another script if you forced it).

Normally, if you selected the "nohup" file in the "Calculation Management/Prepare batch calculation" section of the GUI, the correct file should be saved.

If running from the GUI fails, just open a terminal, and type:

Code: Select all

cd /home/mathew/case1/SCRIPTS/
./runcase
or even

Code: Select all

cd /home/mathew/case1/SCRIPTS/
code_saturne run
(you can replace ./runcase with nohup ./runcase & if you want the code to kep running if you close the terminal).

Regards,

Yvan