Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspect.lua not found in Sierra. #1582

Closed
dongahn opened this issue Jul 16, 2018 · 3 comments
Closed

inspect.lua not found in Sierra. #1582

dongahn opened this issue Jul 16, 2018 · 3 comments

Comments

@dongahn
Copy link
Member

dongahn commented Jul 16, 2018

@koning is getting an error as follows. It is from https://github.com/flux-framework/flux-core/blob/master/src/cmd/flux-wreck#L635. I think inspect.lua is not avail on Sierra systems.

====
I'm getting a new error:

/usr/workspace/wsb/koning/mlsi/merlin/venv_merlin_blueos_3_ppc64le_ib/bin/celery
Creating persistdir /p/gscratch1/koning/flux/tmp.1gqCBrwaTa
module load hwloc/1.11.10-cuda
env PMI_LIBRARY=/usr/global/tools/pmi4pmix/blueos_3_ppc64le_ib/lib/libpmi.so jsrun -a 1 -c ALL_CPUS -g ALL_GPUS --bind=none -n 1 /usr/global/tools/flux/blueos_3_ppc64le_ib/default/bin/flux start -o,--setattr=persist-directory=/p/gscratch1/koning/flux/tmp.1gqCBrwaTa,-S,log-filename=flux_141166.out /usr/bin/bash
lua: /collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/libexec/flux/cmd/flux-wreck:635: module 'inspect' not found:
no field package.preload['inspect']
no file '/collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/share/lua/5.1/inspect.lua'
no file './inspect.lua'
no file '/usr/share/lua/5.1/inspect.lua'
no file '/usr/share/lua/5.1/inspect/init.lua'
no file '/usr/lib64/lua/5.1/inspect.lua'
no file '/usr/lib64/lua/5.1/inspect/init.lua'
no file '/collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/lib/lua/5.1/inspect.so'
no file './inspect.so'
no file '/usr/lib64/lua/5.1/inspect.so'
no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/libexec/flux/cmd/flux-wreck:635: in function 'handler'
/collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/share/lua/5.1/flux/Subcommander.lua:146: in function </collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/share/lua/5.1/flux/Subcommander.lua:127>
(tail call): ?
/collab/usr/global/tools/flux/blueos_3_ppc64le_ib/flux-0.9.x-20180706/libexec/flux/cmd/flux-wreck:826: in main chunk
[C]: ?
/usr/global/tools/flux/blueos_3_ppc64le_ib/default/bin/flux wreckrun -N 1 -n 1 celery worker -A merlin -l info --concurrency 80 -Ofair -E
[2018-07-16 16:24:58,805: INFO/MainProcess] Connected to amqps://mlsi:**@jackalope.llnl.gov:5671//koning
[2018-07-16 16:24:58,848: INFO/MainProcess] mingle: searching for neighbors
[2018-07-16 16:24:59,916: INFO/MainProcess] mingle: sync with 1 nodes
[2018-07-16 16:24:59,916: INFO/MainProcess] mingle: sync complete
[2018-07-16 16:24:59,943: INFO/MainProcess] celery@sierra2976 ready.

====

@dongahn
Copy link
Member Author

dongahn commented Jul 16, 2018

Seems there is an installation issue: @grondo? For now, we will manually copy the file into our /usr/global installation.

====
From: "Herbein, Stephen" herbein1@llnl.gov
Date: Monday, July 16, 2018 at 4:48 PM
To: Dong Ahn ahn1@llnl.gov, Joe Koning koning1@llnl.gov
Cc: Mark Grondona grondona1@llnl.gov
Subject: Re: Affinity

Dong,

I confirmed that if we copy inspect.lua from the source tree at src/bindings/lua/inspect.lua into the install tree at share/lua/5.1/ then everything should be fine. Not sure why this isn't installed by default.

-Stephen

@grondo
Copy link
Contributor

grondo commented Jul 17, 2018

Oops, that is actually some leftover debug. The inspect module probably should not be used in installed code (it is in the src tree for debugging purposes). Glad you could work around it, but I'll add that to my list of issues to resolve.

@dongahn dongahn added this to the release 0.10.0 milestone Jul 17, 2018
@dongahn
Copy link
Member Author

dongahn commented Jul 17, 2018

Thanks. In the meantime, I tagged this to our next release.

grondo added a commit to grondo/flux-core that referenced this issue Jul 18, 2018
Problem: Debug code in flux-wreck utility uses the 'inspect.lua'
module, which isn't installed along with the flux-core package.

Remove debug code to fix errors in installed package.

Fixes flux-framework#1582
grondo added a commit to grondo/flux-core that referenced this issue Jul 18, 2018
Problem: Debug code in flux-wreck utility uses the 'inspect.lua'
module, which isn't installed along with the flux-core package.

Remove debug code to fix errors in installed package.

Fixes flux-framework#1582
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants