External Email - Use Caution
Thank you for information of build parameter at CentOS6 packages archive.
I also remember. Ubuntu 18.04 Default gcc/g++/gfortran compiler is now version 7.3.0-27. Therefore, at the compilation of freesurfer in Ubuntu 18.04, I have installed gfortran-4.8 packages in addition to install gcc-4.8 and g++-4.8 packages. And I set default compiler of fortran change to gfortran-4.8. sudo apt-get install gcc-4.8 g++-4.8 gfortran-4.8 libgfortran-4.8-dev sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-4.8 50
With the old configure/automake tools, I used the following configure command on a CentOS7 machine (release 7.4.17-8) to build with the 5.0.35 Cuda distribution with the CentOS6 packages archive. (My cuda 5 distribution was installed under /home/osboxes/unzip/centos6-x86_64-packages/CUDA/5.0.35-rh5).
$ ./configure -disable-Werror -enable-fermi-gpu -with-cuda=/home/osboxes/ unzip/centos6-x86_64-packages/CUDA/5.0.35-rh5 -with-pkgs-dir=/home/osboxes/ unzip/centos6-x86_64-packages
My understanding is you need to use the -enable-fermi-gpu configure option.
I have not yet tried building with cuda in the new cmake build with the new packages archive (see previous thread postings with Christian). Please be aware that the automake build may no longer be as up to date as the cmake build, and we also do not technically support building with cuda.
----------------------------------------- 地方独立行政法人 秋田県立病院機構 秋田県立脳血管研究センター 放射線医学研究部 研究員 中村 和浩 018-833-0115 ext.769 Email: knam@akita-noken.jp