CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

An interesting point about permission denied error!!! help me

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2013, 07:57
Default An interesting point about permission denied error!!! help me
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Hi everybody

an interesting thing happen for me is that I ran a case with buoyantBoussinesqSimpleFoam solver in parallel with the following code in my Allrun file:

Code:
#!/bin/sh
cd ${0%/*} || exit 1    # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

application=`getApplication`

#runApplication $application
runApplication decomposePar
runParallel $application 3
runApplication reconstructPar
streamFunction
foamToTecplot360

# ----------------------------------------------------------------- end-of-file
It successfully solved my problem.

then I copied this case to my external hard disk and deleted the case from first place. then I copied the case from my external hard disk to my system exactly where the previous case was in it.
I ran it again with ./Allrun but it said:

Code:
bash: ./Allrun: Permission denied
any body knows where is the problem? I'm so confused.

thanks
Mostafa
adambarfi is offline   Reply With Quote

Old   December 22, 2013, 10:40
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
it has been converted to read-only file so you need to change it to execute file
Quote:
chmod +x Allrun
Hamoon, alanaj5 and its.engrjessie like this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   December 22, 2013, 11:50
Default
  #3
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
dear Nima,

again thank you, It works
you help me for second time

have a nice year
Mostafa
adambarfi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot restore segment prot after reloc: Permission denied Argen OpenFOAM 1 August 10, 2012 19:13
CFX Post: Problems with moving point cloud for changing time steps spatialtime CFX 0 December 7, 2009 05:56
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 08:54.