I tried -fopenmp, but it results in the following error when I run the binary: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory I've looked on the web for libgomp, but it looks like this library has been dropped (the gomp webpage shows that gomp has been merged into the mainline gcc), and I can't really find a copy of it. Tom On Thu, 1 Jun 2006, Timothy C Prince wrote: > > > -----Original Message----- > From: Thomas Yeh <tomyeh@xxxxxxxxxxx> > To: tprince@xxxxxxxxxxxxx > Date: Thu, 1 Jun 2006 11:30:39 -0700 (PDT) > Subject: Re: openmp support > > I've tried a small test using the parallel for openmp pragma. The test > compiles but the performance looks similar to a serial version. Also, the > compiler complains when I use omp_set_num_threads and omp_get_num_threads. > > Is there a flag I need to use when compiling? > > > -fopenmp > Tim Prince >