- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
any idea , explanation ?
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
$ 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does "uname -a" say? Which ifort compiler are you using - one under /fc or one under /fce?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
$ 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But it's work fine with others codes of the same kind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK it's run fine on 64 bit.
Moreover I didn't have to recompile the code with ifort for the 64bit
Thanks
Moreover I didn't have to recompile the code with ifort for the 64bit
Thanks

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page