HolyLab / BlockRegistrationScheduler.jl

Multi-core image registration scheduler
1 stars 0 forks source link

Updates for 0.6 #37

Closed timholy closed 7 years ago

timholy commented 7 years ago

Note this also fixes #36. For now, I also recommend explicitly choosing GPU- or CPU-based manually, with

using BlockRegistration
# For CPU:
using RegisterMismatch
# For GPU:
# using RegisterMismatchCuda

This will prevent a "world age" bug on 0.6 that I haven't yet sat down and come up with a real fix for. Note that if you do get the world age bug, you can just run it a second time and everything should work.

With this, I believe we are completely ready for Julia 0.6. I've already built 0.6.0-rc2 on both cannon and flash, you can update your .bashrc to add aliases like these:

alias julia-0.5="/usr/local/julia/julia-0.5/julia"
alias julia-0.6="/usr/local/julia/julia-0.6/julia"
alias juliasite-0.5="JULIA_PKGDIR=/usr/local/julia/julia-0.5/usr/share/julia/site/ julia-0.5"
alias juliasite-0.6="JULIA_PKGDIR=/usr/local/julia/julia-0.6/usr/share/julia/site/ julia-0.6"

I won't yet change the default symlink at /usr/local/bin/julia, but you can privately define

alias julia="julia-0.6"

as well, if you prefer.