BTW, we got one report from a sysadmin who has built ccp4
using Clang (Apple compiler 5.0) + gfortran 4.8 from:
http://gcc.gnu.org/wiki/GFortranBinaries#MacOS
So it's likely that at least one lab is using CCP4 built with Clang.
I'm not aware of any benchmarks, though.
Marcin
On Mon, Mar 03, 2014 at 12:04:20PM +0000, Harry Powell wrote:
> Hi
>
> If trying to build on Macs (OSX 10.5 - 10.9) I strongly recommend installing either the High Performance Computing gcc/gfortran or investing in the Intel Compilers.
>
> http://hpc.sourceforge.net/
>
> http://software.intel.com/en-us/intel-compilers (if you have $$$$)
>
> Performance-wise, there's not much to choose between them these days.
>
> Clang just doesn't cut the mustard, and "rolling your own" compilers from the gcc archive can be fraught with difficulty and lead to incorrectly functioning compilers.
>
> On 3 Mar 2014, at 11:08, wu donghui wrote:
>
> >
> >
> > ---------- Forwarded message ----------
> > From: wu donghui <[log in to unmask]>
> > Date: Mon, Mar 3, 2014 at 7:07 PM
> > Subject: Re: [ccp4bb] CCP4-6.4.0 source code building failed in Mac OS X 10.8.5
> > To: Marcin Wojdyr <[log in to unmask]>
> >
> >
> > Dear Marcin,
> >
> > Yes, I set CC=gcc-4.2.1 in cj.rc file or type in command line.
> >
> > As is shown, it can identify gcc for gcc-4.2.1
> >
> > > checking for gcc... gcc-4.2.1
> > > checking whether the C compiler works… no
> >
> > But indicating that the C compiler does not work.
> >
> > I will try Fortran compiler shortly and let you know.
> >
> > Best,
> >
> > Donghui
> >
> >
> >
> > On Mon, Mar 3, 2014 at 5:43 PM, Marcin Wojdyr <[log in to unmask]> wrote:
> > On Mon, Mar 03, 2014 at 01:16:37PM +0800, wu donghui wrote:
> > >
> > > gcc version in my Mac OS X 10.8.5 is as below.
> > >
> > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> > > --with-gxx-include-dir=/usr/include/c++/4.2.1
> > > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> >
> > That's Apple compiler. It supports C and C++ but not Fortran,
> > so you also need a Fortran compiler such as gfortran.
> >
> > > checking for gcc... gcc-4.2.1
> > > checking whether the C compiler works... no
> >
> > Did you set CC=gcc-4.2.1?
> >
> > Marcin
> >
> > --
> > This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
> > Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
> > Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
> > Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
> >
> >
> >
> >
> >
> >
>
> Harry
> --
> ** note change of address **
> Dr Harry Powell, MRC Laboratory of Molecular Biology, Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge CB2 0QH
> Chairman of European Crystallographic Association SIG9 (Crystallographic Computing)
>
>
>
>
>
>
>
>
>
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
|