Conda build error are red herrings most of the time.

mamba build seems to be more useful in reporting errors

Edo

From: SYNERBI-DEVEL CCP SyneRBI Developers list <[log in to unmask]> on behalf of Thielemans, Kris <[log in to unmask]>
Sent: Monday, October 31, 2022 9:31 PM
To: [log in to unmask] <[log in to unmask]>
Subject: Re: conda-forge build cuda
 

Hi Georg

 

Not sure really. I notice you don’t have a “run” section, which seems a bit weird. Maybe it causes the None? I’m guessing you want a “python” entry in there (ok, not for the libraries only). In the STIR feedstock, I needed

 

    - openmp  # [osx]

    - libgomp  # [linux]

 

(actually in both build/host and run).

 

Some other irrelevant comments:

 

 

For parallelproj, I think subpackages can handle what you need (one without cuda, one with, or even a 3rd one with the python stuff). For STIR’s dependency on parallelproj, this seems harder, as at the moment we choose either the openmp of cuda version of parallelproj. I guess if we’d change it to always use openmp, and only use the cuda version of it’s present, at least the library could be doen via 2 subpackages. Executables would be harder, as supported projectors are “compiled in”.

 

Kris

 

From: SYNERBI-DEVEL CCP SyneRBI Developers list <[log in to unmask]> On Behalf Of Georg Schramm
Sent: 31 October 2022 18:06
To: [log in to unmask]
Subject: conda-forge build cuda

 

Caution: External sender

 

Hi Synergy developers,
motivated by Kris last comments, I tried to update the recipe for parallelprojsuch that it also compiles using conda-forge packages only (and not the cvcc+ cuda-toolkit from nvidia’s channel).
Unfortunately, the build process exists at the very end (after build and running the tests) with:

 

```
File "/home/georg/mambaforge/lib/python3.10/site-packages/conda_build/build.py", line 3082, in build_tree
for (metadata, need_source_download, need_reparse_in_env) in metadata_tuples:
TypeError: cannot unpack non-iterable NoneType object
```

Has anybody seen this issue before? The returned metadata_tuples seem to be (None,None)

 

If you want to try reproducing the issue (local cuda installation needed), the recipe is here

(conda-forge-build-branch).

https://github.com/gschramm/parallelproj/blob/conda-forge-build/recipe/meta.yaml

 

Any help / tips are very welcome.

 

Bests,

Georg

 


To unsubscribe from the SYNERBI-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=SYNERBI-DEVEL&A=1



To unsubscribe from the SYNERBI-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=SYNERBI-DEVEL&A=1

This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. 



To unsubscribe from the SYNERBI-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=SYNERBI-DEVEL&A=1