WISDEM / AeroelasticSE

DEPRECATED: Wrapper for the FAST Aeroelastic Code
Other
7 stars 15 forks source link

permission denied error #7

Closed hassan-shehawy closed 5 years ago

hassan-shehawy commented 5 years ago

when I try to run it, I get the following error:

calling FAST: /home/ubuntu/wisdem/aeroelas/AeroelasticSE/src/AeroelasticSE
input file= NRELOffshrBsline5MW_Monopile_RF.fst
NRELOffshrBsline5MW_Monopile_RF.fst: 1: NRELOffshrBsline5MW_Monopile_RF.fst: /home/ubuntu/wisdem/aeroelas/AeroelasticSE/src/AeroelasticSE: Permission denied
<__main__.runFAST object at 0x7f64962b8f90>
max power

I use Ubuntu 16.04.5 LTS and I did gave permission to the python script file and FAST exe by:

 chmod +x ./runFAST.py
 chmod +x ./OpenFAST_x64.exe
kilojoules commented 5 years ago

May try chmod -R +x /home/ubuntu/wisdem/aeroelas/AeroelasticSE/src/AeroelasticSE ?

Best, Julian

On Mon, Sep 17, 2018 at 9:45 AM, Hassan Shehawy notifications@github.com wrote:

when I try to run it, I get the following error:

calling FAST: /home/ubuntu/wisdem/aeroelas/AeroelasticSE/src/AeroelasticSE input file= NRELOffshrBsline5MW_Monopile_RF.fst NRELOffshrBsline5MW_Monopile_RF.fst: 1: NRELOffshrBsline5MW_Monopile_RF.fst: /home/ubuntu/wisdem/aeroelas/AeroelasticSE/src/AeroelasticSE: Permission denied <main.runFAST object at 0x7f64962b8f90> max power

I use Ubuntu 16.04.5 LTS and I did gave permission to the python script file and FAST exe by:

chmod +x ./runFAST.py chmod +x ./OpenFAST_x64.exe

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WISDEM/AeroelasticSE/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AHqP7n1cZY00KgDTFvF5WJX-IoYj-eeXks5ub8OhgaJpZM4WsMSy .

hassan-shehawy commented 5 years ago

still get the permission denied

evan-gaertner commented 5 years ago

I'm surprised you have a .exe extension in Ubuntu. Was your FAST executable compiled on Linux?

Another note, AerelasticSE has not been updated for OpenFast, currently only FAST 7 and FAST 8 are supported. The changes between the Openfast and FAST 8 input files are minor though, if you want to update your own code to be compatible with Openfast.

hassan-shehawy commented 5 years ago

I tried using wine for that, but eventually complied FAST for linux and worked fine and thanks for the note about the version I now have new kind of errors, but will try to figure it out a bit first

hassan-shehawy commented 5 years ago

Another note, AerelasticSE has not been updated for OpenFast, currently only FAST 7 and FAST 8 are supported. The changes between the Openfast and FAST 8 input files are minor though, if you want to update your own code to be compatible with Openfast.

it won't work with FAST 8

evan-gaertner commented 5 years ago

Could you please provide more details on the error you're getting?

hassan-shehawy commented 5 years ago

it's complaining about missing files of platform, tower and blades which makes sense for me because in FAST 7, these are defined in the fst input file, but in FAST 8, it's not