[gmx-users] assembly loops on Solaris x86 compile

Greg Lukeman glukeman at stfx.ca
Tue Aug 23 20:17:21 CEST 2005

Hi folks,

I'm trying to install Gromacs 3.2.1 on a dual Opteron server (Sun  
v20z) running Solaris 10.  The only way I've been able to get it to  
compile is by using --disable-assembly-loops.  If I try to compile  
with assembly loops, I get the message:

  checking whether as fully supports intel syntax SSE & 3DNow... no
  configure: error: Upgrade to a more recent binutils (or disable  
assembly loops).

This appears whether I have /usr/ccs/bin (Solaris's binutils) or / 
apps/binutils-2.16.1/bin (my installed binutils) in my path.

Any ideas how I can use assembly loops?  Info about my compile  
procedure follows.



[1] Install 32 bit mpich (1.2.7)

setenv MPI_D /apps/mpich-1.2.7_32bit

./configure --with-device=ch_p4 --prefix=${MPI_D}

make install

I checked that stuff created was actually 32 bit with the 'file' and  
'elfdump -e' commands.  It was.

[2] Install FFTW (2.1.5)

setenv FFTW_D /apps/fftw-2.1.5_32bit

set path=(/apps/mpich-1.2.7_32bit/bin /apps/binutils-2.16.1/bin $path)
setenv CFLAGS '-fast -I${MPI_D}/include -L${MPI_D}/lib'
setenv FFLAGS '-fast -I${MPI_D}/include -L${MPI_D}/lib'

./configure --prefix=${FFTW_D} --enable-float --enable-type-prefix -- 

make install

[3] Install GROMACS (3.2.1)

setenv CFLAGS     '-fast -I${MPI_D}/include -I${FFTW_D}/include -L$ 
{MPI_D}/lib -L${FFTW_D}/lib'
setenv FFLAGS     '-fast -I${MPI_D}/include -I${FFTW_D}/include -L$ 
{MPI_D}/lib -L${FFTW_D}/lib'
setenv CPPFLAGS '-I${MPI_D}/include -I${FFTW_D}/include'
setenv LDFLAGS     '-L${MPI_D}/lib -L${FFTW_D}/lib'

./configure --prefix=/apps/gromacs_32  --enable-mpi --program- 
suffix=_mpi --disable-x86-asm

make install


Greg Lukeman
St. Francis Xavier University | hpcLAB
+1.902.867.2476         hpclab.stfx.ca

More information about the gromacs.org_gmx-users mailing list