CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Computation in parallel on AMD 64bit Red Hat Enterprise Linux AS release 3 Taroon Update 2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2005, 09:40
Default Hi there, I used the follo
  #1
New Member
 
zhengtong xie
Join Date: Mar 2009
Posts: 3
Rep Power: 17
ztxie is on a distinguished road
Hi there,

I used the following scripts (which was originally obtained from Eugene de Villiers but was modified a bit) running parrellel jobs on on AMD 64bit, Red Hat Enterprise Linux AS release 3 (Taroon Update 2)system with success. Someone might be interested.

qsub -l nodes=2:ppn=2 -l walltime=03:50:00 codef_script

## the "codef_script" is,

#!/bin/sh
# Set number of processors per node
# procs_per_node=2


cd $PBS_O_WORKDIR
ROOTDIR=/home/c/zxie/OpenFOAM/zxie-1.1/run/Cubes
CASENAME=stg444-8
CASEDIR=$ROOTDIR/$CASENAME

# make 4 proc node file

# cp $PBS_NODEFILE $CASEDIR/DP_NODEFILE
# cat $PBS_NODEFILE >> $CASEDIR/DP_NODEFILE
# DPS_NODEFILE=$CASEDIR/DP_NODEFILE

NUMPROCS=$(wc -l $PBS_NODEFILE | awk '{printf $1}')

## Create machinefile
MACHINE="hosts"
cat $PBS_NODEFILE | awk '{ printf "%s\n",$1 }' > $MACHINE


# `which decomposePar` $ROOTDIR $CASENAME
# start application
`which lamboot` -v $MACHINE

# `which mpirun` -np $NUMPROCS `which icoFoam` $ROOTDIR $CASENAME -parallel > $CASEDIR/log
`which mpirun` -np $NUMPROCS `which channelOodles` $ROOTDIR $CASENAME -parallel</dev/null> $CASEDIR/log

# `which lamhalt` -d
`which lamwipe` -v $MACHINE


###------------------------------

Regards,

Zhengtong Xie
ztxie is offline   Reply With Quote

Reply


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
Precompiled 64bit linux installation milkovp OpenFOAM Installation 5 May 15, 2008 05:57
anyone use ICEM on linux 64bit system? littlelz Main CFD Forum 0 May 2, 2008 06:58
Fluent-AMD-64bit-Linux-Redhat MCB FLUENT 4 January 19, 2007 15:39
Linux for FLUENT6.2 (64bit) ROOZBEH FLUENT 3 November 12, 2006 07:49
ICEMCFD for 64bit Linux F.K. CFX 1 February 16, 2004 04:15


All times are GMT -4. The time now is 21:54.