i*****d 发帖数: 5 | 1 我要在UNIX平台上,用C语言调用一个仿真软件,为提高计算速度,希望
能用多CPU同时运行计算,如何实现呢?
谢谢各位大虾指教! | t******q 发帖数: 117 | 2 Reprogram your C code to multi thread,
and your unix should be aware of the multi CPU.
then, the os will auto assigned your code runing
on different CPUs.
Or read some parrallel processing material.
This is that area as I think.
【在 i*****d 的大作中提到】 : 我要在UNIX平台上,用C语言调用一个仿真软件,为提高计算速度,希望 : 能用多CPU同时运行计算,如何实现呢? : 谢谢各位大虾指教!
| i*****d 发帖数: 5 | 3 how? I mean if some functions of C language can control
using multi-CPUs?
Thanks!
【在 t******q 的大作中提到】 : Reprogram your C code to multi thread, : and your unix should be aware of the multi CPU. : then, the os will auto assigned your code runing : on different CPUs. : Or read some parrallel processing material. : This is that area as I think.
| f******t 发帖数: 61 | 4 For parallel computer, specific C library for using multi-CPU
is always available. You can refer to the manual of
the computer.
MPI is a standard programming interface for parallel computer.
【在 i*****d 的大作中提到】 : how? I mean if some functions of C language can control : using multi-CPUs? : Thanks!
|
|