Page 1 of 1

ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Thu Sep 08, 2011 7:19 pm
by neruocomp
The binaries available from ETSF.eu do not work. I'm running CentOS 5, 64bit. I've tried it on a Dell workstation with Intel Xeon processors. I try a sample file in the tutorial directory, abinit reads it, then exits with Illegal Instruction. Kernel log shows abinit crashed with invalid optcode. I saw this post about the same issue, but in windows. viewtopic.php?f=2&t=889&hilit=illegal

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Mon Sep 12, 2011 3:42 pm
by Alain_Jacques
The binaries available from ETSF.eu work ... most of the time :roll:

The http://www.etsf.be/downloads/ETSF_softlib/Linux_binaries/abinit-6.4.3_gnu_core2.tar.bz2 package was built on a core2 system. But I just tested it on a
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU L5420 @ 2.50GHz

system (at least with v1t01 and paral/t_kpt+spin) ... no problemo AFAIK. And it should work with Intel gear back to 2006. Would you be so kind to check your CPU brand and to be more specific about the offending test(s).

Cheers,

Al

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Mon Sep 12, 2011 5:23 pm
by neruocomp
Here is /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
stepping : 7
cpu MHz : 2327.500
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 4655.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

There are 8 cores total. As for the file, I just ran one of the files in share/abinit/tutorial/Input. It was t1x.files and I get this:
/opt/abinit-6.8.1_x86_64_linux_gnu4.5/bin/abinit < t1x.files
ABINIT

Give name for formatted input file:
t11.in
Give name for formatted output file:
t1x.out
Give root name for generic input files:
t1xi
Give root name for generic output files:
t1xo
Give root name for generic temporary files:
t1x
leave_test : synchronization done...
Illegal instruction

This is from dmesg: abinit[26192] trap invalid opcode rip:17d1a3d rsp:7fffc77937f0 error:0

I also ran the two input files in share/example and get the same

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Mon Sep 12, 2011 8:47 pm
by Alain_Jacques
hmmm ... at least missing sse4_1 compared to my core2 system - I assumed that 2007 "Xeon" labeled procs had all core2 features, I was wrong sorry . I'll prepare another binary less dependent on "new" cpu features.

Alain

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Mon Sep 12, 2011 11:08 pm
by neruocomp
Yup, only the latest cpus have SSE4 Check http://software.intel.com/en-us/article ... mizations/

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Posted: Wed Sep 14, 2011 5:08 pm
by neruocomp
I'm not sure if its listed, but to build abinit, CentOS 6 is needed. The version of gcc on CentOS 5 is too old. Might be nice to see that on the site.