After being able to build with GCC, I tried to add OpenMP support:

[root@login002 freesurfer-dev-20120106]# ./configure --enable-openmp -disable-
all-apps  --with-mni-dir=/export/minc-1.4/ --with-vxl-dir=/export/vxl-1.13.0 
--prefix=/scratch/mtobias/freesurfer-dev-gcc-openmp
...
(Note: Mac OS X doesn't use crypt)
checking for nccreate in -lnetcdf... no
configure: error: FATAL: netcdf lib not found. Set LDFLAGS or --with-mni-dir.

I don't believe there's a problem with the library:

[root@login002 freesurfer-dev-20120106]# ls /export/minc-1.4/lib
libEBTKS.a   libminc.a   libnetcdf.a     libvolume_io.la  perl5
libEBTKS.la  libminc.la  libvolume_io.a  mni_autoreg

[root@login002 freesurfer-dev-20120106]# nm /export/minc-1.4/lib/libnetcdf.a  
| grep nccreate
000000000000028d T nccreate

and if I eliminate the "--enable-openmp" flag it configures fine.

Depending on how well FreeSurfer is parallelized, OpenMP could be a great 
benefit for us here, but if it doesn't work too well, or isn't really 
supported, I can move on to try other things.

Cheers,
Malcolm

-- 
Malcolm Tobias
314.362.1594

_______________________________________________
Freesurfer mailing list
[email protected]
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.

Reply via email to