Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在c++调用从核c代码,c代码采用sw5cc编译,混合编译采用mpiCC编译,报错,在从核中使用了math.h库中的lg10(float) 函数,但是报错说slave_lg10未定义。如何解决?
LIBS里面加-lm_slave试试.
-lm_slave