[Insight-developers] SimpleITK dashboard

Dan Mueller dan.muel at gmail.com
Wed Jul 27 12:32:51 EDT 2011


Hi Dan,

>  If I install Mono, will SimpleITK automatically detect and configure?
Yes, C# is considered a "first class" language -- if the packages are
installed, CMake tries to find it in the following locations:

  # Search for Mono on non-Win32 systems
  set( chsarp_mono_names "dmcs" "gmcs" "mcs" "dmcs.exe" "gmcs.exe" "mcs.exe" )
  set(
    csharp_mono_paths
    "/usr/bin/"
    "/usr/local/bin/"
    "/usr/lib/mono/2.0"
  )
  find_program(
    NAMES ${chsarp_mono_names}
    PATHS ${csharp_mono_paths}
  )

This has been tested on Ubuntu; not sure how it goes on other Linux flavors.

Regards, Dan Mueller

On 27 July 2011 18:22, Daniel Blezek <Blezek.Daniel at mayo.edu> wrote:
> Hi Dan,
>
>  If I install Mono, will SimpleITK automatically detect and configure?
>
> Thanks,
> -dan
>
>
> On 7/27/11 7:30 AM, "Dan Mueller" <dan.muel at gmail.com> wrote:
>
>> Hi John,
>>
>> Submitting a SimpleITK build on CentOS with Mono C# would be great!
>>
>> You can find details for installing Mono packages here:
>>     http://www.mono-project.com/Mono_Installation
>>     http://ftp.novell.com/pub/mono/download-stable/RHEL_5
>>
>> http://stackoverflow.com/questions/3510320/install-mono-on-centos5-5-using-yum
>>
>> Someone else will have to give instructions for submitting a SimpleITK
>> build to the dashboard (David?, Dan B?). Perhaps the following wiki
>> page can help get you started:
>>     http://www.itk.org/Wiki/ITK_Policy_and_Procedure_for_Adding_Dashboards
>>
>> Looking forward to seeing Linux + SimpleITK + C# builds on the dashboard!
>>
>> Cheers, Dan Mueller
>>
>> On 26 July 2011 18:04, John McInerney <jmcinerney6 at gmail.com> wrote:
>>> Dear Dan,
>>>
>>> I have a CentOS machine that I would love to try Mono for C# wrapping.  I
>>> have 30 years of UNIX/Linux/etc.  Been doing CUDA for a while now.  I am
>>> hoping Bioscan can just deliver a single machine with our instruments
>>> that'll do
>>> everything down stream from the embeded (headless) system: GUI,
>>> reconstruction,
>>> segmentation, and registration.  So, that's my motivation...
>>>
>>> Been hanging on by my nails with the ITK upgrade.  Can't say I follow
>>> everything,
>>> but I'm a quick study.  I can do the Mono install.  It may take some time to
>>> get
>>> ITK 4 going to get to where you are at...  I have code that ran under ITK
>>> 3...
>>>
>>> John
>>>
>>> On Tue, Jul 26, 2011 at 10:42 AM, Dan Mueller <dan.muel at gmail.com> wrote:
>>>>
>>>> Hi Brad,
>>>>
>>>> The SimpleITK dashboard is looking good this morning :D (At least for
>>>> Linux and Win32 builds.) Out of interest, what branch are these
>>>> machines using? I am using remote stage/next, but still get the
>>>> DIRECTIONCOLLAPSETOIDENTITY errors...
>>>>
>>>> Also, are you in charge of the Linux box mi3c-qbert.mayo.edu? I'm just
>>>> wondering if it would be possible to install Mono so that C# wrapping
>>>> on Linux is covered (unfortunately I don't have access to a Linux
>>>> machine for submitting builds at the moment). If you tell me the Linux
>>>> flavour, I can provide the few commands needed to install the 2 or 3
>>>> Mono-related packages.
>>>>
>>>> Cheers, Dan Mueller
>>>>
>>>> On 25 July 2011 15:49, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
>>>>> I agree that is starting to be concerning with the size of the library.
>>>>> I am
>>>>> still amazed with how much it shrinks when the wrapped language library
>>>>> is
>>>>> made. There should be something we can do about this.
>>>>> That is great you found a solution. The attached diff is fine. I will
>>>>> place
>>>>> it onto the end of the current topic. And hopefully, it'll be ready for
>>>>> merging into master!
>>>>> Brad
>>>>>
>>>>> On Jul 25, 2011, at 1:13 AM, Dan Mueller wrote:
>>>>>
>>>>> Hi Brad,
>>>>>
>>>>> Debug builds on windows 32-bit systems may not be supported. The library
>>>>> just gets too big. You should try to build a release.
>>>>>
>>>>> Thanks for the info regarding the release build -- I do not encounter
>>>>> the "can not seek" error in release mode. However, I notice that
>>>>> SimpleITKBasicFilters.lib comes to 700MB, which is getting close to
>>>>> 1GB; perhaps something to watch for in the future as SimpleITK grows.
>>>>>
>>>>> This morning I located the issue with the SimpleITK C# Visual Studio
>>>>> 2008 build: it seems VS9 can not handle source dependencies specified
>>>>> using a wildcard. I have changed
>>>>> Wrapping/CSharpModules/UseCSharp.cmake to glob any wildcard
>>>>> expressions (as well as a minor bug fix for FindCSharp when using
>>>>> outside of SimpleITK). I have tested the changes using VS9, VS10, and
>>>>> make on Unbuntu. Please find the corrected files attached and diff
>>>>> below. What is your preferred way of working? Do I push the patch to
>>>>> Gerrit?
>>>>>
>>>>> Cheers, Dan Mueller
>
> --
> Daniel Blezek, PhD
> Medical Imaging Informatics Innovation Center
>
> P 127 or (77) 8 8886
> T 507 538 8886
> E blezek.daniel at mayo.edu
>
> Mayo Clinic
> 200 First St. S.W.
> Harwick SL-44
> Rochester, MN 55905
> mayoclinic.org
> "It is more complicated than you think." -- RFC 1925
>
>


More information about the Insight-developers mailing list