fcma-toolbox
fcma-toolbox copied to clipboard
openmpi has no kmp_malloc
SVMClassification.cc: In function ‘SVMProblem* GetSVMProblemWithPreKernel2(Trial*, Voxel*, int, int, int)’:
SVMClassification.cc:230:73: error: ‘kmp_malloc’ was not declared in this scope
prob->x[i] = (SVMNode*)kmp_malloc(sizeof(SVMNode) * (nTrainings + 2));
^
SVMClassification.cc: At global scope:
SVMClassification.cc:218:13: warning: unused parameter ‘row’ [-Wunused-parameter]
SVMProblem* GetSVMProblemWithPreKernel2(Trial* trials, Voxel* voxel,
^
SVMClassification.cc:306:6: warning: unused parameter ‘row’ [-Wunused-parameter]
void GetNewSVMProblemWithPreKernel(Trial* trials, Voxel* voxel, int step_id,
^
make: *** [SVMClassification.o] Error 1
openmpi has no kmp_malloc function.
how do we solve this problem?