Hi Edo.

I have previously wrapped STIR in the Nix package manager which uses quite a novel directory structure. If you can wrap in Nix I'd imagine you can wrap in Conda.

The main issue I ran in to (from memory) was STIR needed access to some source cxx files at run time for configuration. If Conda has an issue with this also, perhaps these files could be changed to installed header files?

Ash

--

Sent from my mobile. Please excuse brevity and any spelling mistakes.

Ashley Gillman, BEng (Electical and Electronic) (Hons) - BIT
PhD Candidate
School of Medicine, University of Queensland | Australian e-Health Research Centre, CSIRO

E [log in to unmask] M +61 404 085 204
Level 5 UQ Health Science Building
901/16 Royal Brisbane and Women's Hospital
Herston, QLD 4029 Australia
www.csiro.au | http://www.aehrc.com/biomedical_imaging/

PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you.
To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.
On 3 Jul. 2018, at 12:26 am, "Thielemans, Kris" <[log in to unmask]> wrote:

It will/should only refer to installed STIR items. If not, it’s a bug.

 

From: Edoardo Pasca - UKRI STFC [mailto:[log in to unmask]]
Sent: 02 July 2018 15:15
To: Thielemans, Kris; [log in to unmask]
Subject: RE: FindSTIR

 

I’m just unsure  whether the STIRConfig.cmake would contain references to directories which don’t exist as they refer to the build environment that conda creates and destroys.

 

We’ll see

 

Thanks

 

Edo

 

From: CCP-PETMR Developers list <[log in to unmask]> On Behalf Of Thielemans, Kris
Sent: 02 July 2018 15:05
To: [log in to unmask]
Subject: Re: FindSTIR

 

Hi

 

Thanks, but please, let’s not create a FindSTIR.cmake. It isn’t necessary. It’s out-dated. It’ll be very hard to maintain. The STIRConfig.cmake that we write sets variables, adds dependencies and compilation flags automatically (relying on what CMake knows about all this). If it doesn’t, it’s a bug. Getting dependencies etc sorted out will be very very hard to do with a hand-crafted FindSTIR.cmake.  don’t go there.

 

Kris

 

 

From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Nikos Efthimiou
Sent: 02 July 2018 15:01
To: [log in to unmask]
Subject: Re: FindSTIR

 

Hi Edo,

If you still need a find.cmake I have this. I used to work great, but the past 6 months after some cmake updates, it works "almost" great. If you have STIR in a local path, you will be able to set the root path but then you will have to set and include path, again :/ . Strange staff.

Good luck,

Nikos

 

On 02/07/18 13:49, Edoardo Pasca - UKRI STFC wrote:

Hi there,

 

I’m trying to build SIRF with conda.

 

It’s not clear to me how SIRF finds STIR during the SuperBuild. My guess is that being a target of the SuperBuild the find_package command just finds it.

 

If I’m now building with USE_SYSTEM_STIR, cmake is complaing that there is no FindSTIR.cmake or STIR_config.cmake Do we have any? I’m presuming that with conda a STIR_config.cmake will be useless as the build happens in a specific environment which is created and destroyed for the build.

 

So, if I’m to create a FindSTIR.cmake the question is, what is needed of STIR by SIRF at compile time?

 

Cheers

 

Edo

 

--
Edoardo Pasca, PhD
Senior Visualisation Scientist, CCPi project manager and CCPPETMR
Scientific Computing Department, STFC Rutherford Appleton Laboratory
Fermi Avenue Chilton Didcot OX11 0QX
0044 (0)1235 44 5660, R89 F16
:wq

 

 


To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1

 

 


To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1

 


To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1



To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1



To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1