Re: [Discuss OpenCPI] Ubuntu 19 Support

From: Brian Padalino <bpadalino_at_gmail.com>
Date: Thu, 05 Dec 19 18:45:59 -0500

On Thu, Dec 5, 2019 at 6:37 PM Brian Padalino <bpadalino_at_gmail.com> wrote:

> On Thu, Dec 5, 2019 at 6:16 PM Brian Padalino <bpadalino_at_gmail.com> wrote:
>
>> ========Running iqstream_max_calculator_test:
>> Executing the iqstream_max_calculator_test application.
>> TEST: file_read->RCC worker->file_write
>> app failed: No acceptable implementations found in any libraries for
>> "ocpi.assets.util_comps.iqstream_max_calculator". Use log level 8 for more
>> detail.
>>
>> Any idea how to use log level 8 for more detail?
>>
>
> I wish I waited a little bit longer before asking since I found the
> OCPI_LOG_LEVEL environment variable.
>
> I have a Centos7 lxc running as a supported installation, versus my Ubuntu
> one to try to do A/B comparisons on. Here is what I found, but I have
> absolutely no idea what would cause these things to happen.
>
> == Ubuntu 19 ==
> TEST: file_read->RCC worker->file_write
> OCPI( 8:763.0769): Component: ocpi.core.file_read name: file_read impl:
> spec: ocpi.core.file_read selection:
> OCPI( 8:763.0769): Component:
> ocpi.assets.util_comps.iqstream_max_calculator name:
> iqstream_max_calculator impl: spec:
> ocpi.assets.util_comps.iqstream_max_calculator selection:
> OCPI( 8:763.0769): Component: ocpi.core.file_write name: file_write impl:
> spec: ocpi.core.file_write selection:
> OCPI( 8:763.0769): Considering implementation for instance "file_read"
> with spec "ocpi.core.file_read": "file_read" from artifact
> "/home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_read.rcc.0.ubuntu19.so"
> OCPI( 8:763.0769): Accepted implementation before connectivity checks with
> score 1
> OCPI( 8:763.0769): Considering implementation for instance "file_read"
> with spec "ocpi.core.file_read": "file_read" from artifact
> "/home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_read.rcc.0.xilinx18_3.so"
> OCPI( 8:763.0770): Accepted implementation before connectivity checks with
> score 1
> OCPI( 8:763.0770): Error Exception: No acceptable implementations found in
> any libraries for "ocpi.assets.util_comps.iqstream_max_calculator". Use
> log level 8 for more detail.
>
> == Centos 7 ==
> TEST: file_read->RCC worker->file_write
> OCPI( 8:363.0964): Component: ocpi.core.file_read name: file_read impl:
> spec: ocpi.core.file_read selection:
> OCPI( 8:363.0964): Component:
> ocpi.assets.util_comps.iqstream_max_calculator name:
> iqstream_max_calculator impl: spec:
> ocpi.assets.util_comps.iqstream_max_calculator selection:
> OCPI( 8:363.0964): Component: ocpi.core.file_write name: file_write impl:
> spec: ocpi.core.file_write selection:
> OCPI( 8:363.0965): Considering implementation for instance "file_read"
> with spec "ocpi.core.file_read": "file_read" from artifact
> "/home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_read.rcc.0.centos7.so"
> OCPI( 8:363.0965): Accepted implementation before connectivity checks with
> score 1
> OCPI( 8:363.0965): Considering implementation for instance
> "iqstream_max_calculator" with spec
> "ocpi.assets.util_comps.iqstream_max_calculator": "iqstream_max_calculator"
> from artifact
> "/home/bpadalino/projects/opencpi.git/projects/assets/artifacts/
> ocpi.assets.util_comps.iqstream_max_calculator.rcc.0.centos7.so"
> OCPI( 8:363.0965): Accepted implementation before connectivity checks with
> score 1
> OCPI( 8:363.0965): Considering implementation for instance "file_write"
> with spec "ocpi.core.file_write": "file_write" from artifact
> "/home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_write.rcc.0.centos7.so"
> OCPI( 8:363.0965): Accepted implementation before connectivity checks with
> score 1
> OCPI( 8:363.0965): For instance file_read there were 1 candidates. These
> had potential containers:
> OCPI( 8:363.0965): Checking implementation file_read model rcc os linux
> version c7 arch x86_64 platform centos7 dynamic 0 opencpi version 1.5
> OCPI( 8:363.0965): OpenCPI version is: 1.5
> OCPI( 8:363.0965): Artifact version checking is in effect. Set
> OCPI_ALLOW_VERSION_MISMATCH to 1 to allow.
> OCPI( 8:363.0965): vs. container rcc0 (0) model rcc os linux version c7
> arch x86_64 platform centos7 dynamic 0 opencpi version 1.5 ==> accepted
> OCPI( 8:363.0965): Candidate 0
> /home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_read.rcc.0.centos7.so is ok for containers: 0: rcc0
> OCPI( 8:363.0965): For instance iqstream_max_calculator there were 1
> candidates. These had potential containers:
> OCPI( 8:363.0965): Checking implementation iqstream_max_calculator model
> rcc os linux version c7 arch x86_64 platform centos7 dynamic 0 opencpi
> version 1.5
> OCPI( 8:363.0965): vs. container rcc0 (0) model rcc os linux version c7
> arch x86_64 platform centos7 dynamic 0 opencpi version 1.5 ==> accepted
> OCPI( 8:363.0965): Candidate 0
> /home/bpadalino/projects/opencpi.git/projects/assets/artifacts/
> ocpi.assets.util_comps.iqstream_max_calculator.rcc.0.centos7.so is ok for
> containers: 0: rcc0
> OCPI( 8:363.0965): For instance file_write there were 1 candidates. These
> had potential containers:
> OCPI( 8:363.0965): Checking implementation file_write model rcc os linux
> version c7 arch x86_64 platform centos7 dynamic 0 opencpi version 1.5
> OCPI( 8:363.0965): vs. container rcc0 (0) model rcc os linux version c7
> arch x86_64 platform centos7 dynamic 0 opencpi version 1.5 ==> accepted
> OCPI( 8:363.0965): Candidate 0
> /home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_write.rcc.0.centos7.so is ok for containers: 0: rcc0
> OCPI( 8:363.0965): Negotiating connection from instance file_read (in
> <none>) port out to instance iqstream_max_calculator (in <none>) port in
> (buffer size is 18446744073709551615/0xffffffffffffffff)
> OCPI( 8:363.0965): Negotiating connection from instance
> iqstream_max_calculator (in <none>) port out to instance file_write (in
> <none>) port in (buffer size is 18446744073709551615/0xffffffffffffffff)
> OCPI( 8:363.0965): Negotiating connection from instance file_read (in
> rcc0) port out to instance iqstream_max_calculator (in rcc0) port in
> (buffer size is 8192/0x2000)
> OCPI( 8:363.0965): Negotiating connection from instance
> iqstream_max_calculator (in rcc0) port out to instance file_write (in rcc0)
> port in (buffer size is 8192/0x2000)
> OCPI( 8:363.0965): Loading RCC worker artifact
> /home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_read.rcc.0.centos7.so
> OCPI( 8:363.0965): Loading RCC worker artifact
> /home/bpadalino/projects/opencpi.git/projects/assets/artifacts/
> ocpi.assets.util_comps.iqstream_max_calculator.rcc.0.centos7.so
> OCPI( 8:363.0965): Loading RCC worker artifact
> /home/bpadalino/projects/opencpi.git/projects/assets/imports/ocpi.core/exports/artifacts/
> ocpi.core.file_write.rcc.0.centos7.so
> OCPI( 8:363.0965): Starting worker: file_write in container rcc0 from
> file_write/
> OCPI( 8:363.0965): Starting worker: iqstream_max_calculator in container
> rcc0 from iqstream_max_calculator/
> OCPI( 8:363.0965): Starting worker: file_read in container rcc0 from
> file_read/
> OCPI( 8:363.0966): Waiting for "done" worker, "file_write", to finish
> OCPI( 8:363.0966): iqstream_max_calculator: max_I updated to value of 0
> OCPI( 8:363.0966): iqstream_max_calculator: max_Q updated to value of 0
> OCPI( 8:363.0976): iqstream_max_calculator: max_I property read, queueing
> up max_I reset...
> OCPI( 8:363.0976): iqstream_max_calculator: ...performing max_I reset (to
> -32768) that was previously queued
> OCPI( 8:363.0976): iqstream_max_calculator: max_Q property read, queueing
> up max_Q reset...
> TEST: max_I_0_Q_0.bin: PASSED
>
> It seems like my candidate .so files are being seen, but rejected by
> Ubuntu and not on Centos7.
>
> I'll try taking a look at OcpiLibraryAssembly.cxx, but I wouldn't imagine
> I should have to do that to simply add the new platform. Any insights
> would be useful.
>

This was solved by actually looking at the error and noting it didn't have
iqstream_max_calculator - the file stuff was fine. I then noted that the
appropriate .so files were in different asset locations. When I first:

  $ export
OCPI_LIBRARY_PATH=/home/bpadalino/projects/opencpi.git/projects/assets/artifacts:/home/bpadalino/projects/opencpi.git/projects/core/artifacts

I can now get the ocpitest assets to work correctly. This seems to be
another issue with symbolic links not being correctly created or propagated
through the project.

I'll take a deeper look and hopefully resolve the issue. Sorry for the
noise, but thanks for the quick responses.

Brian

>


Received on Thu Dec 05 2019 - 23:45:59 CST

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT