[gmx-developers] gromacs on macbook pro (intel chip) ... or not?

David van der Spoel spoel at xray.bmc.uu.se
Thu Mar 30 09:13:54 CEST 2006


Arnie Hagler wrote:
> I have recently attempted to install gromacs on the newly released 
> Macbook pro (w/ intel chips). I am having a problem w/ binutils. From 
> the config.log file:

Erik has just upgraded some stuff in CVS to make things compatible with 
the Macbook. You could try the CVS version
(cvs co -r release-3-3-patches gmx) or wait for 3.3.1
Using the CVS version you will be forced to upgrade your automake to 1.9 
however (which will not be a problem in the released version).

> 
> configure:26987: checking whether your compiler can handle assembly 
> files (*.s)
> configure:27006: cc -c conftestasm.s
> configure:27009: $? = 0
> configure:27012: result: yes
> configure:27031: checking whether as understands 'lock cmpxchg'
> configure:27051: cc -c conftest.s
> conftest.s:1:Unknown pseudo-op: .intel_syntax
> conftest.s:1:Rest of line ignored. 1st junk character valued 110 (n).
> conftest.s:3:invalid character '[' in first operand
> configure:27054: $? = 1
> configure:27059: result: no
> configure:27061: error: Upgrade to binutils >= 2.12.1 (or disable 
> assembly loops).
> 
> corresponding I believe to the code in configure:
> 
> echo "$as_me:$LINENO: checking whether as understands 'lock cmpxchg'" >&5
> echo $ECHO_N "checking whether as understands 'lock cmpxchg'... $ECHO_C" >&6
>   if test "$enable_x86_64_sse" = "yes"; then
>     cat > conftest.s << EOF
> .intel_syntax noprefix
> checkasm:
>         lock cmpxchg [rsi], ebx
>         emms
>         ret
> EOF
>   else
>     cat > conftest.s << EOF
> .intel_syntax noprefix
> checkasm:
>         lock cmpxchg [esi], ebx
>         emms
>         ret
> EOF
>   fi
> 
> I doubt that the problem is an old version of binutils on this new 
> platform and would prefer not to disable assembly loops.
> 
> Any advice would be greatly appreciated.
> 
> Thanks
> 
> ------------------------------------------------------------------------
> New Yahoo! Messenger with Voice. 
> <http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com> 
> Call regular phones from your PC for low, low rates.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-developers-request at gromacs.org.


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-developers mailing list