Hi everyone
I am trying to compile LIGGGHTS-3.5.0 in cluster with following configuration:
uname -m
x86_64
echo $WM_ARCH
linux64
icc --version
icc (ICC) 11.1 20100806
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
gcc --version
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cat /proc/version
Linux version 2.6.32.12-0.7-default (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP 2010-05-20 11:14:20 +0200
While compiling by icc compiler for Makefile.altix (as attached), every time I get the following error at the end:
ld: granular_styles.o: invalid string offset 15319442 >= 96 for section `.shstrtab'
ld: granular_styles.o: invalid string offset 21561380 >= 96 for section `(null)'
granular_styles.o: file not recognized: File format not recognized
make[1]: *** [../lmp_altix] Error 1
make[1]: Leaving directory `/lustre/scratch/rsoni/LIGGGHTS/LIGGGHTS-PUBLIC-350/src/Obj_altix'
make: *** [altix] Error 2
Can anyone help me resolve the error and what is really causing the error?
Thanks in advance.
rahulsoni | Wed, 12/21/2016 - 14:09
Closing
It was because of icc version. May be older version or what.
I somehow managed to install with g++ compiler.