|
[Sponsors] |
April 16, 2020, 04:28 |
PBS fluent: command not found
|
#1 |
New Member
shenghui Gao
Join Date: Dec 2016
Posts: 4
Rep Power: 9 |
Hi CFDers,
I write a pbs script in order to run fluent in my computer server. My PBS: ## fluent environment## export PATH=/usr/local/ansys_inc/v191/fluent/bin:$PATH fluent 3d -g -t$NCPUS -cnf=pnodes -i XXX.jou > output.log 2>&1 where, NCPUS='cat ${PBS_NODEFILE} | wc -l' pnodes : cat $PBS_NODEFILE | sort > pnodes when I qsub the script, the output.log wirte: flunet: command not found. However, when paste the command in terminal, it runs OK. Best Regards |
|
April 16, 2020, 04:42 |
Full Path
|
#2 |
Senior Member
|
The script as such does not seem to have any issue. To debug, you can try echoing the PATH variable. Secondly, you can use full path for the command instead of setting path.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 17, 2020, 03:59 |
my script
|
#3 | |
New Member
shenghui Gao
Join Date: Dec 2016
Posts: 4
Rep Power: 9 |
Quote:
here is my scripts: #!/bin/bash #PBS -N Fluent-Ma2 #PBS -q intel #PBS -l nodes=3pn=24 #PBS -S /bin/bash #PBS -o pbs.log #PBS -e pbs.err NCPUS=`cat ${PBS_NODEFILE} | wc -l` cd $PBS_O_WORKDIR export PATH=/usr/local/ansys_inc/v191/fluent/bin:$PATH fluent 3d -g -t${NCPUS} -cnf=${PBS_NODEFILE} -i xxx.jou > output.log 2>&1 Any comments will be appreciate! |
||
April 17, 2020, 06:14 |
Modules
|
#4 |
Senior Member
|
Do you load any modules for running simulation when you directly type the command in your terminal? If yes, then you also have to load the module in the PBS script. If not, then you should try with something else, such as, a simple bash script that prints Hello. If that also does not work, then there is problem with PBS.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 18, 2020, 02:05 |
Solved
|
#5 | |
New Member
shenghui Gao
Join Date: Dec 2016
Posts: 4
Rep Power: 9 |
Quote:
I noticed that when I ssh to the computaitonal nodes, I can't start fluent normally, which means the computational nodes' configuration has some errors. So I install the ansys software in the directory where the management node and the computational nodes can share each other. Then, it works. Regards |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two phase flow in porous medium | Milaad | OpenFOAM | 6 | December 15, 2020 07:55 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 04:41 |