On 31 Aug 2009, at 9:38 AM, Igor Peshansky wrote:

> Jim LaGrone <jlagr...@cs.uh.edu> wrote on 08/31/2009 09:49:43 AM:
>
>> On 28 Aug 2009, at 5:17 PM, Igor Peshansky wrote:
>>
>>> Hmm.  The g++ command line seems to point to the right include
>>> directory, but the header is not found...
>>
>> Is x10/pgasrt_x10.h suppose to be autogenerated?
>
> No.  It's part of the tarball.
>
>>> Try setting and exporting X10LIB in your environment to explicitly
>>> point to x10.dist, and see if that helps.
>>
>> Didn't work.
>>
>>> Beyond that, we'd have to
>>> debug the g++ command line -- perhaps invoke that command directly
>>> from x10.runtime.17/src-cpp?
>>
>> I tried make in this directory with similar result.
>>
>> make[1]: Entering directory `/home/jlagrone/x10/x10.runtime.17/src- 
>> cpp'
>> g++ -g  -I/home/jlagrone/x10/x10.dist/include -I. -Igen -ansi -
>> pedantic -Wall -Wextra -Wno-long-long -Wno-unused-parameter - 
>> pthread -
>> c gen/Dummy.cc -o gen/Dummy.o
>> In file included from ./x10rt17.h:9,
>>                  from gen/Dummy.h:4,
>>                  from gen/Dummy.cc:1:
>> ./x10aux/pgas.h:13:35: error: x10/pgasrt_x10.h: No such file or
>> directory
>> ./x10aux/pgas.h: In function ‘void x10aux::barrier()’:
>> ./x10aux/pgas.h:39: error: ‘x10rt_barrier’ was not declared in this
>> scope
>> ./x10aux/pgas.h: In function ‘x10_int x10aux::num_places()’:
>> ./x10aux/pgas.h:43: error: ‘x10rt_nplaces’ was not declared in this
>> scope
>> ./x10aux/pgas.h: In function ‘void x10aux::event_probe()’:
>> ./x10aux/pgas.h:47: error: ‘x10rt_probe’ was not declared in this  
>> scope
>> ./x10aux/pgas.h: In function ‘x10_int x10aux::here()’:
>> ./x10aux/pgas.h:51: error: ‘x10rt_here’ was not declared in this  
>> scope
>> ./x10aux/pgas.h: In function ‘void x10aux::shutdown()’:
>> ./x10aux/pgas.h:67: error: ‘x10rt_finalize’ was not declared in this
>> scope
>> gen/x10/util/HashMap.h: In member function ‘void
>> x10::util::HashMap<x10__K, x10__V>::rehash() [with x10__K =
>> x10aux::ref<x10::runtime::Clock_c>, x10__V = int]’:
>> gen/Dummy.cc:289:   instantiated from here
>> gen/x10/util/HashMap.h:620: warning: unused variable ‘oldSize’
>> make[1]: *** [gen/Dummy.o] Error 1
>> make[1]: Leaving directory `/home/jlagrone/x10/x10.runtime.17/src- 
>> cpp'
>> make: *** [gen/all-o-generated] Error 2
>>
>>> Maybe the double '/' in the -I argument
>>> is confusing g++?
>>
>> I fixed this with X10LIB env variable with no success.
>
> Well, according to the above, g++ *is* looking for headers in
> /home/jlagrone/x10/x10.dist/include.  Is x10/pgasrt_x10.h present
> in that directory?

I check out from the svn last week and did up this morning with no  
changes. I don't see this file anywhere. If 1.7.6 is now final, I'll  
just use the tarball. I was using the svn to get the latest fixes.

Jim
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to