r-test icon indicating copy to clipboard operation
r-test copied to clipboard

fast on mpi

Open huzaifapolimi opened this issue 3 years ago • 5 comments

Hi, I am facing an issue with executing openfast on mpi. unfortunately it is unable to find the .fst file even when located in the very same directory that its being launched in. I have checked the launch script very carefully multiple times. there seems to be no errors in it. error- FAST_InitializeALL:FAST_Init:FAST_ReadPrimaryFile:OpenFInputFile:The input file,"./" , was not found.

Is fast compatible with mpi?

huzaifapolimi avatar Sep 20 '22 16:09 huzaifapolimi

What is the command you are using to call OpenFAST? It looks like you may have a space (or some other Fortran record-break character) between the path name and the file name because it is parsing the file name as ./.

bjonkman avatar Sep 20 '22 16:09 bjonkman

The command is just the path to the executable and then followed by the input file(.fst). #!/bin/bash #use bash as command interpreter #$ -cwd #currentWorkingDirectory #$ -N trial_5MW # jobName #$ -j y #merges output and errors #$ -S /bin/bash #scriptinng language #$ -q mecc4.q # queueName #$ -pe mpi 1 #Cpu number source $HOME/bashrc_openfast ###specify the executable ... /global-scratch/bulk_pool/hsyed/trial/openfast/install/bin/openfast Semisub.fst echo End Parallel Run

huzaifapolimi avatar Sep 20 '22 16:09 huzaifapolimi

FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:OpenFInpFile:The input file, "/global-scratch/bulk_pool/hsyed/testing/glue-codes/openfast/5MW_OC4Semi_WSt_WavesWN/Semisub.fst " , was not found.

OpenFAST encountered an error during module initialization. Simulation error level: FATAL ERROR

Aborting OpenFAST.

End Parallel Run

and this is the exact error popping up.

huzaifapolimi avatar Sep 20 '22 16:09 huzaifapolimi

I'm very surprised the code would give you the error message listing the whole path to the input file if you called it without any path specified (as is shown in the command you said you were using).

Can you check that the name of the .fst file you are trying to open appears with the ls command (and that you can open/read it)? Use the exact argument you are using for the file name argument when you call OpenFAST. It's possible there are non-printable characters in your argument or in the path name, so you need to be exact.

bjonkman avatar Sep 20 '22 17:09 bjonkman

Yes the .fst file appears with the ls command. and i am able to read it as well. but unfortunately the error still continues to be the same. image

huzaifapolimi avatar Sep 21 '22 08:09 huzaifapolimi

Closing this after 2 years of no activity.

andrew-platt avatar Jun 29 '24 14:06 andrew-platt