问题描述
嗨朋友们,
我需要在运行SGI Irix 6.5的服务器上运行C中的并行代码。该服务器支持MIPS Pro C编译器。我不知道
对并行C语言有任何想法。我查看了这个
组中的几个帖子。我可以看出有几种语言可以并行编程,而并行C就是其中之一。我需要知道这是否是MIPS Pro C编译器支持的
。或者还有其他任何具有此功能的并行语言吗?
如果有人在mpC中解释差异
会更有帮助,并行C,OpenMP和MPI中的并行C。以下指令属于哪种语言
。
#pragma parallel
#pragma pfor
#pragma同步
提前致谢
Ramya
[OT]
以下是一些SGI链接:
MIPSpro自动并行化选项程序员指南
你可能不想使用它,因为它是值得注意的
额外费用。它在你刚开始时非常有用,但是一旦你看到它对你的代码产生了什么样的转换,通常会更容易放入指令中。手动。
C语言参考手册
"第10章多处理指令"
第11章多处理高级功能 ;
换句话说,你可以手动输入指令。
包括#pragma parallel,#pragm一个pfor和#pragma同步。
这些不是来自不同的语言:它们都是pragma
,SGI用来标记并行编程的不同方面。
这些由SGI的C和C ++支持。 SGI的F77(Fortran 77)
多处理指令支持记录在
和F77的OpenMP指令支持记录在
F90(Fortran 90) OpenMP支持记录在
"消息传递工具包:MPI程序员手册
"消息传递工具包:PVM程序员指南"
各种SGI系统手册页:
mpconf - 多处理配置
sysmp - 多处理(和实时) )控制
pthreads - 介绍POSIX线程
-
我是垃圾邮件,因此我是。
标准C也没有。
该文件未声称具有新闻组的合法身份
章程。有人知道comp.lang.c章程在哪里可以找到吗?
我能在网上找到的最好的是
< ftp://ftp.uu .net / usenet / control / comp / comp.lang.c>
包含单行描述,关于C的讨论
[当我在谷歌上看时,看起来我打开了一大堆蠕虫,问题是这个,但是必须要说。在新闻组中声称某些东西被禁止作为偏离主题的内容明确声称该章程说明了
所以,这似乎充其量是误导性的,最糟糕的是不诚实。 br />
如果clc没有包机,你认为它不需要包机吗?
Hi friends,
I need to write a parallel code in ''C'' on the server that is
running SGI Irix 6.5. This server supports MIPS Pro C compiler. I don''t
have any idea of parallel C languages. I looked into few posts in this
group. I could make out that there are several languages for parallel
programming and parallel C is one of them. I need to know if this is
supported by MIPS Pro C Compiler. Or are there any other parallel C
languages that have this feature?
It would be more helpful if someone explains the differences
among mpC, paralle C, parallel C in OpenMP and MPI. To which language
does the following directives belong to.
#pragma parallel
#pragma pfor
#pragma synchronize
Thanks in advance
Ramya
[OT]
Here are some SGI links for you:
"MIPSpro Auto-Parallelizing Option Programmer''s Guide"
http://techpubs.sgi.com/library/tpl/...per/MPro_AP_PG
You probably don''t want to use that, though, as it is noticable
extra cost. It''s useful when you first start out, but once you see
what kind of transformations it makes to your code, it is usually
easier to put in the directives manually.
"C Language Reference Manual"
"Chapter 10. Multiprocessing Directives"
http://techpubs.sgi.com/library/tpl/...html/ch10.html
"Chapter 11. Multiprocessing Advanced Features"
http://techpubs.sgi.com/library/tpl/...html/ch11.html
In other words, you can put the directives in manually.
Includes #pragma parallel, #pragma pfor, and #pragma synchronize .
These are not from different languages: they are all pragmas
that SGI uses to mark different aspects of parallel programming.
These are supported by SGI''s C, and C++. SGI''s F77 (Fortran 77)
multiprocessing directive support is documented at
http://techpubs.sgi.com/library/tpl/..._html/apb.html
and F77''s OpenMP directive support is documented at
http://techpubs.sgi.com/library/tpl/...html/ch05.html
The F90 (Fortran 90) OpenMP support is documented at
http://techpubs.sgi.com/library/tpl/...html/ch04.html
"Message Passing Toolkit: MPI Programmer''s Manual"
http://techpubs.sgi.com/library/tpl/...per/MPT_MPI_PM
"Message Passing Toolkit: PVM Programmer''s Guide"
http://techpubs.sgi.com/library/tpl/...per/MPT_PVM_PM
Various SGI system manual pages:
mpconf - multiprocessing configuration
http://techpubs.sgi.com/library/tpl/...cat3c/mpconf.z
sysmp - multiprocessing (and realtime) controls
http://techpubs.sgi.com/library/tpl/...andard/sysmp.z
pthreads - introduction to POSIX threads
http://techpubs.sgi.com/library/tpl/...e=5%20pthreads
--
I am spammed, therefore I am.
Neither does standard C.
http://www.ungerhu.com/jxh/clc.welcome.txt
--
Peter
Neither does standard C.
http://www.ungerhu.com/jxh/clc.welcome.txt
That document does not claim to have the ''legal'' status of a newsgroup
charter. Anyone know where the comp.lang.c charter can be found?
The best I can find online is
<ftp://ftp.uu.net/usenet/control/comp/comp.lang.c>
which contains a single-line description, "Discussion about C"
[When i look on google it looks like i''m opening a whole can of worms by
asking this, but it has to be said. Claims on a newsgroup that something
is forbidden as off-topic make an implicit claim that the charter says
so, which seems at best misleading and at worst dishonest.]
If clc doesn''t have a charter, don''t you think it needs one?
这篇关于MIPS Pro C编译器支持哪种并行C语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!