Hi, Does anyone have any advice for compiling freesurfer on Linux powerPC architectures?
I've managed to compile a 64-bit version of freesurfer on Linux PowerPC, and I'd be happy to post the documentation for the compile process I used - if I could be sure it would build usable binaries :-( So far, the compiled binaries run in to some fairly basic problems with opening DICOM files. Here's an example using mri_probedicom with the debugging cranked up, trying to open a file that opens fine using the precompiled x86 mri_probedicom binary: # mri_probedicom --i /tmp/s003/E16002S003I00001.dcm DCM Dump Elements Object type: UNKNOWN Object size: 132 DCM Dump Elements Complete Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed 0008 0005 CS 0 000008 ID Specific Character Set newElementItem: CTN_MALLOC 0 152 36214390 5349 5f4f UN 0 000010 newElementItem: CTN_MALLOC 0 152 36214430 3030 0008 UN 0 000018 newElementItem: CTN_MALLOC 0 152 36214540 DCM Dump Elements Object type: ELEMENT LIST Object size: 24 Group: 0008, Length: 8 0008 0005 0 // ID Specific Character Set// Group: 5349, Length: 8 5349 5f4f 0 // //DCM Dump Elements Complete Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed DCM_CloseObject: group 0008 DCM_CloseObject: Element 00080005 DCM_CloseObject: free 36214390 DCM_CloseObject: group 5349 DCM_CloseObject: Element 53495f4f DCM_CloseObject: free 36214430 0800 0500 UN 0 000008 newElementItem: CTN_MALLOC 0 152 36214390 4953 4f5f UN 0 000010 newElementItem: CTN_MALLOC 0 152 36214430 3030 0800 UN 0 000018 newElementItem: CTN_MALLOC 0 152 36214540 DCM Dump Elements Object type: ELEMENT LIST Object size: 24 Group: 0800, Length: 8 0800 0500 0 // //Group: 4953, Length: 8 4953 4f5f 0 // //DCM Dump Elements Complete Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed DCM_CloseObject: group 0800 DCM_CloseObject: Element 08000500 DCM_CloseObject: free 36214390 DCM_CloseObject: group 4953 DCM_CloseObject: Element 49534f5f DCM_CloseObject: free 36214430 Starting DCM_CloseObject ERROR: /tmp/s003/E16002S003I00001.dcm is not a dicom file or some other problem Entering IsDICOM (/tmp/s003/E16002S003I00001.dcm) Opening /tmp/s003/E16002S003I00001.dcm as part10 DCM Dump Elements Object type: UNKNOWN Object size: 132 DCM Dump Elements Complete DCM_FILEOPENFAILED 20092 DCM failed to open file: /tmp/s003/E16002S003I00001.dcm in DCM_OpenFile Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed Opening as littleendian 0008 0005 CS 0 000008 ID Specific Character Set newElementItem: CTN_MALLOC 0 152 36214640 5349 5f4f UN 0 000010 newElementItem: CTN_MALLOC 0 152 36214710 3030 0008 UN 0 000018 newElementItem: CTN_MALLOC 0 152 36214820 DCM Dump Elements Object type: ELEMENT LIST Object size: 24 Group: 0008, Length: 8 0008 0005 0 // ID Specific Character Set// Group: 5349, Length: 8 5349 5f4f 0 // //DCM Dump Elements Complete DCM_FILEOPENFAILED Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed DCM_CloseObject: group 0008 DCM_CloseObject: Element 00080005 DCM_CloseObject: free 36214640 DCM_CloseObject: group 5349 DCM_CloseObject: Element 53495f4f DCM_CloseObject: free 36214710 Opening as bigendian 0800 0500 UN 0 000008 newElementItem: CTN_MALLOC 0 152 36214640 4953 4f5f UN 0 000010 newElementItem: CTN_MALLOC 0 152 36214710 3030 0800 UN 0 000018 newElementItem: CTN_MALLOC 0 152 36214820 DCM Dump Elements Object type: ELEMENT LIST Object size: 24 Group: 0800, Length: 8 0800 0500 0 // //Group: 4953, Length: 8 4953 4f5f 0 // //DCM Dump Elements Complete DCM_FILEOPENFAILED Starting DCM_CloseObject DCM_CloseObject: Legal object and file closed DCM_CloseObject: group 0800 DCM_CloseObject: Element 08000500 DCM_CloseObject: free 36214640 DCM_CloseObject: group 4953 DCM_CloseObject: Element 49534f5f DCM_CloseObject: free 36214710 Opening as format conversion DCM_ILLEGALOPTION Starting DCM_CloseObject Leaving IsDICOM (/tmp/s003/E16002S003I00001.dcm) ERROR: /tmp/s003/E16002S003I00001.dcm is not a dicom file or some other problem This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information.
<<attachment: Tony_Dale.vcf>>
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.