[gmx-users] Re: Single precision Compilation error (Tandia, Adama)
Pim Schravendijk
schraven at mpip-mainz.mpg.de
Sat Aug 14 14:25:43 CEST 2004
This seems to be a Tru64 specific problem.
When looking at:
http://www.google.com/search?q=%22cc:+Fatal:+A+memory+access+violation%22
I find, amongst others:
http://ftp.support.compaq.com.au/pub/patches/Digital_UNIX/v4.0a/DIGITAL_UNIX_V4.0A/doc/txt/OSFPAT00044300405.txt
PROBLEM: (QAR 51448) (Patch ID: OSF405-400187)
********
This patch fixes a crash in the DEC C compiler that occurs when compiling
a
structure whose tag is longer than 256 characters. The problem occurs
only
when compiling with debug symbols (-g). Below is an example of a program
that
will cause this crash.
% cat test.c
#define a(x) x##x##x##x##x##x##x##x##x##x##x##x##x##x##x##x
struct a(XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX);
% cc -g test.c
cc: Fatal: A memory access violation (bus error or segmentation fault)
has occurred. Please submit a problem report.
Maybe you should try a newer compiler version.
Greetings, Pim
--
Pim Schravendijk - PhD Student
Max Planck Institute for Polymer Research
http://www.mpip-mainz.mpg.de/~schraven/
>
> Message: 1
> Date: Fri, 13 Aug 2004 15:56:07 -0400
> From: "Tandia, Adama" <TandiaA at Corning.com>
> Subject: [gmx-users] Single precision Compilation error
> To: "'gmx-users at gromacs.org'" <gmx-users at gromacs.org>
> Message-ID:
> <A8976B80EA052A4B8EF816DD3EA0DD0498855F at ROYALOAK.na.corning.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear ALL:
> I was compiling a single precision version 3.2.1 of Gromacs and end up with the following error message.
> Anybody has an idea what is wrong in the setup/compilation/linkage?
>
> cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../include -DGMXLIBDIR=\"/nfs/home/tandia/share/gromacs
> fs/home/tandia/include -std1 -fast -O4 -no_ifo -arch ev67 -unroll 2 -fp_reorder -c `test -f 'discecho './'`discopar.c
> cc: Fatal: A memory access violation (bus error or segmentation fault)
> has occurred. Please submit a problem report.
> make[3]: *** [discopar.o] Error 1
>
> Below are commands for the compilation:
>
> export CPPFLAGS=-I/nfs/home/tandia/include
> export LDFLAGS=-L/nfs/home/tandia/lib
> ./configure -prefix--$HOME
> make
>
> Adama Tandia
> Modeling & Simulation
> Corning INC
> Corning, NY 14831 USA
> Tel: 607 248 1036
> Fax: 607 974 3405
> www.corning.com <www.corning.com>
More information about the gromacs.org_gmx-users
mailing list