|
[Sponsors] |
[waves2Foam] The file /bin/prepareCase.sh is not executable |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2014, 06:47 |
The file /bin/prepareCase.sh is not executable
|
#1 |
New Member
Zaibin Lin
Join Date: May 2013
Location: Aberdeen, Scotland
Posts: 4
Rep Power: 12 |
Dear Niels,
Thank you very much for sharing waves2Foam. I am encountering a problem on compiling your waves2Foam using the default Allwmake. The log shows everything is fine, but an error, which is "The file /bin/prepareCase.sh is not executale", appears when running waveFoam tutorial through Allrun command. As I tested, the command, cd $WAVES_DIR, doesn't work at the same time. BTW, the command, wavesFoam -help, works, so I supposed that the waves2Foam I have should be compiled under waves2Foam r2042 and OpenFOAM-1.6-ext. Can you please help me tackle this problem and run the tutorials? Thank you very much in advance, and looking forward to your reply. Kind regards, Zaibin Last edited by auaries; April 21, 2014 at 08:55. |
|
April 21, 2014, 10:45 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Good evening Zaibin,
Read the second part of the error message. Namely, that you should make the file executable. You can use the command Code:
chmod Code:
chmod a+x prepareCase.sh Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
April 21, 2014, 10:58 |
|
#3 | |
New Member
Zaibin Lin
Join Date: May 2013
Location: Aberdeen, Scotland
Posts: 4
Rep Power: 12 |
Quote:
Thank you so so much. Finally, it works and is a quite useful tool for my work. Have a nice week. Kind regards, Zaibin |
||
May 16, 2014, 16:39 |
|
#4 | ||
New Member
Bowlderster
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Quote:
When I try to run the waveFlume tutorial by Allrun, I notice that the same message appears as Zaibin mentioned. And the question is solved by the above command. Yet the message is " The file /home/bowlderster/waves2Foam/src/bin/prepareCase.sh is not executable.", but the file is located at /waves2Foma/bin. Maybe somewhere should be revised a little, but I don't know. After that, Another question appears as attached. It seems something is wrong about Reading waveProperties. I got it by other tutorials. I am looking for the answer. Regards, bowlderster log.waveFoam Quote:
Last edited by wyldckat; November 4, 2018 at 13:29. Reason: merged posts a few hours apart |
|||
May 17, 2014, 05:28 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Good morning,
It appears that I had not been testing on a clean svn-repository. I have now added waveProperties.input to the waveFlume tutorial. Furthermore, I have changed the compilation process, so prepareCase.sh should automatically be made executable. Thank you for reporting the bugs, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
March 6, 2020, 03:12 |
|
#6 | |
New Member
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6 |
Quote:
I did the same as you told. But the error did not change. Although in prepareCase.Sh properties the permission is allowed. What should I do? |
||
March 7, 2020, 05:11 |
|
#7 |
New Member
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6 |
Dear guys I found a solution for my problem. I write it here for others which may need it.
first: use ./Allwclean and ./Allwmake for recompiling the waves2Foam again! Second: Never Never copy the tutorials on desktop. Just Run them in their main folders. It doesn't show that error again and examples compile correctly. Hope it works for you too! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |