Closed iam41xin closed 5 years ago
I've found out that RePlAce uses mkl just to use "mkl_malloc" function. I guess if you replace mkl_malloc into malloc, then you could erase mkl.h include. Removing MKL dependency is planned, so I'll do later.
I've found out that RePlAce uses mkl just to use "mkl_malloc" function. I guess if you replace mkl_malloc into malloc, then you could erase mkl.h include.
Thanks you very much for your valuable information, I tried to use OpenBLAS to replace mkl but I don't know which head files should be included. I'll try your solution to compile again soon!
I've finished to compile RePlAce under ppc64le by using following methods, I don't know if it's the right way to solve this issue, just for reference. I'm still taking the function test.
There are some special cases like this: moduleInstance=(struct MODULE)malloc(sizeof(struct MODULE)moduleCNT,64); 'malloc' and ',64' are not in the same line.
Thank you very much, I can close this issue now.
I somehow disabled some realloc function to avoid memory violations in the 'dev' branch. (Behaviors of mkl_realloc and realloc seem different, so realloc had a problem.)
After my current implementation for TCL command is finished, I would merge the 'dev' branch into 'master' branch.
While compiling RePlAce under ppc64le, I've met an issue that components 'intel-mkl-2018.2-046' and 'intel-ipp-2018.4-057' were not available for ppc64le. Would you mind my asking what's the purpose of using Intel-math-kernel here? Are there any equivalent components suitable for ppc64le? Thanks!