Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • OK your comment solved part of the problem. I changed the script according to your prescription and I was able to get my run.sh going. I also edited my question. Unfortunately run.sh calls other scripts inside and they don't run properly. Commented Nov 16, 2014 at 14:13
  • @AlexanderCska What are the permissions on the HELLO_WORD file? Commented Nov 16, 2014 at 15:33
  • 1
    @AlexanderCska You should not change your question except for providing additional detail to get the original problem solved if there are other issues, start a new question. You just invalidate any answers (correct or not) that answered the orginal problem by changing the question (which includes extending a question with "now I have the following problem"). Commented Nov 16, 2014 at 15:38
  • I apologize for this. Well HELLO_WORLD is a fortran code and by default has permissions -rwxr-xr-x . Anyway I fiugred out that the the absolute path is needed, that is /home/run_dir_script/HELLO_WORLD. I also figured out that I have to hardcode the path, therefore, $(pwd)/HELLO_WORLD won't work. Commented Nov 16, 2014 at 16:06
  • @AlexanderCska Not a big problem, just something to watch. It is kind of strange that you need to give the absolute path, I have no explanation for that, that is why I did not suggest it. Commented Nov 16, 2014 at 16:15