Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

IFORT 8.1 Killed Message

hicham_tber
Beginner
1,503 Views
Hello, I have a big fortran code that compile fine with ifort. but trying to run it I get : KILLED message. I know that this is due to a memory problem (reducing the size of arrays I obtain any more the message) but I m working on a machine with 8 G of RAM which normally is sufficent to run the code.
any idea , explanation ?
0 Kudos
7 Replies
TimP
Honored Contributor III
1,503 Views
Have you checked on whether you need to increase stack limits? How this is done will depend on your shell, and may require root privilege the first time. I guess you are using a 64-bit system, since a 32-bit system would not normally get any benefit from so much RAM.
0 Kudos
hicham_tber
Beginner
1,503 Views
The station is of 8 processors Intel CPU 3.20GHz i686, and Fedora Core release 5 as OS. I have increased the size of the stack section to unlimited but that dont resolve the problem
$ ulimit -s unlimited
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 147456
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 147456
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
file locks (-x) unlimited

Here is the result of the commande size applied to the executable file
$ size main
text data bss dec hex filename
7452250 222384 3175822556 3183497190 bdc04fe6 main

0 Kudos
Steven_L_Intel1
Employee
1,503 Views
What does "uname -a" say? Which ifort compiler are you using - one under /fc or one under /fce?
0 Kudos
hicham_tber
Beginner
1,503 Views
Here are the results of the commands "uname -a" and "ifort -V"

$ uname -a
Linux taylor 2.6.17-1.2187_FC5smp #1 SMP Mon Sep 11 01:32:34 EDT 2006 i686 i686 i386 GNU/Linux

$ ifort -V
Intel Fortran Compiler for 32-bit applications, Version 8.1 Build 20041019Z Package ID: l_fc_pu_8.1.021
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY

0 Kudos
TimP
Honored Contributor III
1,503 Views
As your ifort compiler is over 2 years old, it is likely to run into incompatibilities with the newer gcc and glibc supplied with FC5. Maybe enough time has elapsed that you would be permitted a fresh non-commercial version. That is not to say this can explain the particular problem you showed.
0 Kudos
hicham_tber
Beginner
1,503 Views
But it's work fine with others codes of the same kind
0 Kudos
hicham_tber
Beginner
1,503 Views
OK it's run fine on 64 bit.
Moreover I didn't have to recompile the code with ifort for the 64bit
Thanks
0 Kudos
Reply