数据流通用C语言(Dataflow C language, DFC)是由深圳大学高性能计算研究所的系统技术组SKT(System Kernel Technology Group)开发,旨在提供通用的数据流编程语言。DFC编译器利用了ompicc编译器的代码,运行库则借用了mbrossard 线程池代码。
功能更加全面的第二个版本正在开发中:v0.2
contributors : 张靖 吴汇杰 罗斌 李锦荣 文成元 李克钹
cd compiler/ompi
./configure --prefix="安装路径"
make
make install
如果configure和gen_version文件没有权限,则运行chmod +x configure/gen_version赋予运行权限
安装路径/bin/ompicc -k -v -s -g -I"path-to-dfc" -I"path-to-threadpool" "program-in-dfc"
-k 保留中间文件
-v 输出编译信息
-s 生成的代码可以记录调度信息
-g 绘制DAG
Dataflow C language, short for DFC, is developed by the SKT(System Kernel Technology Group)in the laboratory in High Performance Computing Center, Shenzhen University. DFC aims at providing a general language for data flow programming. DFC makes use of ompicc compiler and mbrossard's threadpool codes.
The second version is under development: v0.2
cd compiler/ompi
./configure --prefix="installation-path"
make
make install
If the ./configure and the ./gen_version are denied to be executed, run
chmod +x configure/gen_version
installation-path/bin/ompicc -k -v -s -g -I"path-to-dfc" -I"path-to-threadpool" "program-in-dfc"
-k keep the media files
-v details
-s generate code with recording schedule info
-g draw the DAG