| diff -urN superlu_dist-6.4.0.orig/SRC/memory.c superlu_dist-6.4.0/SRC/memory.c |
| --- superlu_dist-6.4.0.orig/SRC/memory.c 2020-10-24 09:46:53.000000000 +0500 |
| +++ superlu_dist-6.4.0/SRC/memory.c 2020-12-28 15:12:47.713831400 +0500 |
| @@ -121,8 +121,8 @@ |
| |
| #else /* The production mode. */ |
| |
| -//#if 0 |
| -#if (__STDC_VERSION__ >= 201112L) |
| +#if 0 |
| +//#if (__STDC_VERSION__ >= 201112L) |
| |
| void * superlu_malloc_dist(size_t size) {void* ptr;int alignment=1<<12;if(size>1<<19){alignment=1<<21;}posix_memalign( (void**)&(ptr), alignment, size );return(ptr);} |
| void superlu_free_dist(void * ptr) {free(ptr);} |