ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by neruocomp » Thu Sep 08, 2011 7:19 pm

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
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by Alain_Jacques » Mon Sep 12, 2011 3:42 pm

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

neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by neruocomp » Mon Sep 12, 2011 5:23 pm

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
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by Alain_Jacques » Mon Sep 12, 2011 8:47 pm

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

neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by neruocomp » Mon Sep 12, 2011 11:08 pm

Yup, only the latest cpus have SSE4 Check http://software.intel.com/en-us/article ... mizations/
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

neruocomp
Posts: 9
Joined: Wed Sep 07, 2011 8:25 pm

Re: ABINIT 6.4.3 x86_64 Linux binaries: Illegal Instruction

Post by neruocomp » Wed Sep 14, 2011 5:08 pm

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.
Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters

Locked