Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] Getting the cache hierarchy
From: Olivier Cessenat (cessenat_at_[hidden])
Date: 2010-06-06 16:06:51


[cessenat_at_valerie hwloc-1.0.1]$ which gcc
/usr/bin/gcc

It's only gfortran that I have in opt.
Removing it from the path makes it compile.

Olivier.

Le dimanche 06 juin 2010 à 21:52 +0200, Samuel Thibault a écrit :
> Olivier Cessenat, le Sun 06 Jun 2010 21:40:03 +0200, a écrit :
> > [root_at_valerie hwloc-1.0.1]# /usr/bin/gcc
> > gcc: no input files
>
> No, I said: what does
>
> which gcc
>
> return? I guess you are currently getting some gcc from /opt, which
> leads to all the kinds of errors you are getting in config.log. Please
> remove that from your PATH.
>
> > /opt/gfortran/irun/bin/../lib/gcc/i386-pc-linux-gnu/4.3.0/include-fixed/sys/stat.h:345: error: expected ',' or ';' before '__wur'
>
> Samuel
> _______________________________________________
> hwloc-users mailing list
> hwloc-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-users