CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Not enough processors were found on the local host to meet the requested binding acti (https://www.cfd-online.com/Forums/openfoam-solving/163660-not-enough-processors-were-found-local-host-meet-requested-binding-acti.html)

kingjewel1 December 3, 2015 08:00

Not enough processors were found on the local host to meet the requested binding acti
 
I am trying to run snappyHexMesh in parallel on 2 cores
but I get this error:

Code:

Not enough processors were found on the local host to meet the requested
binding action:

my decomposeParDict file looks like this:

Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.3.1                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    object      decomposeParDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 2;

method          hierarchical;

hierarchicalCoeffs
{
    n          (1 2 1);
    delta      0.001;
    order      xyz;
}

// ************************************************************************* //

my queue submission code looks like this:

Code:

#!/bin/bash
#$ -cwd -V
#$ -l h_rt=24:00:00
#$ -l h_vmem=1G
#$ -pe ib 2
#$ -cwd -V
export MPI_BUFFER_SIZE=8192
module purge
module add bit/64 gnu/4.8.1 openmpi/1.6.5 openfoam/2.3.0


blockMesh

decomposePar


mpirun -np $NSLOTS snappyHexMesh -overwrite -parallel

I'm really really at a loss as to what else I can do to fix this.... Any help would be much appreciated :)

cvillescas December 3, 2015 11:43

The code looks ok to me. Are you sure $NSLOTS is 2?

kingjewel1 December 3, 2015 11:46

I've just found out that this version of OF 2.3.0 won't run on distributed processors on multiple nodes for some reason. It will only run on 1 single node. Anyone know why?


All times are GMT -4. The time now is 20:59.