fcma-toolbox icon indicating copy to clipboard operation
fcma-toolbox copied to clipboard

openmpi has no kmp_malloc

Open jackgo73 opened this issue 9 years ago • 0 comments

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?

jackgo73 avatar Aug 17 '15 01:08 jackgo73