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

CFX parallel Computing under linux OS

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 23, 2010, 21:34
Question CFX parallel Computing under linux OS
  #1
New Member
 
qutianpeng
Join Date: Sep 2009
Posts: 7
Rep Power: 7
superqtp is on a distinguished road
I made a parallel calculation in linux system and the .pbs file was written as followed,

#!/bin/bash
#PBS -N ansys-cfx
#PBS -q batch
#PBS -o ./outfile
#PBS -e ./errfile
#PBS -l nodes=1 pn=8,walltime=99999:00:00
cd $PBS_O_WORKDIR
export Jrun=`pwd`
cfx_def=$Jrun/ladle.def
cfx5solve -def ladle.def -initial 600_full.trn -par-dist "carsi-node01*8"

During the calculation the job submitted was break off with the following informaton:

=>> PBS: job killed: cput 345628 exceeded limit 345600
A fatal error has occurred in cfx5solve:
cfx5solve was killed by the user.
Does anyone know what caused the error? How can I solve the problem? Thanks in advance!!!
Superqtp
superqtp is offline   Reply With Quote

Old   May 24, 2010, 06:52
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,826
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
It is a PBS issue, not a CFX issue. You set the maximum run time to 345600 (seconds?) and it was exceeded so PBS killed the job. You have to set the maximum run time to longer, or even better remove the maximum run time.

I don't see why you are setting the walltime parameter. I would remove it unless you need it for your setup.
ghorrocks is offline   Reply With Quote

Old   June 9, 2010, 11:45
Default
  #3
Member
 
Freeman Adane
Join Date: Apr 2010
Posts: 42
Rep Power: 7
freemankofi is on a distinguished road
You've exceeded your allowable wall time (human clock) from your computer server. Your limit is 345600 (s) or (96 hrs) and requesting 99999 (hrs). Try to reduce your wall time to say, 48 hrs (walltime=48:00:00) and see. If it works then, you either have to computer your cluster guy to bump up your wall time limit, especially if your run will take more than 4 days.
freemankofi is offline   Reply With Quote

Old   July 4, 2011, 05:49
Smile
  #4
Senior Member
 
mohammad
Join Date: Dec 2010
Location: Seoul, South korea
Posts: 210
Rep Power: 7
mohammad is on a distinguished road
Quote:
Originally Posted by superqtp View Post
I made a parallel calculation in linux system and the .pbs file was written as followed,

#!/bin/bash
#PBS -N ansys-cfx
#PBS -q batch
#PBS -o ./outfile
#PBS -e ./errfile
#PBS -l nodes=1 pn=8,walltime=99999:00:00
cd $PBS_O_WORKDIR
export Jrun=`pwd`
cfx_def=$Jrun/ladle.def
cfx5solve -def ladle.def -initial 600_full.trn -par-dist "carsi-node01*8"

During the calculation the job submitted was break off with the following informaton:

=>> PBS: job killed: cput 345628 exceeded limit 345600
A fatal error has occurred in cfx5solve:
cfx5solve was killed by the user.
Does anyone know what caused the error? How can I solve the problem? Thanks in advance!!!
Superqtp
Hi my friend.
I'm trying to use the supercomputer with LINUX .
I have some questions and hope you help me...
I want to know how to activate the parallel mode in CFX 121..
i tried by the command "cfx5parallel -install-mpich2-service"...in the SSH panel.

the error is this :
"-bash: opt/ansys_inc/v121/CFX/bin/cfx5parallel: No such file or directory"

I want to know:
1- how to activate the parallel processing?
2-Which "run mode " did you use for your simulation? "MPICH or...?"
3_ if I use the pbs file like yours do you think that I can jump over introducing the " parallel processing " and use parallel CPUs even with out introducing it to CFX121?

I'm really waiting for your help .
mohammad is offline   Reply With Quote

Old   July 4, 2011, 11:56
Default
  #5
Member
 
Freeman Adane
Join Date: Apr 2010
Posts: 42
Rep Power: 7
freemankofi is on a distinguished road
mohammad,

Perhaps, superqtp will response to you on your questions. But in the meantime, please be advised that "parallel" is add-on feature which suppose to come with your license. If you purchase this feature then it's already installed you don't have to do anything unless the individual who installed it didn't do it properly.

One of the simple commands for running parallel on batch mode is:
cfxsolve -batch -def file_name.def -par -start-method "HP MPI Local Parallel" -part 3&

The above asks CFX to run def file by name "file_name.def" using HP MPI local of 3 CPUs. Note that this is for local computer with more than 1 cpus. The same command holds for cluster except that the parallel method for HP MPI local will change to something similar to superqtp pbs.

Lastly, there are well documented information in CFX manual on running parallel and I suggest that you take some time to read it.
freemankofi is offline   Reply With Quote

Old   July 5, 2011, 00:04
Smile
  #6
Senior Member
 
mohammad
Join Date: Dec 2010
Location: Seoul, South korea
Posts: 210
Rep Power: 7
mohammad is on a distinguished road
Quote:
Originally Posted by freemankofi View Post
mohammad,

..... If you purchase this feature then it's already installed you don't have to do anything unless the individual who installed it didn't do it properly.
Hi Freeman,
I think the installation has a problem. I'm trying to find the command line to re-install it again by myself or tell the Admin. the procedure of installation. The problem is that the Admin. is not expert and doesn't know how to deal with.
So I should solve it . As i told before, in the Windows the command line is this:

"cfx5parallel -install-mpich2-service" and I should write it in command line in the Launcher-->tools-->Command line.

but I don't know what's the command line for activation of this matter in LINUX +how and where( in which folder or path or...) I must apply the command .

I hope help comes along.

Be happy and have a good luck
mohammad 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
Call for help! Cfx error in Parallel run. yq11ys CFX 4 July 27, 2009 10:09
Parallel Computing peter Main CFD Forum 7 May 15, 2006 09:53
problem!! FLUENT 6.2 -SUSE parallel computing khanjaved FLUENT 1 August 15, 2005 22:00
Parallel run fail in CFX5.7.1 in Linux FC.4 Begonia CFX 1 August 2, 2005 08:03
Parallel Fluent on Linux clusters Chengwang Lei FLUENT 3 November 24, 2004 03:05


All times are GMT -4. The time now is 11:39.