install --single fails with external GASNET install

Issue #53 resolved
Dan Bonachea created an issue

Using the new install --single in a0d6e07 with external GASNET install fails.

Note the script error on the first line, and the fact nobs attempts to invoke a non-existent configure script in the GASNet install.

{pcp-d-5 ~/UPC/upcxx} rm -Rf .nobs/ ; env GASNET=/home/pcp1/bonachea/UPC/inst-ex-debug DBGSYM=1 OPTLEV=0 ./install --single test6
./install: line 17: [: --single: integer expression expected
UPCXX revision: a0d6e07
System: Linux pcp-d-5 3.10.0-693.1.1.el7.x86_64 #1 SMP Tue Aug 15 08:36:44 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 7.3 (Nitrogen)
Release:        7.3
Codename:       Nitrogen

Date: Fri Sep 22 14:44:58 PDT 2017
Current directory: /home/pcp1/bonachea/UPC/upcxx
Install directory:
Settings: GASNET='/home/pcp1/bonachea/UPC/inst-ex-debug' OPTLEV='0' DBGSYM='1'

/usr/local/pkg/gcc/7.2.0/bin/g++
g++ (GCC) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

/usr/local/pkg/gcc/7.2.0/bin/gcc
gcc (GCC) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Configuring GASNet...
(in /home/pcp1/bonachea/UPC/upcxx/.nobs/art/d284e6d5e76b0a1d331ad1a66739b933cbd9d35f)
/home/pcp1/bonachea/UPC/inst-ex-debug/configure --enable-debug --disable-psm --disable-mxm --disable-portals4 --disable-ofi --disable-dev-warnings

Building GASNet (conduit=smp, threading=seq)...
(in /home/pcp1/bonachea/UPC/upcxx/.nobs/art/d284e6d5e76b0a1d331ad1a66739b933cbd9d35f/smp-conduit)
make seq

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Uncaught exception

Traceback (most recent call last):
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/tool_main.py", line 87, in main
    printed.wait()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 447, in wait
    return me.wait_futurized().value()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 659, in install
    libset = yield cxt.library(main_src)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 437, in memo_execute
    yield result
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 607, in execute
    objs, libset = yield me.crawl()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 548, in crawl
    yield fresh_src(main_src)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 601, in fire1
    proxied = lam(arg_result)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 519, in result
    return resultoid()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 437, in memo_execute
    yield result
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 435, in execute
    comp_pp, src = yield me.get_stuff()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 601, in fire1
    proxied = lam(arg_result)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 519, in result
    return resultoid()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 429, in get_stuff
    comp_pp = yield cxt.comp_lang_pp(src)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 195, in comp_lang_pp
    libs = yield cxt.libraries(src)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 306, in libraries
    maybe_upcxx_backend = yield cxt.upcxx_backend()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 221, in upcxx_backend
    gasnet = yield cxt.gasnet()
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 751, in fire
    arg = gen_throw(arg.exception, None, arg.traceback)
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/memodb.py", line 377, in memo_execute
    yield failure
  File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 749, in fire
    arg = gen_send(arg.value())
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 995, in execute
    GASNET_LD = shplit(makefile_extract(makefile, 'GASNET_LD'))
  File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 1105, in makefile_extract
    raise Exception('Makefile %s not found.'%makefile)
Exception: Makefile /home/pcp1/bonachea/UPC/upcxx/.nobs/art/d284e6d5e76b0a1d331ad1a66739b933cbd9d35f/smp-conduit/smp-seq.mak not found.
(END)UPC++ Installation failed. Please report the entire log above to: upcxx@googlegroups.com

Comments (3)

  1. Former user Account Deleted

    The script error at the top has been fixed in a later commit. But I am unable to reproduce this bug with either the commit used here or the latest develop. Can you verify it is still an issue with latest develop?

  2. Dan Bonachea reporter

    Script error fix confirmed.

    I've since clobbered that directory, and now I can't reproduce it either - it's possible I had an invalid install.

    I withdraw this report.

  3. Log in to comment