- changed status to resolved
Regression on external GASNET build tree
Issue #8
resolved
John's latest commit of c306072 has broken operation for external GASNET build tree:
$ export GASNET=/home/bonachea/UPC/bupcr-ex/dbg/gasnet DBGSYM=1 OPTLEV=0 ; nobs exe test/dist_object.cpp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Uncaught exception
Traceback (most recent call last):
File "/home/bonachea/UPC/upcxx/nobs/nobs/tool_main.py", line 87, in main
printed.wait()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 403, in wait
return me.wait_futurized().value()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 458, in memo_execute
yield result
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 480, in execute
objs, libset = yield me.crawl()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 459, in crawl
yield fresh_src(main_src)
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 557, in fire1
proxied = lam(arg_result)
File "/home/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 540, in result
return resultoid()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 458, in memo_execute
yield result
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 349, in execute
comp_pp, src = yield me.get_comp_pp_and_src()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 557, in fire1
proxied = lam(arg_result)
File "/home/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 540, in result
return resultoid()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 344, in get_comp_pp_and_src
comp_pp = yield cxt.comp_lang_pp(src)
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 175, in comp_lang_pp
libs = yield cxt.libraries(src)
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 281, in libraries
maybe_upcxx_backend = yield cxt.upcxx_backend()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 201, in upcxx_backend
gasnet = yield cxt.gasnet()
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 707, in fire
arg = gen_throw(arg.exception, None, arg.traceback)
File "/home/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 398, in memo_execute
yield failure
File "/home/bonachea/UPC/upcxx/nobs/nobs/async.py", line 705, in fire
arg = gen_send(arg.value())
File "/home/bonachea/UPC/upcxx/nobsrule.py", line 820, in execute
incfiles = [os.path.join(source_dir, i) for i in incfiles]
File "/usr/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
The same command works with the previous version 038c987
This appears to only affect external GASNET build trees, not install trees, but it would be preferable to support either.
Comments (2)
-
Account Deleted -
-
assigned issue to
-
assigned issue to
- Log in to comment
Fixed issue 8: https://bitbucket.org/berkeleylab/upcxx/issues/8/regression-on-external-gasnet-build-tree Regression on GASNET env var behavior.
Fixed issue 5: https://bitbucket.org/berkeleylab/upcxx/issues/5/confusing-behavior-for-nobs-external More flexible GASNET env var handling. GASNET can now point to a tarball url, tarball file, gasnet source tree, gasnet build tree, gasnet install tree, or nothing (gets default url).
Errors are displayed through $PAGER (otherwise less -R) when in a TTY.
→ <<cset b31a52d57bec>>