Ready 0.10

32 views
Skip to first unread message

Tim Hutton

unread,
Mar 24, 2020, 7:17:24 PM3/24/20
to reaction-...@googlegroups.com
Hello,

I'm making a 0.10 release.

There's a Windows download available here:
Give it a go, let me know of any problems.

Linux people, try the build on your machines. Let me know what can be fixed. Or if binaries would be useful, let me know what distro you're on.

Andrew, do you have some time to make a MacOS build?

Thanks!

Tim

Dan Wills

unread,
Mar 27, 2020, 4:49:02 AM3/27/20
to reaction-...@googlegroups.com
G'day Tim,
Nice! cheers for getting 0.10 moving, I wish I had known this was happening earlier as I was hoping to get in an update for an issue that I fixed in one of the Houdini hdanc files. I have now checked in the fixed (in this file: Scripts/Houdini/Sop_rd_object_post_process.hdanc and this is pushed to gh-pages). I am also happy to say that I have now had one person (Felipe Meres) test the rdyHoudini tools and confirmed that they are working (even if they are presently a bit slow to import things).

I tried to build gh-pages on my gentoo, it configures ok and without changing anything in cmake It got up to linking rdy and then it had a problem with link flags (this is trying to link against my system VTK (7.1.0)):

[  9%] Linking CXX executable rdy
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkFiltersParallelDIY2
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkIOMPIImage
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkIOMPIParallel
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkRenderingFreeTypeFontConfig
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvtkRenderingMatplotlib
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/rdy.dir/build.make:119: rdy] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/rdy.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

I went and tried removing these link flags, and that gave me a working GUI 'ready' binary and rdy commandline version too.

Most of the removals were this part around line 460 in CmakeLists.txt:

if( UNIX AND NOT APPLE )
  # set( EXTRA_VTK_LIBS vtkIOMPIImage vtkIOMPIParallel vtkRenderingFreeTypeFontConfig vtkRenderingMatplotlib )
  set( EXTRA_VTK_LIBS )
 endif()

And the other one is down in this block (starting line 499ish):

 elseif( ${VTK_MAJOR_VERSION} EQUAL 7)
  # VTK 7.x
  target_link_libraries(
    readybase
    vtkCommonCore
    vtkFiltersCore
    vtkFiltersExtraction
    vtkFiltersGeometry
    vtkFiltersModeling
#    vtkFiltersParallelDIY2


It looks like my system vtk version is: 7.1.0, and I could potentially also test under vtk-8.1.0 (which is available as unstable on Gentoo atm) but looking at the CmakeLists.txt, I think that would only potentially fix one of these, the vtkFiltersParallelDIY2 one (as ${EXTRA_VTK_LIBS} is there in all the groups of VTK link-flag-lists)). Could we perhaps add another if-statement up where ${EXTRA_VTK_LIBS} is being set such that it gets set to nothing on systems like mine?

Not hugely sure how to proceed or if we will even want to do anything about this, any thoughts Tim?

Maybe if anyone else building on linux runs into this then we could think about automating around it in the cmake?

Any other linux ready builders, would love to hear from you!
Dan


--
You received this message because you are subscribed to the Google Groups "reaction-diffusion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reaction-diffus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reaction-diffusion/CAAcZTPQ_wsXwhKJkafobekmy975Ke%3DiMor9qV9Am9EWwvzNBqg%40mail.gmail.com.

Tim Hutton

unread,
Mar 27, 2020, 11:35:16 AM3/27/20
to reaction-...@googlegroups.com
Hi Dan,

Don't worry about the release. We can easily make a 0.10.1 straight after. Thanks for your continued efforts.

I'm adding some ecological models, with kind help from Tiha von Ghyczy.

Tim Hutton

unread,
Mar 27, 2020, 12:11:28 PM3/27/20
to reaction-...@googlegroups.com
Dan, for the build, can you try the vtk_components branch? It seems that this is the suggested way of linking the VTK libraries. And some of the ones you mentioned don't seem to be needed.

It fails for vtk6 (where vtkRenderingOpenGL2 was called vtkRenderingOpenGL) but we can fix that if we ever want to.

Thanks,

Tim

On Fri, 27 Mar 2020 at 08:49, Dan Wills <gda...@gmail.com> wrote:

Dan Wills

unread,
Mar 28, 2020, 9:54:05 PM3/28/20
to reaction-...@googlegroups.com
Thanks heaps for the advice Tim! 

I just cloned the vtk_components branch of ready and it configured and built fully without issue (using 100% system-libs, no special builds) on my Gentoo Linux! Very nice work indeed!! :)

I'd tentatively say you could go ahead and merge that branch to gh-pages, I presume that it builds for you on Windows too? - perhaps it might be wise to check that Mac builds are not broken?, Andrew, would you perhaps be able to give that branch a try?

Putting out a 0.10.1 release sounds good! Not critical by any stretch but would be nice. Hopefully you can get those ecological models in with help from Tiha too.

Nice one! :D
Dan

Tim Hutton

unread,
Mar 29, 2020, 8:24:18 AM3/29/20
to reaction-...@googlegroups.com
Good to know, thanks!

Click on the tick mark (or cross) next to the commits - it leads to our Travis-CI pages, where the builds are tested automatically on every commit to gh-pages and on every PR. Our current set of tested platforms are:
Windows_vtk8.1.2_wx3.1.3
Ubuntu_18.04_gtk3_vtk7_wx3.0.4_clang
Ubuntu_18.04_gtk3_vtk7_wx3.0.4_gcc
Ubuntu_18.04_gtk2_vtk7_wx3.0.4_gcc
MacOS_10.14_xcode11.3_vtk8.2.0_wx3.0.4
MacOS_10.13_xcode9.4.1_vtk8.2.0_wx3.0.4

So I can see that the PR already builds with those configurations at least. I'll merge it.

Our .travis.yml file specifies what to do on each platform: https://github.com/GollyGang/ready/blob/gh-pages/.travis.yml

Dan Wills

unread,
Mar 29, 2020, 7:11:16 PM3/29/20
to reaction-...@googlegroups.com
Awesome! Sounds good Tim.

Thanks for the links I'll read up a bit and try to get more familiar with our travis setup, awesome how it's all so automated! :)
Dan

Tim Hutton

unread,
Apr 5, 2020, 5:05:37 PM4/5/20
to reaction-...@googlegroups.com
Dan, is there anything else you want to get in for the 0.10.1 build?

Dan Wills

unread,
Apr 5, 2020, 7:02:00 PM4/5/20
to reaction-...@googlegroups.com
Hi Tim, 
No just the small hda update from me for 0.10.1, cheers for asking! And thanks for making it :)
Dan

Reply all
Reply to author
Forward
0 new messages