[gmx-users] mpicc build problems - /usr/bin/ld: BFD 20020207 assertion fail elf-strtab.c:262

Erik Lindahl lindahl at csb.stanford.edu
Thu Mar 11 16:38:00 CET 2004

Hi Cliff,

elf-strtab.c isn't a Gromacs file, and probably not mpicc either; from 
the name I would guess it belongs to the system libraries since ELF is 
the default execution object format on Linux.

On Mar 11, 2004, at 3:50 PM, Cliff Addison wrote:

> Dear All: I am trying to build the mpi version of gromacs-3.2.1 to 
> work with the local MPI on our Beowulf cluster (mpich-1.2.4 built on 
> top of  SCore 5.4.0) and am running into the above linker problem. I 
> get an executable, but am given a "No such file or directory" message 
> when I attempt execution.
> Some relevant background:
> Linux:                 2.4.20-18.9smp (Redhat 9)
> C compiler:         gcc version 2.96 20000731 (Red Hat Linux 7.3 
> 2.96-110)
> ld version:           GNU ld version 20020207

Your compiler is much older than your Linux distribution (2.96 is the 
redhat-branded-beta-of-gcc3-with-lots-of-bugs version), so you might 
need to upgrade to gcc3.

I haven't tried the Portland compilers in the last 1-2 years, but at 
that time they did a lot of stupid stuff like claiming to be gcc 
(defining _GNUC_) but they still didn't understand gnu-specific things 
like inline assembly (which you of course check for with #ifdef 



More information about the gromacs.org_gmx-users mailing list