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/)
-   -   problem during mpi in server: expected Scalar, found on line 0 the word 'nan' (https://www.cfd-online.com/Forums/openfoam-solving/151393-problem-during-mpi-server-expected-scalar-found-line-0-word-nan.html)

muth April 9, 2015 06:12

problem during mpi in server: expected Scalar, found on line 0 the word 'nan'
 
am getting an error as given below while running in parallel in server.please help me to solve this

Code:

Warning: Permanently added 'aggra581,90.3.3.181' (RSA) to the list of known hosts.
[8]
[8]
[8] --> FOAM FATAL IO ERROR:
[8] wrong token type - expected Scalar, found on line 0 the word 'nan'
[8]
[10]
[10]
[10] --> FOAM FATAL IO ERROR:
[10] wrong token type - expected Scalar, found on line 0 the word 'nan'
[10]
[10] file: /home/usr1803/rakeshc/cases/pcis/processor10/system/data.solverPerformance.p_rgh at line 0.
[11]
[11]
[11] --> FOAM FATAL IO ERROR:
[11] wrong token type - expected Scalar, found on line 0 the word 'nan'
[11]
[11] file: /home/usr1803/rakeshc/cases/pcis/processor11/system/data.solverPerformance.p_rgh at line 0.
[11]
[11]    From function operator>>(Istream&, Scalar&)
[11]    in file [0]
[0]
[0] --> FOAM FATAL IO ERROR:
[0] wrong token type - expected Scalar, found on line 0 the word 'nan'
[0]
[0] file: /home/usr1803/rakeshc/cases/pcis/processor0/system/data.solverPerformance.p_rgh at line 0.
[0]
[0]    From function operator>>(Istream&, Scalar&)
[0]    in file lnInclude/Scalar.C at line 91.
[0]
FOAM parallel run exiting
[0]
[3]
[3]
[3] --> FOAM FATAL IO ERROR:
[3] wrong token type - expected Scalar, found on line 0 the word 'nan'
[3]
[3] file: /home/usr1803/rakeshc/cases/pcis/processor3/system/data.solverPerformance.p_rgh at line 0.
[3]
[3]    From function operator>>(Istream&, Scalar&)
[3]    in file lnInclude/Scalar.C at line 91.
[3]
FOAM parallel run exiting
[3]
[4]
[4]
[4] --> FOAM FATAL IO ERROR:
[4] wrong token type - expected Scalar, found on line 0 the word 'nan'
[4]
[4] file: /home/usr1803/rakeshc/cases/pcis/processor4/system/data.solverPerformance.p_rgh at line 0.
[4]
[4]    From function operator>>(Istream&, Scalar&)
[4]    in file lnInclude/Scalar.C at line 91.
[4]
FOAM parallel run exiting
[4]
[16]
[16]
[16] --> FOAM FATAL IO ERROR:
[16] wrong token type - expected Scalar, found on line 0 the word 'nan'
[16]
[16] file: /home/usr1803/rakeshc/cases/pcis/processor16/system/data.solverPerformance.p_rgh at line 0.
[16] [1]
[1]
[1] --> FOAM FATAL IO ERROR:
[1] wrong token type - expected Scalar, found on line 0 the word 'nan'
[1]
[1] file: /home/usr1803/rakeshc/cases/pcis/processor1/system/data.solverPerformance.p_rgh at line 0.
[1]
[1]    From function operator>>(Istream&, Scalar&)
[1]    in file lnInclude/Scalar.C at line 91.
[1]
FOAM parallel run exiting
[1]
[2]
[2]
[2] --> FOAM FATAL IO ERROR:
[2] wrong token type - expected Scalar, found on line 0 the word 'nan'
[2]
[2] file: /home/usr1803/rakeshc/cases/pcis/processor2/system/data.solverPerformance.p_rgh at line 0.
[2]
[2]    From function operator>>(Istream&, Scalar&)
[2]    in file lnInclude/Scalar.C at line 91.
[2]
FOAM parallel run exiting
[2]
[5]
[5]
[5] --> FOAM FATAL IO ERROR:
[5] wrong token type - expected Scalar, found on line 0 the word 'nan'
[5]
[5] file: /home/usr1803/rakeshc/cases/pcis/processor5/system/data.solverPerformance.p_rgh at line 0.
[5]
[5]    From function operator>>(Istream&, Scalar&)
[5]    in file lnInclude/Scalar.C at line 91.
[5]
FOAM parallel run exiting
[5]
[6]
[6]
[6] --> FOAM FATAL IO ERROR:
[6] wrong token type - expected Scalar, found on line 0 the word 'nan'
[6]
[6] file: /home/usr1803/rakeshc/cases/pcis/processor6/system/data.solverPerformance.p_rgh at line 0.
[6]
[6]    From function operator>>(Istream&, Scalar&)
[6]    in file lnInclude/Scalar.C at line 91.
[6]
FOAM parallel run exiting
[6]
lnInclude/Scalar.C at line 91.
[11]
FOAM parallel run exiting
[11]
[9]
[9]
[9] --> FOAM FATAL IO ERROR:
[9] wrong token type - expected Scalar, found on line 0 the word 'nan'
[9]
[9] file: /home/usr1803/rakeshc/cases/pcis/processor9/system/data.solverPerformance.p_rgh at line 0.
[9]
[9]    From function operator>>(Istream&, Scalar&)
[9]    in file lnInclude/Scalar.C at line 91.
[9]
FOAM parallel run exiting
[9]
[8] file: /home/usr1803/rakeshc/cases/pcis/processor8/system/data.solverPerformance.p_rgh at line 0.
[8]
[8]    From function operator>>(Istream&, Scalar&)
[8]    in file lnInclude/Scalar.C at line 91.
[8]
FOAM parallel run exiting
[8]
[10]
[10]    From function operator>>(Istream&, Scalar&)
[10]    in file lnInclude/Scalar.C at line 91.
[10]
FOAM parallel run exiting
[10]
[17]
[17]
[17] --> FOAM FATAL IO ERROR:
[17] wrong token type - expected Scalar, found on line 0 the word 'nan'
[17]
[17] file: /home/usr1803/rakeshc/cases/pcis/processor17/system/data.solverPerformance.p_rgh at line 0.
[17]
[17]    From function operator>>(Istream&, Scalar&)
[17]    in file lnInclude/Scalar.C at line 91.
[17]
FOAM parallel run exiting
[17]
[18]
[18]
[18] --> FOAM FATAL IO ERROR:
[18] wrong token type - expected Scalar, found on line 0 the word 'nan'
[18]
[18] file: /home/usr1803/rakeshc/cases/pcis/processor18/system/data.solverPerformance.p_rgh at line 0.
[18]
[18]    From function operator>>(Istream&, Scalar&)
[18]    in file lnInclude/Scalar.C at line 91.
[18]
FOAM parallel run exiting
[18]
[19]
[19]
[19] --> FOAM FATAL IO ERROR:
[19] wrong token type - expected Scalar, found on line 0 the word 'nan'
[19]
[19] file: /home/usr1803/rakeshc/cases/pcis/processor19/system/data.solverPerformance.p_rgh at line 0.
[19]
[19]    From function operator>>(Istream&, Scalar&)
[19]    in file lnInclude/Scalar.C at line 91.
[19]
FOAM parallel run exiting
[19]
[20]
[20]
[20] --> FOAM FATAL IO ERROR:
[20] wrong token type - expected Scalar, found on line 0 the word 'nan'
[20]
[20] file: /home/usr1803/rakeshc/cases/pcis/processor20/system/data.solverPerformance.p_rgh at line 0.
[20]
[20]    From function operator>>(Istream&, Scalar&)
[20]    in file lnInclude/Scalar.C at line 91.
[20]
FOAM parallel run exiting
[20]
[7] [21]
[21]
[21] --> FOAM FATAL IO ERROR:
[21] wrong token type - expected Scalar, found on line 0 the word 'nan'
[21]
[21] file: /home/usr1803/rakeshc/cases/pcis/processor21/system/data.solverPerformance.p_rgh at line 0.
[21]
[21]    From function operator>>(Istream&, Scalar&)
[21]    in file lnInclude/Scalar.C at line 91.
[21]
FOAM parallel run exiting
[21]

[7]
[7] --> FOAM FATAL IO ERROR:
[7] wrong token type - expected Scalar, found on line 0 the word 'nan'[22]
[22]
[22] --> FOAM FATAL IO ERROR:
[22] wrong token type - expected Scalar, found on line 0 the word 'nan'
[22]
[22] file: /home/usr1803/rakeshc/cases/pcis/processor22/system/data.solverPerformance.p_rgh at line 0.
[22]
[22]    From function operator>>(Istream&, Scalar&)
[22]    in file lnInclude/Scalar.C at line 91.
[22]
FOAM parallel run exiting
[22]

[7]
[7] file: /home/usr1803/rakeshc/cases/pcis/processor7/system/data.solverPerformance.p_rgh at line 0.
[7]
[7]    From function operator>>(Istream&, Scalar&)
[7]    in file [23]
[23]
[23] --> FOAM FATAL IO ERROR:
[23] wrong token type - expected Scalar, found on line 0 the word 'nan'
[23]
[23] file: /home/usr1803/rakeshc/cases/pcis/processor23/system/data.solverPerformance.p_rgh at line 0.
[23]
[23]    From function operator>>(Istream&, Scalar&)
[23]    in file lnInclude/Scalar.C at line 91.
[23]
FOAM parallel run exiting
[23]
[12]
[12]
[12] --> FOAM FATAL IO ERROR:
[12] wrong token type - expected Scalar, found on line 0 the word 'nan'
[12]
[12] file: /home/usr1803/rakeshc/cases/pcis/processor12/system/data.solverPerformance.p_rgh at line 0.
[12]
[12]    From function operator>>(Istream&, Scalar&)
[12]    in file lnInclude/Scalar.C at line 91.
[12]
FOAM parallel run exiting
[12]
lnInclude/Scalar.C at line 91.
[7]
FOAM parallel run exiting
[7]
[13] [14]
[14]
[14] --> FOAM FATAL IO ERROR:
[14] wrong token type - expected Scalar, found on line 0 the word 'nan'
[14]
[14] file: /home/usr1803/rakeshc/cases/pcis/processor14/system/data.solverPerformance.p_rgh at line 0.
[14]
[14]    From function operator>>(Istream&, Scalar&)
[14]    in file lnInclude/Scalar.C at line 91.
[14]
FOAM parallel run exiting
[14]
[15]
[15]
[15] --> FOAM FATAL IO ERROR:
[15] wrong token type - expected Scalar, found on line 0 the word 'nan'
[15]
[15] file: /home/usr1803/rakeshc/cases/pcis/processor15/system/data.solverPerformance.p_rgh at line 0.
[15]
[15]    From function operator>>(Istream&, Scalar&)
[15]    in file lnInclude/Scalar.C at line 91.
[15]
FOAM parallel run exiting
[15]

[16]    From function operator>>(Istream&, Scalar&)
[16]    in file lnInclude/Scalar.C at line 91.
[16]
FOAM parallel run exiting
[16]

[13]
[13] --> FOAM FATAL IO ERROR:
[13] wrong token type - expected Scalar, found on line 0 the word 'nan'
[13]
[13] file: /home/usr1803/rakeshc/cases/pcis/processor13/system/data.solverPerformance.p_rgh at line 0.
[13]
[13]    From function operator>>(Istream&, Scalar&)
[13]    in file lnInclude/Scalar.C at line 91.
[13]
FOAM parallel run exiting
[13]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[aggra583.compunet.barc.in:15230] 23 more processes have sent help message help-mpi-api.txt / mpi-abort
[aggra583.compunet.barc.in:15230] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Warning: Permanently added 'aggra583,90.3.3.183' (RSA) to the list of known hosts.


wyldckat April 9, 2015 17:08

Greetings muth and welcome to posting on the forum!

The error message seems to be clear enough that a "nan" value has been read from a file. As for what "nan" means: http://en.wikipedia.org/wiki/NaN

Beyond this, it's almost impossible to deduce what went wrong. Please follow these instructions: http://www.cfd-online.com/Forums/ope...-get-help.html

Best regards,
Bruno

muth April 10, 2015 06:42

thank you for your kind suggestion.

foadsf August 27, 2018 05:18

This error arises in non-MPI problems as well and the reducing the deltaT in controlDict seems to resolve the issue. I learned this from here.


All times are GMT -4. The time now is 16:51.