SCALAPACK 2.2.2
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ mr2d_malloc() [2/2]

void * mr2d_malloc ( Int  n)

Definition at line 108 of file pgemraux.c.

109{
110 void *ptr;
111 assert(n > 0);
112 ptr = (void *) malloc(n);
113 if (ptr == NULL) {
114 fprintf(stderr, "xxmr2d:out of memory\n");
115 exit(2);
116 }
117 return ptr;
118}