[MINC-users] Running MNI software on SGI Intel 64bits LinuxMachine (IA64)

??? hpkim@bme.hanyang.ac.kr
Mon Mar 7 19:36:04 2005


Dear Morgan,

I am trying to build almost every tool from MNI (public or private). And I
found that there are numerous problems out there for compiling, installing,
and running MNI Software and needed libraries on GNU/Linux/x86/x86_64
combinations. I hope that people have more interest in Intel/GNU/Linux
boxes. :)

#########################################
F.Y.I. from my personal correspondence:

We had to patch:

N3 -> extracttag.c
. "-mintags", ARGV_LONG, (char *) NULL, (char *) &min_tags, . . "-maxtags",
ARGV_LONG, .

Also, the following should be patched
minc 1.3 -> image_conversion.c line 680~
/* Check for image dimension properties */
     if ((icv_property>=MI_ICV_DIM_START) && 
               (icv_property<MI_ICV_DIM_START+MI_MAX_IMGDIMS)) {
         idim = icv_property - MI_ICV_DIM_START;
         *value = icvp->derv_dim_start[idim];
      }
      else if ((icv_property>=MI_ICV_DIM_STEP) &&
               (icv_property<MI_ICV_DIM_STEP+MI_MAX_IMGDIMS)) {
         idim = icv_property - MI_ICV_DIM_STEP;
         *value = icvp->derv_dim_step[idim];
      }
      else if ((icv_property>=MI_ICV_DIM_SIZE) &&
         (icv_property<MI_ICV_DIM_SIZE+MI_MAX_IMGDIMS)) {
         idim = icv_property - MI_ICV_DIM_SIZE;
         *value = icvp->user_dim_size[idim];
      }


......

CGAL 2.4 package for mni_surfreg. However I needed additional patch again to
work around a problem. That seems to be compatibility problems between
IRIS(n32? n64?) and GCC/G++.

I had to link following object for building shared library to work around
'hidden symbols not found in libCGAL.so error'. This might not be safe.

static void init(){}
static void fini(){}
static void preinit(){}

typedef void (*fp)();
fp __init_array_start[]={init};
fp __init_array_end[]={init};
fp __fini_array_start[]={fini};
fp __fini_array_end[]={fini};
fp __preinit_array_start[]={preinit};
fp __preinit_array_end[]={preinit};
############################################

And some of the software working on x86_32 machine does not work properly on
an IA64 machine.

Regards,
Phil.


|-----Original Message-----
|From: minc-users-admin@bic.mni.mcgill.ca [mailto:minc-users- 
|admin@bic.mni.mcgill.ca] On Behalf Of Morgan Hough
|Sent: Friday, March 04, 2005 6:49 PM
|To: Hyun-Pil Kim
|Cc: minc-users@bic.mni.mcgill.ca
|Subject: Re: [MINC-users] Running MNI software on SGI Intel 64bits 
|LinuxMachine (IA64)
|
|Phil,
|
|You might be the first person to try this as I think MNI only supports 
|IRIX/MIPS builds for SGIs (I could be wrong). I assume you are 
|downloading the source and using the autoconf build process which you 
|say is working without any errors. Can you say anything more about the 
|differences you have been seeing versus Linux/x86? Which tools have you 
|been building? Do you use the Intel compiler or GCC? Is that a 2.4 or
|2.6 kernel (I have heard they backported 2.6 features to 2.4 for some 
|of their system configurations)?
|
|We are thinking about getting one of these systems and I am interested 
|to hear more about the issues you are having.
|
|Cheers,
|
|-Morgan
|
|--
|Morgan Hough  DPhil student
|FMRIB, John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK 
|mhough@fmrib.ox.ac.uk  www.fmrib.ox.ac.uk/~mhough tel +44 (0) 1865 
|222545  fax +44 (0) 1865 222717
|
|On Tue, 2005-03-01 at 06:14, Hyun-Pil Kim wrote:
|>
|>
|> Recently I've been trying to use MNI tools on a Itanium2 based SGI 
|> Linux machine.
|>
|> (SIG Altix 350) All software and firmware are up-to-date but I don't 
|> get it work correctly.
|>
|> There seems to be no problems while installation, however, I don't 
|> get consistent results with those of 32bit based Fedora boxes. 
|> Anybody have an idea?
|>
|>
|>
|> Regards,
|>
|> Phil
|>
|> *------------------------------------------------*
|> Hyun-Pil Kim,
|> Computational Neuroimage Analysis Lab., Dept. of Biomedical 
|> Engineering, Hanyang Univ.
|> Sungdong P.O. Box 55, Seoul, 133-605, KOREA
|> Tel: +82-2-2290-0697; FAX: +82-2-2296-5943
|> Mobile: +82-19-286-0485
|> E-mail: hpkim at ihanyang.ac.kr; aimtop77 at empal.com
|> *------------------------------------------------*
|>
|>
|>
|
|
|_______________________________________________
|MINC-users@bic.mni.mcgill.ca
|http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users