|
[Sponsors] |
Scripts to run fluent in Linux cluster via windows |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#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 09:34. Reason: picture to keep |
|
![]() |
![]() |
![]() |
![]() |
#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. |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#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! |
|
![]() |
![]() |
![]() |
![]() |
#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". |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 ![]() |
at which command? sounds like you have some typo
|
|
![]() |
![]() |
![]() |
![]() |
#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? |
|
![]() |
![]() |
![]() |
![]() |
#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) |
||
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 8 ![]() |
it is still showing cd:too many arguments
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Join Date: Aug 2018
Posts: 77
Rep Power: 8 ![]() |
||
![]() |
![]() |
![]() |
Tags |
cluster computing, fluent - parallel, linux server |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to run fluent in LINUX | Selina | FLUENT | 26 | December 4, 2019 17:25 |
how to use -ssh w/ Fluent on Linux cluster | Bill | FLUENT | 4 | April 2, 2014 00:04 |
Parallel run of OpenFOAM in linux and windows side by side | m2montazari | OpenFOAM Running, Solving & CFD | 5 | June 24, 2011 03:26 |
FLUENT in Windows Serial and Linux Parallel | sham83 | FLUENT | 0 | May 31, 2011 23:38 |
Is the fluent mesh generate in windows can be used in linux? | panda60 | OpenFOAM | 7 | October 19, 2009 11:51 |