From: James C. Tsiao (jjctc@lhdsy1.lahabra.chevron.com)
Date: 03/11/93


From: jjctc@lhdsy1.lahabra.chevron.com (James C. Tsiao)
Subject: [Q] What is "Exec format error. Wrong Architecture"?
Date: 11 Mar 1993 16:11:20 GMT


Dear Linuxers,

Currently I'm trying to port some fortran programs onto
my Linux machine. I've run into an error that I cannot
resolve. Basically, the fortran program dimensions some
rather large arrays. The program runs with one set of
array size, but if I increase the array size by 1 Meg,
then the program will not run. Instead it produces the
following error:

plog: Exec format error. Wrong Architecture.

"Plog" is the name of the program. On the working (smaller)
version, 'size plog' gives:

text data bss dec hex
425984 86016 49308736 49820736 2f83440

On the non-working version, 'size plog' gives:

text data bss dec hex
425984 86016 53308736 53820736 3353d40

A 'free' produces:

        total: used: free: shared: buffers:
Mem: 15671296 12468224 3203072 3330048 6291456
Swap: 134184960 0 134184960

I have 16M RAM on the motherboard and 8 16M swap partitions.
I'm running SLS 1.0 linux 0.99pl2 from January.

I would appreciate any help in explaining the error and/or
resolving this problem.

Thanks,

James.

-- 
jjctc@lhdsy1.lahabra.chevron.com     |   The shortest distance between
jtsiao@netcom.com                    |   two puns is a straight line.
                                     |
James C. Tsiao                       |