How to configure a job script? Example for another app available as a basis
Hi Bruno,
After all of this, I got compiled OpenFOAM 2.3.0 and swak4foam 0.3.2 in my home folder at the cluster with your huge help and your support is greatly appreciated. Well, for running my simulations I have to submit a script to the working directory of the cluster,not in my home folder. I don't know that the openFOAM works well by changing the directory or not. By the way, as you now an alias command do not work in a shell script, so I can't run "of230" in my job script in the working directory. Do you have any ideas to fix this problem?! A template of the job script is shown below for fluent simulations, and I am a bit confused with changing this template to that I need for a foam job! Code:
#!/bin/bash Thank you so much again for your time and attention. Best Regards, Arsalan. [ Moderator note: Moved from here: http://www.cfd-online.com/Forums/ope...ot-access.html ] |
Hi Arsalan,
I've moved your post from the other thread to a new one, because this is a new topic and it's related to "running", not "installing" ;) Using your example as a basis, the following should do the trick: Code:
#!/bin/bash Quote:
Nonetheless, keep in mind that not all of OpenFOAM's applications can run in parallel, e.g. blockMesh. Best regards, Bruno |
Hi Bruno,
Your modified script worked properly as expected and finally, I could run my simulations in the cluster. At this time,I'm studying the effect of the number of processors in CPU time of the parallel running. I'm grateful to you for your help and attention. King regards, Arsalan. |
All times are GMT -4. The time now is 12:09. |