Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpi_type_c2f(3) [debian man page]

MPI_Type_c2f(3) 						      LAM/MPI							   MPI_Type_c2f(3)

NAME
MPI_Type_c2f - Convert a datatype handle from its C representation to its Fortran representation SYNOPSIS
#include <mpi.h> MPI_Fint MPI_Type_c2f(MPI_Datatype datatype) INPUT PARAMETER
datatype - C datatype handle RETURN VALUE
f_handle - Fortran datatype handle NOTES FOR FORTRAN
All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have an additional argument ierr at the end of the argument list. ierr is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked with the call statement. All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in Fortran. ERRORS
This function does not return the normal MPI_SUCCESS integer value upon success. Instead, it returns a handle to the converted object. If an error occurs, the appropriate NULL handle will be returned. SEE ALSO
MPI_Type_c2f(3) MORE INFORMATION
For more information, please see the official MPI Forum web site, which contains the text of both the MPI-1 and MPI-2 standards. These documents contain detailed information about each MPI function (most of which is not duplicated in these man pages). http://www.mpi-forum.org/ LOCATION
handles.c LAM
/MPI 7.1.4 6/24/2006 MPI_Type_c2f(3)

Check Out this Related Man Page

MPI_Type_f2c(3) 						      LAM/MPI							   MPI_Type_f2c(3)

NAME
MPI_Type_f2c - Convert a datatype handle from its Fortran representation to its C representation SYNOPSIS
#include <mpi.h> MPI_Datatype MPI_Type_f2c(MPI_Fint f_handle) INPUT PARAMETER
f_handle - Fortran datatype handle RETURN VALUE
datatype - C datatype handle NOTES FOR FORTRAN
All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have an additional argument ierr at the end of the argument list. ierr is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked with the call statement. All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in Fortran. ERRORS
This function does not return the normal MPI_SUCCESS integer value upon success. Instead, it returns a handle to the converted object. If an error occurs, the appropriate NULL handle will be returned. SEE ALSO
MPI_Type_c2f(3) MORE INFORMATION
For more information, please see the official MPI Forum web site, which contains the text of both the MPI-1 and MPI-2 standards. These documents contain detailed information about each MPI function (most of which is not duplicated in these man pages). http://www.mpi-forum.org/ LOCATION
handles.c LAM
/MPI 6.5.8 11/10/2002 MPI_Type_f2c(3)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

Litter question!

Though in the unix environment,but I don't know how to use Fortran! Please tell me! vi *.f fct *.f How to make it become a exe file! Thanks! (2 Replies)
Discussion started by: dingyin
2 Replies

2. Programming

Fortran dependency checking

Hello, I'm creating an add-on for a large piece of software written in Fortran. In my directory I reference subroutines in other directories, which in turn reference more subroutines. I'm running into trouble because on occasion the developers of the main software change some sub calls. ... (2 Replies)
Discussion started by: kudude
2 Replies

3. Shell Programming and Scripting

Help with separating datatype, column name

Hi All, I am new to unix but have a requirement wherein I need to separate datatype,length, and column name from input file which is of below format -- record integer(10) empid; string(25) name; date("YYYY-MM-DD") dob; decimal(10) salary; end now after getting datatype,its length and... (4 Replies)
Discussion started by: phoenix09
4 Replies

4. What is on Your Mind?

CDAC India

/** Due to forum rules i have remove URLs plz find the course syllabus at CDAC web site **/ Respected Forum Members, I am a average student, B.tch. pass out 2012 batch in information and technology, but still jobless. To increase my knowledge, and job chances i am planing to do Post... (4 Replies)
Discussion started by: Vijay Tyagi
4 Replies

5. Programming

OpenMP and MPI hybrid thread numbers

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)
Discussion started by: armando_2011
0 Replies