- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: FORTRAN Runtime ERROR: Memory allocation fa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 03:04 AM
тАО05-10-2005 03:04 AM
Getting memory errors with a fortran f90-program.
The progamm uses "allocated arrays".
When increasing memory values the programm crashes with
FORTRAN Runtime ERROR:
Memory allocation failed
SHMMAX already set to 2GB
Processes with a more than 1G size always fail any thing below 1G works ok.
Machine is 9000/785/J6750 with 8GB physical memory with hpux 11.11 on it, when fortran process is running i could see 6G still free.
Any help ? any other Kernel parameter needs increasing ?
Thanks,
k. girsch
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 03:14 AM
тАО05-10-2005 03:14 AM
SolutionWhich version of F90 is it
Which is latest patch
How much swap do you have
Normally will work if
a)swapinfo -tam
shows more than the program needs
and the space is available.
(
NOTE:size program
gives an indication of the run time size
b)maxdsiz_64bit is sufficient to accomadate the program .
See
ftp://eh:spear9@hprc.external.hp.com/memory.htm
To help you check your memory usage
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 03:14 AM
тАО05-10-2005 03:14 AM
Re: FORTRAN Runtime ERROR: Memory allocation failed
How do you start it?? From shell?? Post following.
ulimit -Sa and ulimit -Ha
Also, you may want to run that program with tusc and see what exactly happens??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 03:19 AM
тАО05-10-2005 03:19 AM
Re: FORTRAN Runtime ERROR: Memory allocation failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 03:28 AM
тАО05-10-2005 03:28 AM
Re: FORTRAN Runtime ERROR: Memory allocation failed
dont know the fortran version.
# swapinfo -ta
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 16777216 0 16777216 0% 0 - 1 /dev/vg00/swap
reserve - 482464 -482464
memory 6469976 625676 5844300 10%
total 27441496 1108140 26333356 4% - 0 -
maxdsiz - 2147483648
maxdsiz_64bit -17179869184
The fortran program is complied on 64bit hpux.
The program starts in shell.
# ulimit -Sa
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024
# ulimit -Ha
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 1024
Thanks in adv,
Zee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 04:21 AM
тАО05-10-2005 04:21 AM
Re: FORTRAN Runtime ERROR: Memory allocation failed
Run this command and post the results:
chatr your.exe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 06:58 PM
тАО05-10-2005 06:58 PM
Re: FORTRAN Runtime ERROR: Memory allocation failed
memory limitations are well explained at
ftp://eh:spear9@hprc.external.hp.com/memory.htm
If you see ├в out of memory├в or ├в not enough space├в when running an application, and there is pleny of free swap space then the application may be requesting shared memory or may be mapping files to memory (with shmget() and mmap() system calls respectively) and the problem may due to 32-bit memory limitation/contention and the options are...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 07:32 PM
тАО05-10-2005 07:32 PM
Re: FORTRAN Runtime ERROR: Memory allocation failed
tf3d-nhs-O2.x:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib//libcl.2
dynamic /usr/lib//libc.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
third quadrant global data space disabled
data page size: D (default)
instruction page size: D (default)
nulptr references disabled
shared library private mapping disabled
shared library text merging disabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 08:54 PM
тАО05-10-2005 08:54 PM
Re: FORTRAN Runtime ERROR: Memory allocation failed
re-complied with 64 bit compiler, and seems ok now .