MPI_Add_error_code(3OpenMPI)MPI_Add_error_code(3OpenMPI)NAME
MPI_Add_error_code - Creates a new error code associated with errorclass
SYNTAX C Syntax
#include <mpi.h>
int MPI_Add_error_code(int errorclass, int *errorcode)
Fortran Syntax
INCLUDE 'mpif.h'
MPI_ADD_ERROR_CODE(ERRORCLASS, ERRORCODE, IERROR)
INTEGER ERRORCLASS, ERRORCODE, IERROR
C++ Syntax
#include <mpi.h>
int MPI::Add_error_code(int errorclass, int* errorcode)
INPUT PARAMETER
errorclass MPI error class (integer).
OUTPUT PARAMETERS
errorcode Error code returned by an MPI routine or an MPI error class (integer).
IERROR Fortran only: Error status (integer).
DESCRIPTION
Creates a new error code associated with errorclass and returns its value in errorcode.
NOTES
No function is provided to free error codes, as it is not expected that an application will create them in significant numbers.
The value returned is always greater than or equal to MPI_ERR_LASTCODE.
ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func-
tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
will be used to throw an MPI:Exception object.
Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for
I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be
used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.
SEE ALSO
MPI_Add_error_class
MPI_Error_class
Open MPI 1.2 September 2006 MPI_Add_error_code(3OpenMPI)
Check Out this Related Man Page
MPI_Error_class(3OpenMPI)MPI_Error_class(3OpenMPI)NAME
MPI_Error_class - Converts an error code into an error class.
SYNTAX C Syntax
#include <mpi.h>
int MPI_Error_class(int errorcode, int *errorclass)
Fortran Syntax
INCLUDE 'mpif.h'
MPI_ERROR_CLASS(ERRORCODE, ERRORCLASS, IERROR)
INTEGER ERRORCODE, ERRORCLASS, IERROR
C++ Syntax
#include <mpi.h>
int Get_error_class(int errorcode)
INPUT PARAMETER
errorcode Error code returned by an MPI routine.
OUTPUT PARAMETERS
errorclass
Error class associated with errorcode.
IERROR Fortran only: Error status (integer).
DESCRIPTION
The function MPI_Error_class maps each standard error code (error class) onto itself.
ERRORS
Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ func-
tions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism
will be used to throw an MPI:Exception object.
Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for
I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be
used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.
SEE ALSO
MPI_Error_string
Open MPI 1.2 September 2006 MPI_Error_class(3OpenMPI)
Can someone please tell me wht is wrong with the following peice of code?
I keep getting the following error -
0403-057 Syntax error at line 52 : `)' is not expected.
case "${option_count}" in
1) java -Xms256m -Xmx1536m "${APPLNAME}" "${ACTION_TYPE}" > "${LOGFILE}" 2>... (2 Replies)
Hi all,
I write a simple MPI program to send a text message to another process. The code is below.
(test.c)
#include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char* argv) {
int dest, noProcesses, processId;
MPI_Status status;
... (0 Replies)
Hi guys i'd like to show you this code of my script, where i couldn't find this error
" #! /bin/bash
#copiabin.sh: copia todos los archivos ejecutables a bin
if
then
mkdir $HOME/bin
fi
# copia de archivos y contador N
N=0
for ARCH in *
do
if # Si el archivo es... (9 Replies)
hi,
I have two basic questions, I will be really grateful if I receive any
comment from you,
I have an MPI code where I am trying to implement OpenMP directives.
The machine where I run the code has 16 cores. I run the code with
export OMP_NUM_THREADS=2
mpirun -np 4 ./exec
If I... (0 Replies)
Hi,
While executing my code i am getting below Error:
./check_disk1: 0403-057 Syntax error at line 55 : `(' is not expected.
My code is :
#!/bin/ksh
PROGNAME=`basename $0`
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
OS=$(uname)
AWK="/usr/bin/awk"... (6 Replies)
Hello all,
I am running a script to generate a report and mail it to an email address.
When I am trying to validate whether the file is a 0 kb file, I am getting the below error.
Error: "Syntax error; unexpected end of file"
Any suggestions please?
Code:
#!/bin/sh
.... (1 Reply)