Scripts to run fluent in Linux cluster via windows
1 Attachment(s)
Hello all,
I am facing a problem while using linux cluster to run fluent via windows. In order to run fluent i have wrote two scripts,which you can see in the picture. when i try to run the job using qsub command `qsub fluent_example.job´ Then I got a message as my job has been submitted. But simulation did not start though no one is using the cluster at the moment. when i have seen the output file i got error as $PBS_O_WORKDIR:undefined varible. Can anyone help me to resolve the error? Thanks in advance [ATTACH]65662 |
well, neither did you define the variable in question nor does it seem to be an exported (i.e. globally available) variable.
So go ahead and set it manually to the directory from which you want to execute from. |
Hi Vesp,
The specified location below the $PBS_O_WORKDIR is the directory (/share/apps/ansys_inc/v162/fluent) from which I want to execute. So I am actualy manually setting it. I am slightly new to linux, hence any help in this regard is much appreciated |
just replace the line "cd $PBS_0_WORKDIR"
with "cd /share/apps/ansys_inc/v162/fluent" That should work! |
Thanks for your fast reply.
I have replaced "cd $PBS_0_WORKDIR" with "cd /share/apps/ansys_inc/v162/fluent" . Now im getting error as "too many arguments". |
at which command? sounds like you have some typo
|
im getting error at cd
error message ´cd: Too many arguments´ what do you mean by typo? |
Quote:
What happens when you remove the line to execute fluent from the job script and just enter "cd XX" (without the "", and replace XX with the dir) |
1 Attachment(s)
it is still showing cd:too many arguments
|
Quote:
you need two lines: one to change to the dir, the second to execute fluent. as I said, just input "cd XX", where XX is the directory and nothing else |
All times are GMT -4. The time now is 11:24. |