For Programmers: Free Programming Magazines  


Home > Archive > Compilers > December 2005 > OpenMP and parallel programming languages









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author OpenMP and parallel programming languages
Neal Wang

2004-10-10, 3:56 am

Hello folks,

Does anyone know any explicit parellel programming languages? C/C++
and Fortran support OpenMP directives. Any one has tried to extend
C/C++ grammar to include OpenMP.

Cheers,
Neal
Rafael 'Dido' Sevilla

2004-10-12, 3:57 am

On Sat, Oct 09, 2004 at 10:51:10PM -0400, Neal Wang wrote:
> Hello folks,
>
> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives. Any one has tried to extend
> C/C++ grammar to include OpenMP.


There's Occam, I think. The Kent Retargetable Occam Compiler is one
modern implementation:

http://www.cs.kent.ac.uk/projects/ofa/kroc/

There's also the Newsqueak programming language invented by Rob Pike:

http://herpolhode.com/rob/newsqueak.tar.gz

and the Limbo programming language Pike also co-developed for the
Inferno operating system:

http://www.vitanuova.com/inferno/limbo.html

--
dido
"...ang PUMATAY nang dahil sa iyo!"
beliavsky@aol.com

2004-10-12, 3:57 am

neal.wang@gmail.com (Neal Wang) wrote in message news:<04-10-073@comp.compilers>...
> Hello folks,
>
> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives. Any one has tried to extend
> C/C++ grammar to include OpenMP.


Fortran 95 was a fairly minor revision of Fortran 90, but it did add
some features from High Performance Fortran to facilitate the
expression of parallel algorithms: PURE and ELEMENTAL functions, and
the WHERE and FORALL constructd. Co-Array Fortran (see
http://www.co-array.org/ ) is an extension of Fortran 95.

Jürgen Kahrs

2004-10-12, 3:57 am

Neal Wang wrote:

> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives. Any one has tried to extend
> C/C++ grammar to include OpenMP.


Occam has parallelism in its design (based an CSP). ADA has the
tasking concept. Data flow languages are also inherently parallel.
Verilog and VHDL and all other hardware description languages describe
hardware objects that all run in parallel.
Sam Midkiff

2004-10-12, 3:57 am

Java. The parallelism is expressed via threads.

Sam Midkiff

On 9 Oct 2004 22:51:10 -0400, neal.wang@gmail.com (Neal Wang) wrote:

>Hello folks,
>
> Does anyone know any explicit parellel programming languages? C/C++
>and Fortran support OpenMP directives. Any one has tried to extend
>C/C++ grammar to include OpenMP.


Sam Midkiff
Dmitry A. Kazakov

2004-10-17, 8:56 pm

On 9 Oct 2004 22:51:10 -0400, Neal Wang wrote:

> Does anyone know any explicit parellel programming languages?


Ada 95 has a developed parallel computing model:

- tasks represent scheduling items. They have rendezvous, which support
queuing, parameter passing and concurrent exception handling.

- protected objects provide passive shared ADT, with read-only (functions),
read-write (procedures) and queued (entries) ways of accessing its
internals.

- blocking requests can be requeued between entries of the protected
objects and tasks.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
Martin Ellis

2004-10-17, 8:56 pm

Neal Wang wrote:
> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives.


I've just started looking at Handel-C. It's used for hardware/software
co-design and is pretty much a superset of C. It has a 'par' (parallel)
construct at least - I'm sure I saw some semaphore primitives somewhere
too.

Some docs at:
http://www.celoxica.com/techlib/def...tID=9&CatType=2
(useful ones about half-way down)

ImpulseC looks like a similar idea based on a quick glance, but I haven't
looked properly.
http://www.impulsec.com/

Martin
Gregg Townsend

2004-10-17, 8:56 pm

Neal Wang <neal.wang@gmail.com> wrote:
> Does anyone know any explicit parellel programming languages?


See MPD and its predecessor SR:
http://www.cs.arizona.edu/mpd/
http://www.cs.arizona.edu/sr/

---------------------------------------------------------------------------
Gregg Townsend Staff Scientist The University of Arizona
gmt@cs.arizona.edu Computer Science Tucson, Arizona, USA

Alex Colvin

2004-10-17, 8:56 pm

>> Does anyone know any explicit parellel programming languages? C/C++[color=darkred]

there have been several explicitly pareallel C dialects. Data-parallel C
languages include
C* for the Connection Machines
http://burks.brighton.ac.uk/burks/foldoc/97/15.htm
and its derivative, Data-parallel C
http://burks.brighton.ac.uk/burks/foldoc/81/28.htm
more recently, Cilk
http://supertech.lcs.mit.edu/cilk/
and split-C
http://www.cs.berkeley.edu/projects...castle/split-c/

None of these includes OpenMP directly, though.

--
mac the naïf

Rodney M. Bates

2004-10-17, 8:56 pm

Modula-3 has thread support builtin to the language, with more
stuff available by direct calls to the RTS, in the existing
implementations. www.m3.org.

Neal Wang wrote:
> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives. Any one has tried to extend
> C/C++ grammar to include OpenMP.


Rodney M. Bates
cyberlync@gmail.com

2004-10-17, 8:56 pm

The two langauges that exploit this well is Erlang (www.erlang.org) and
Mozart-oz (www.mozart-oz.org). I think they are the two most used
langauges in this group with Erlang being the more mainstream of the
two.
Victor Eijkhout

2004-10-17, 8:56 pm

Neal Wang <neal.wang@gmail.com> wrote:

> Does anyone know any explicit parellel programming languages?


....any explicit parallel programming languages that work with more than
shared memory?

V.
--
[How about Linda? -John]
Ed Kornkven

2004-10-17, 8:56 pm

Hi Neal,

If you want to count research languages, there have been many. If
you're interested in C/C++ in particular, you might take a look at
Unified Parallel C (http://upc.gwu.edu/) or Charm++
(http://charm.cs.uiuc.edu). UPC is implemented by several commercial
vendors and is more similar to OpenMP's paradigm. Charm++ by virtue
of its data-driven programming model is quite a different animal.

BTW, there is a Fortran extension that originated at Cray, CoArray
Fortran, that turns out to be more or less a Fortran analogue to UPC.

Ed Kornkven

PS. There is another thread dealing with languages that have as a
design goal high performance. Explicitly parallel languages would of
course be included in that group.


"Neal Wang" <neal.wang@gmail.com> wrote in message
> Does anyone know any explicit parellel programming languages? C/C++
> and Fortran support OpenMP directives. Any one has tried to extend
> C/C++ grammar to include OpenMP.

Ira Baxter

2004-10-17, 8:56 pm

"Neal Wang" <neal.wang@gmail.com> wrote in message
> Does anyone know any explicit parellel programming languages? ...


Our PARLANSE parallel programming language provides explicit
"spawn" (dynamic task parallelism) and "recruit" (forming tasks into
logical supertasks), as well as "parallel" and "partialorder"
(static declaration of task parallelism). As far as we know,
PARLANSE is unique in providing an exception handling mechanism
which handles exceptions crossing task boundaries seamlessly.
PARLANSE is used primarily to code application programs have
irregular (e.g., medium to small grain) parallelism. It is used
exclusively as the programming language for our software
reengineering tools, which deal with large, irregular structures
(programs).
See http://www.semanticdesigns.com/Products/PARLANSE.html.

--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
shadowman7

2005-12-25, 10:31 pm

I want to download the lastest version of OpenMP!!
Who can help me, please give me link to download !!
Thanks very much !!
(I want install OpenMP on Debian)
If perhap, please send it (the lastest version) to my mail box: nguyendinhhung_vn@yahoo.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com