From: Randy Crawford <rlc@ncsa.uiuc.edu>
Newsgroups: comp.parallel
Subject: Re: OpenMP on SGI O2K
Date: 14 May 1999 05:57:59 GMT
Organization: University of Illinois at Urbana-Champaign
Approved: bigrigg@cs.cmu.edu
Message-Id: <7hge17$lp1$1@goldenapple.srv.cs.cmu.edu>
Originator: bigrigg@ux6.sp.cs.cmu.edu
Xref: ukc comp.parallel:15599


John Roberts wrote:
> Should this work on an SGI O2K?

Only if you have the 7.3 compiler suite.  7.2 does not support OpenMP C.
I believe that 7.3 was released last week.  BTW, your code works on my 
Origin (running 7.3 beta).

> What do I need to include to get the omp*() functions? What libs do I need
> to link with?

You need the following in your code:

#include <omp.h>

And you need to compile with:

cc one.c -lmp 

-- 
Randy Crawford
rlc@ncsa.uiuc.edu
rlc@sgi.com

    Joyce Kilmer was thinking about central Illinois.

--
Articles to bigrigg+parallel@cs.cmu.edu (Admin: bigrigg@cs.cmu.edu)
Archive: http://www.hensa.ac.uk/parallel/internet/usenet/comp.parallel

