CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Scripts to run fluent in Linux cluster via windows

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2018, 09:29
Default Scripts to run fluent in Linux cluster via windows
  #1
New Member
 
sanjay
Join Date: Jun 2018
Posts: 12
Rep Power: 7
sanjaykummar2810 is on a distinguished road
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?

[ATTACH]65661
Attached Images
File Type: jpg 2.JPG (69.1 KB, 11 views)
sanjaykummar2810 is offline   Reply With Quote

Old   September 19, 2018, 16:23
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,683
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You tried to cd into the workdir and it couldn't, hence it didn't execute anything else and hence why it never ran any job.


Why don't you have a hashbang? I.e. the first line is usually something like:
Code:
#!/bin/bash
Instead of
Code:
cd $PBS_O_WORKDIR
I am used to seeing it as:
Code:
cd "$PBS_O_WORKDIR"
You can also try instead to just manually type the path to the directory
Code:
cd /home/paba/cluster_test1/
This should work even if the PBS_O_WORKDIR variable is not set.
LuckyTran is offline   Reply With Quote

Reply

Tags
cluster computing, fluent - parallel, linux server, parallel computing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent - Linux vs Windows derick FLUENT 2 August 16, 2020 11:23
How to run fluent in LINUX Selina FLUENT 26 December 4, 2019 17:25
fluent on remote linux cluster osamaghani ANSYS 4 July 30, 2012 17:51
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


All times are GMT -4. The time now is 05:37.