[gmx-users] Re: Gromacs for AMD Opteron

Erik Lindahl lindahl at cbr.su.se
Tue Aug 21 20:54:16 CEST 2007


Hi,

We've supported x86-64 since 2002 or so. There are already handcoded  
x86-64 kernels in the correspodning x86_64_sse directory.

This is just a matter of your system not being recognized correctly  
as x86-64, but ia32 for some reason. First make sure that you are  
really setting -m64 in CFLAGS prior to running configure, and if that  
doesn't work you could try to update the config.sub and config.guess  
from ftp.gnu.org.

In any case - when you run configure one of the very first lines  
should echo the system type. That should be x86-64 and not ia32 when  
your compiler flags are set correctly.

Cheers,

Erik

On Aug 21, 2007, at 8:43 PM, Mithun Sridharan wrote:

> Dear Sirs,
>
> I'm Mithun Sridharan and am employed at Sun Microsystems in Germany.
> I am working on porting Gromacs to Solaris x64 platforms and am  
> currently facing issues in compiling the sources.
> The compilation works well for 32 bit with GCC as well as Sun  
> Studio 12 processors.
>
> However, on compiling with -m64 (for a 64-bit space), the  
> compilation fails for the file nb_kernel330_ia32_sse.s.
> This file contains the assembler intrinsics and I would like to  
> create a similar fole for AMD Opteron based processors as well as  
> for SPARC.
> I would like to know how these assembler files were generated. Was  
> it compiled with -S flag from a C-program or was it manually done  
> by hand?
>
> I am also wondering why the make takes this specific file (32-bit  
> file spec) for 64 bit compilation!
> Another observation is that there is no such file for AMD  
> platforms. Am I to understand that the AMD platforms are not  
> supported?
>
> If not, are there plans to support AMD platform in the future? I've  
> seen good benchmark results on Opteron as Intel processors.
>
> Please let me know if you are interested in the AMD port of the  
> software.
> I'd be glad if you could answer the queries for me to direct  
> efforts on such a port.
>
> Thanks a lot in advance.
>
> -Mithun
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20070821/d829b66c/attachment.html>


More information about the gromacs.org_gmx-users mailing list