Hi Sam,

unfortunately its is not possible to build MITK statically. But you can create 
a package using cpack. If you built the cmdapps on your system, you can call 
"make package". This will generate a tarball with the binaries and all 
necessary libraries. You could try to run this on you server.


If you are building command line binaries only, vtk is still needed.


Peter



________________________________
Von: Samuel St-Jean <stjean...@gmail.com>
Gesendet: Dienstag, 12. Dezember 2017 14:52
An: Neher, Peter
Cc: Alex Valcourt Caron; mitk-users@lists.sourceforge.net
Betreff: Re: [mitk-users] Are there mitk build for centos 7?

Ah well, I tried to play a bit more with it, but the server is just missing 
everything. After installing a recent cmake, compiling a custom gcc and a few 
dependencies, it seems like the build won't start due to missing x11 libs and 
headers, then due to libwrap and tcdp.h and probably something else later.

I think that these things are needed for vtk somewhere, even though I tried to 
uncheck everything to the bare minimum (including qt of course). I thought that 
vtk would be pulled with the superbuild or something, but it did not go that 
far unfortunately with all those missing libs.

Would a command line only option rely on x11/internet stuff somewhere deep or 
am I just missing too much base stuff and should try to hassle someone to 
install more stuff on the server (unlikely, but I can try).

---
Well actually seems like the superbuild needs these thing to fetch them from 
internet, and deactivating it instead complains on me missing everything else 
of course. I think I'll try to build myself a static build on a vm or a 
container or something instead now.
Hopefully it does work after that, more news if I get around it.

2017-12-12 7:20 GMT+01:00 Neher, Peter 
<p.ne...@dkfz-heidelberg.de<mailto:p.ne...@dkfz-heidelberg.de>>:
Hi Sam and Alex,

I agree with Alex. I will add a build configuration for a commandline-only 
build to make this easier.

Peter


Von: Alex Valcourt Caron 
[mailto:alex.valcourt.ca...@usherbrooke.ca<mailto:alex.valcourt.ca...@usherbrooke.ca>]
Gesendet: Montag, 11. Dezember 2017 18:41
An: Samuel St-Jean <stjean...@gmail.com<mailto:stjean...@gmail.com>>; 
mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] Are there mitk build for centos 7?


Hi Samuel,



it is possible to install a standalone command line app of Fiberfox to do 
simulation on already created tractograms and dwi images, as the ones you can 
create with the design tools of Fiberfox. You will also require a specific 
parameter file in order to configure the simulations. You can parametrize it 
from the graphical interface of Fiberfox, then save it to use in the command 
line app.



The installation of the app with the good dependencies, but without all the Qt 
dependencies is however a bit of a hurdle. I was able to accomplish it by doing 
this :

- First enable the Cmake option MITK_BUILD_CONFIGURATION to mitkDiffusion (or 
DiffusionRelease or DiffusionWorkbench, etc ..) and start a configure step.

- This will activate the required inner and outer ibraries for the linking step 
of the build to work. It however also enables all graphic applications, so in 
order to clear all Qt related build steps, you will need first to place back 
the option MITK_BUILD_CONFIGURATION to custom.

- Then, deselect all of the Applications (MITK_BUILD_APP_* options) and 
deselect or empty all options related to Qt. I also suggest you not to build 
Shared Libs and Testing, targets which can depend on Qt even when building 
without it.

- Configure, check that no Qt dependencies or path are present in the options, 
Generate and start building !



Alex

________________________________
De : Samuel St-Jean <stjean...@gmail.com<mailto:stjean...@gmail.com>>
Envoyé : 11 décembre 2017 11:23:26
À : mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Objet : Re: [mitk-users] Are there mitk build for centos 7?

Hello,
I see that there are new builds for ubuntu 14.04 and 16.04, but unfortunately 
the glibc from cent 7 is a bit older. As I was trying to run some fiberfox 
simulations with motion and all, it made my computer swap by using over 19 GB 
of ram. Of course we have servers for heavy duty stuff, but they are too old 
for the released version of mitk diffusion.

I tried building it some time ago from source, but getting qt running was just 
too much of a hurdle since stuff can't be easily installed on these servers. So 
for the actual questions :
- Is there a build for older glibc somewhere which might not have reached the 
download page?
- Say I just go without building the qt interface (which I tried while writing 
this, and it needs cmake 3.5, whereas I have 3.3.1, so too bad for now :/)
Well anyway, what are the easy options for running on servers that people are 
using?
Thanks,
Samuel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to