CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Problem in using cfx in Linux with supercomputer

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2015, 03:27
Default Problem in using cfx in Linux with supercomputer
  #1
New Member
 
Chen Di
Join Date: Apr 2014
Posts: 8
Rep Power: 4
Melvins is on a distinguished road
Now I have made a .def file in Windows cfx, and put it into the supercompter.
I was told to use terminal to submit a script flie to run the .def file.
Then there comes the error, it said 'cfx5solve: command not found'.

Here is the script file:

#PBS -N test
#PBS -l nodes=1pn=8
#PBS -j oe
#PBS -l walltime=200:00:00
#PBS -q blade

cd $PBS_O_WORKDIR

echo my job id is $PBS_JOBID | tee test.log
echo run nodes is following: | tee -a test.log
cat $PBS_NODEFILE | tee -a test.log
echo pwd is `pwd` | tee -a test.log

echo begin time is `date` | tee -a test.log
id=`echo $PBS_JOBID|awk -F. '{print $1}' `
NP=`cat $PBS_NODEFILE|wc -l`

cd /public/home/dichen/CFX
cfx5solve -def hawkmoth 60deg mesh2.def -par-local -partition 8

echo end time is `date` | tee -a test.log

I'm an idiot in Linux, please help, my dear friends!
Melvins is offline   Reply With Quote

Old   May 20, 2015, 03:42
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 601
Rep Power: 13
Lance is on a distinguished road
Quote:
Originally Posted by Melvins View Post
Then there comes the error, it said 'cfx5solve: command not found'.
My guess is that you dont have the path to CFX in your $PATH.
Try to specify the entire directory to cfx5solve, i.e. change
cfx5solve -def hawkmoth 60deg mesh2.def -par-local -partition 8
to
/software/ansys/16.0/v160/CFX/bin/cfx5solve -def mesh2.def
(change the bold stuff to where you have your installation.)
Im not sure what you mean with "hawkmoth 60deg", it shouldnt be directly after -def. Also, you might want to specify -start-method "Intel MPI Local Parallel" or whatever MPI you want to use.
Lance is offline   Reply With Quote

Old   May 20, 2015, 04:52
Default
  #3
New Member
 
Chen Di
Join Date: Apr 2014
Posts: 8
Rep Power: 4
Melvins is on a distinguished road
Quote:
Originally Posted by Lance View Post
My guess is that you dont have the path to CFX in your $PATH.
Try to specify the entire directory to cfx5solve, i.e. change
cfx5solve -def hawkmoth 60deg mesh2.def -par-local -partition 8
to
/software/ansys/16.0/v160/CFX/bin/cfx5solve -def mesh2.def
(change the bold stuff to where you have your installation.)
Im not sure what you mean with "hawkmoth 60deg", it shouldnt be directly after -def. Also, you might want to specify -start-method "Intel MPI Local Parallel" or whatever MPI you want to use.
Thank you for your quick reply,
"hawkmoth 60deg" is the def file name, so you mean I should write this line like '/software/ansys/16.0/v160/CFX/bin/cfx5solve -def hawkmoth 60deg mesh2.def -par-local -partition 8 -start-method -Intel MPI Local Parallel' ?

Best,
Melvins is offline   Reply With Quote

Old   May 20, 2015, 05:03
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 601
Rep Power: 13
Lance is on a distinguished road
Avoid spaces in the file name. Use under_score instead.

/software/ansys/16.0/v160/CFX/bin/cfx5solve -def hawkmoth_60deg_mesh2.def -par-local -partition 8 -start-method "Intel MPI Local Parallel"
Lance is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 10:22
[ICEM] issue occur after extrude 2D airfoil mesh and convergence problem in CFX shiyun ANSYS Meshing & Geometry 4 May 9, 2012 19:55
cfx mesh problem... mactech001 ANSYS Meshing & Geometry 0 November 5, 2009 03:19
Workbench (CFX) bucket problem njsavage ANSYS 0 April 29, 2009 17:10
Moving Mesh Run problem - Scientific Linux G. SE CD-adapco 2 May 7, 2008 07:15


All times are GMT -4. The time now is 07:02.