nohup permission denied

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

nohup permission denied

Post 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. :(
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: nohup permission denied

Post 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
Post Reply