45 printf(
"AL_Allocate_array: wrong SZ pointer\n");
56 MPI_Type_size(s->
type, &size);
58 if( !(a = (
char *)
AL_CALLOC_((
int) buffsize,size)) ){
59 printf(
"[%d] AL_Allocate_array: allocation error\n",myrank);
65 printf(
"AL_Allocate_array: allocated %ld bytes\n",buffsize*size);
#define AL_CALLOC_(nelem, size)
int stack_ptr[AL_MAX_ARRAYS]
void * AL_Allocate_array(int sz_ptr)
Internal include file for the ArrayLib.
SZ * sz_stack[AL_MAX_ARRAYS]