The Fortran 95 compiler recognizes the following additional intrinsic functions:
MPI_SIZEOF( x, size, error) Returns the size in bytes of the machine representation of the given variable, x. If x is an array, it returns the size of the base element and not the size of the whole array |
|
x |
input; variable or array of arbitrary type |
size |
output; integer; size in bytes of x |
error |
output; integer; set to an error code if an error detected, zero otherwise |
Memory allocation, reallocation, and deallocation functions malloc(), realloc(), and free() are implemented as f95 intrinsics. See 1.4.35 malloc, malloc64, realloc, free: Allocate/Reallocate/Deallocate Memory for details.