bin/tools/RunFunctions: runParallel now obtains the number of processors from numberOfSubdomains
in decomposeParDict. This default number of processors may be overridden by the new "-np" option to runParallel which must be specified before the application name e.g.: runParallel -np 4 pisoFoam
This commit is contained in:
@ -8,7 +8,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel $(getApplication) 4 &
|
||||
runParallel $(getApplication) &
|
||||
|
||||
./externalSolver
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ done
|
||||
runApplication decomposePar -allRegions
|
||||
|
||||
# Run
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
|
||||
@ -34,7 +34,7 @@ runApplication `getApplication`
|
||||
#runApplication decomposePar -allRegions
|
||||
#
|
||||
## Run
|
||||
#runParallel `getApplication` 4
|
||||
#runParallel `getApplication`
|
||||
#
|
||||
## Reconstruct
|
||||
#runApplication reconstructPar -allRegions
|
||||
|
||||
@ -13,7 +13,7 @@ mv log.decomposePar log.decomposePar.air
|
||||
runApplication decomposePar -region porous
|
||||
mv log.decomposePar log.decomposePar.porous
|
||||
|
||||
runParallel $(getApplication) 4
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar -latestTime -region air
|
||||
mv log.reconstructPar log.reconstructPar.air
|
||||
|
||||
@ -28,7 +28,7 @@ do
|
||||
done
|
||||
|
||||
# Run
|
||||
runParallel `getApplication` 4
|
||||
runParallel `getApplication`
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -allRegions
|
||||
|
||||
Reference in New Issue
Block a user