|
[Sponsors] |
Scripts to run fluent in Linux cluster via windows |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2018, 10:32 |
Scripts to run fluent in Linux cluster via windows
|
#1 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 |
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 Last edited by sanjaykummar2810; September 19, 2018 at 10:34. Reason: picture to keep |
|
September 19, 2018, 10:44 |
|
#2 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 |
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. |
|
September 19, 2018, 11:02 |
|
#3 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 |
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 |
|
September 19, 2018, 11:07 |
|
#4 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 |
just replace the line "cd $PBS_0_WORKDIR"
with "cd /share/apps/ansys_inc/v162/fluent" That should work! |
|
September 19, 2018, 11:14 |
|
#5 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 |
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". |
|
September 19, 2018, 11:26 |
|
#6 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 |
at which command? sounds like you have some typo
|
|
September 19, 2018, 11:40 |
|
#7 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 |
im getting error at cd
error message ´cd: Too many arguments´ what do you mean by typo? |
|
September 19, 2018, 11:48 |
|
#8 | |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 |
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) |
||
September 19, 2018, 11:55 |
|
#9 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 |
it is still showing cd:too many arguments
|
|
September 19, 2018, 12:01 |
|
#10 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 |
||
Tags |
cluster computing, fluent - parallel, linux server |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run fluent in LINUX | Selina | FLUENT | 26 | December 4, 2019 18:25 |
how to use -ssh w/ Fluent on Linux cluster | Bill | FLUENT | 4 | April 2, 2014 01:04 |
Parallel run of OpenFOAM in linux and windows side by side | m2montazari | OpenFOAM Running, Solving & CFD | 5 | June 24, 2011 04:26 |
FLUENT in Windows Serial and Linux Parallel | sham83 | FLUENT | 0 | June 1, 2011 00:38 |
Is the fluent mesh generate in windows can be used in linux? | panda60 | OpenFOAM | 7 | October 19, 2009 12:51 |