This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FX's binaries at quatramaran.ens.fr and OpenMP: no success


On Sat, Jul 15, 2006 at 02:52:51PM +0200, Harald Anlauf wrote:
> Steve Kargl wrote:
> >On Fri, Jul 14, 2006 at 11:58:56PM +0200, Harald Anlauf wrote:
> 
> >>openmp0.c:
> >>
> >
> >(snip code)
> 
> >I don't know what comes with FX's package.  Does it have a
> >gcc binary?  Can you try linking with it?
> 
> Sorry that I forgot to mention that.
> Yes, the i386 version of FX's Linux binaries come with gfortran
> and gcc and otherwise work fine.  The above example works when
> compiled with this gcc and with -fopenmp omitted.
> Of course it then emits simply
> 
> OpenMP not available.
> Done.
> 
> I hope somebody else could help tracking down whether the
> problem lies in libgomp of that package or elsewhere.

Sorry, I wasn't too clear either.  Does

gcc -fopenmp openmp.c

generate a working binary?  The missing symbols in your
original email look like startup routines.  The gfortran
driver may not include the right magic files when given
a *.c file (ie., crt0.o etc.).  I use neither of the OSs
you tried nor FX's package, so I can't investigate further.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]