f



Cannot run Fortran program on AIX: not enough memory

What can I do when I get this message on my AIX machine when I invoke
the Fortran program?

exec(): 0509-036 Cannot load program ./hidutydrv because of the
following errors


        0509-026 System error: There is not enough memory available
now.

Thanks, and please also respond to my email address:

Dan

McKINLdj@westinghouse.com
0
McKinldj (17)
1/17/2008 9:56:21 PM
comp.unix.aix 10963 articles. 1 followers. drkirkby (98) is leader. Post Follow

2 Replies
404 Views

Similar Articles

[PageSpeed] 21

McKinldj@westinghouse.com wrote:
> What can I do when I get this message on my AIX machine when I invoke
> the Fortran program?
> 
> exec(): 0509-036 Cannot load program ./hidutydrv because of the
> following errors
> 
> 
>         0509-026 System error: There is not enough memory available
> now.
> 
> Thanks, and please also respond to my email address:
> 
> Dan
> 
> McKINLdj@westinghouse.com

1) Did you check the size of your code at run time ?
size executable_name
and "man size" for details.

2) Did you check your resources limits on this host ?
ulimit -a

3) In AIX an executable cannot exceed 128MB in RAM if you do not use 
specific options with xlf.
  - Look at the -bmaxdata option in xlf manual if your code/AIX kernel 
is 32 bits
  - Use -q64 option with xlf if your AIX kernel is 64bits.

Patrick
0
1/18/2008 9:10:03 AM
Patrick Begou wrote:
> McKinldj@westinghouse.com wrote:
>> What can I do when I get this message on my AIX machine when I invoke
>> the Fortran program?

Did the program ever work on any system?  If so, what differences exist
between that system and this one?

What OS level?  How was the program built?

This is most likely a ulimit problem.

>> exec(): 0509-036 Cannot load program ./hidutydrv because of the
>> following errors
>>
>>
>>         0509-026 System error: There is not enough memory available
>> now.

This error means that there isn't enough working storage available
(real memory + paging space) to meet the needs of the program.  I.e.
it's a resource issue.

>> Thanks, and please also respond to my email address:

Um, no.  That's not the way the usenet groups work.

> 1) Did you check the size of your code at run time ?
> size executable_name
> and "man size" for details.

Better to use dump -hov and examine the header.  Section sizes
do not tell the whole store for maxdata programs.

> 2) Did you check your resources limits on this host ?
> ulimit -a

Use data = -1 to set your data limits to unlimited in the file
/etc/security/limits.  The limit affects every subsequent login.
No, you can't do this live (using the ulimit command).

> 3) In AIX an executable cannot exceed 128MB in RAM if you do not use 
> specific options with xlf.

Um, no.  The 128 MB refers to the default ulimit data limit.  Programs,
when built, by default are limited to just less than a segment of data
for the heap and static data (segment 2), approximately 250 MB.  Maxdata
programs have larger spaces.

>  - Look at the -bmaxdata option in xlf manual if your code/AIX kernel is 
> 32 bits

maxdata is discussed with linker options, and the very large program
memory model is discussed in the General Programming Concepts: Writing 
Programs book.

>  - Use -q64 option with xlf if your AIX kernel is 64bits.

You don't need a 64-bit kernel to build and run 64-bit programs, you
need 64-bit hardware.  AIX has provided support for 64-bit apps since
AIX 4.3 using a 32-bit kernel.

-- 
-------------------------------------
http://www.photo.net/photos/garyrhook
Vocatus atque non vocatus deus aderit
0
ghook (58)
1/21/2008 8:15:20 PM
Reply:

Similar Artilces:

Building programs on AIX 5 and running them on AIX 4.3
Hello, Can anyone tell me if it it is possible to build softwares on AIX 5 (either with gcc or aix cc), and run them on AIX 4.3 ? If so, what are the compilation options needed ? Christophe. Christophe Leitienne wrote: > Hello, > > Can anyone tell me if it it is possible to build softwares on AIX 5 > (either with gcc or aix cc), and run them on AIX 4.3 ? > If so, what are the compilation options needed ? Possibly, if you staticly linked everything, but this sort of thing is usually a lot more problematic than initially thought. You really want to build at the same level ...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304732416)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304732416) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304157603)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304157603) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304732416)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304732416) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexible schedule must be able to work 1st or 2nd shift any day of the week . Self-started no time for OJT. Extra points TCP IP, Oracle, DB2 database admin, complex networks. Please send your current resume in confidence to "Karen Lehman" <klehman@eurosoft-inc.com> ..45304732416. ...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304432405)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304432405) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45303832413)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45303832413) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexible schedule must be able to work 1st or 2nd shift any day of the week . Self-started no time for OJT. Extra points TCP IP, Oracle, DB2 database admin, complex networks. Please send your current resume in confidence to "Karen Lehman" <klehman@eurosoft-inc.com> ..45303832413. ...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304432405)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304432405) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexible schedule must...

Compile C on AIX 5.3 and run on AIX 4.3.3
We are running AIX 5.3 (64 bit kernal). We develop using the IBM XL C compiler version 7. For one site we need to run on AIX 4.3.3. Can we compile on AIX 5.3 and run on AIX 4.3.3? Loial wrote: > For one site we need to run on AIX 4.3.3. Can we compile on AIX 5.3 > and run on AIX 4.3.3? No. The general rule is that you compile and build on the earliest level you need to support. Is it not possible to set compiler options to generate code that will run on AIX 4.3.3? On 13 Feb, 15:11, "Gary R. Hook" <n...@nospammers.net> wrote: > Loial wrote: > > For one site...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45303583160)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45303583160) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexible schedule must be able to work 1st or 2nd shift any day of the week . Self-started no time for OJT. Extra points TCP IP, Oracle, DB2 database admin, complex networks. Please send your current resume in confidence to "Karen Lehman" <klehman@eurosoft-inc.com> ..45304132401. ...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304457606)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304457606) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401)
US-TX-Austin: Application Developer-AIX, AIX, UNIX; 7M (45304132401) ==================================================================== Position: Application Developer-AIX Reference: MKL00780 Location: Austin TX Duration: 7M Skills: AIX UNIX Scope: Unix AIX preferred system admin skills and experience. Experience configuring all types of servers, storage and networks. Excellent written communication skills must be able to clearly describe a problem and resolution status Flexibl...

Ovrlay & not enough memory to run this program
Hi, > I have a .pas file that is linked with other which uses functions of > Ovrlay. I want to compile it and generate a .exe file but the compiler > stops when detect the OvrInit function in the other module .pas linked > with my first .pas file. > I use Borland Turbo Pascal 7.0 for compiling it. I have a folder with > the .pas files and .tpu files which are relation with the file I want > to do the executable file. What have to be the configuration of the > directories in Option->Directories?? I only have as Directory Name the > folder with the .p...

aix memory usage
Hi all, I am testing (memory consumption) a C++ application across different platforms (aix windows solaris linux). I found interesting/confusing results. I configured application on all platforms equally, i.e. it holds same amount of information in memory across all platforms. I found large difference in memory consumption between the pltforms. To hold X amount of information aix - process's total mem footprint (SZ + RSS of ps command): 90920+89064 (175 MB) solaris - process's total mem footprint (SZ + RSS of ps command): 4266+31176 (34 MB) It is very huge difference across plat...

Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ??
Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ?? Regards Bryan Webb On Fri, 8 Jul 2005 bww00amdahl@yahoo.com wrote: > Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ?? We are still running 5.1 here at work and planning to go directly to 5.3 later on this year. -- Matt Nothing great was ever accomplished without _passion_ bww00amdahl@yahoo.com wrote: > Looking for AIX 5.2 binaries, IS anyone running Ruby on AIX 5.2 ?? > We are running ruby 1.8.3 on AIX 5.2. It's more easier to build ruby on AIX with the 1.8.3 version. But you will ha...

Cannot run a 64-bit program in AIX 5.3
Would appreciate help. Tried to smitty restart64. No luck what so ever > oslevel -s 5300-12-01-1016 > uptime exec(): 0509-036 Cannot load program /usr/bin/w64 because of the following errors: 0509-033 Cannot run a 64-bit program until the 64-bit environment has been configured. See the system administrator. > vmstat 1 3 exec(): 0509-036 Cannot load program vmstat because of the following errors: 0509-033 Cannot run a 64-bit program until the 64-bit environment has been configured. See the system administrator. > bootinfo -K 64 genkex |grep 64 438c000 1218 /etc/pw-syscall.64bit_kernel 439c000 398 /usr/lib/drivers/syscalls64.ext 413d000 16448 /usr/lib/drivers/pse/xtiso ...

Installing 10gR2 in UNIX AIX While 8i Databases are Running
I have four 8i databases running on UNIX AIX 5.2. I want to install Oracle Server 10.2.0.1 while the databases continue to run as 8i. I do not want to shut them down during the install. About a week after the install I will upgrade the databases from 8i to 10g. The Oracle Database Installation Guide says on page 2-35 (items 7 and 8) to edit the oracle user's shell startup file (.profile in the Korn shell). I am to add "umask 022" and to comment out the settings for variables ORACLE_SID, ORACLE_HOME, and ORACLE_BASE. Doing this means the changes in .profile will apply to all new UNIX sessions for the "oracle" user. I do not want that to happen. I want those changes to apply only to the session of user "oracle" who is doing the 10g install. Is is safe for me to make these four changes at the command line of my UNIX session instead of in .profile? I would enter: umask 022 unset ORACLE_SID unset ORACLE_HOME unset ORACLE_BASE If I am wrong in my thinking, is there another way to install 10g will allowing my databases to continue to run as 8i? Thank you, Bill On Jan 26, 2:15 pm, bfoga...@gaports.com wrote: > I have four 8i databases running on UNIX AIX 5.2. I want to install > Oracle Server 10.2.0.1 while the databases continue to run as 8i. I do > not want to shut them down during the install. About a week after the > install I will upgrade the databases from 8i to 10g. > > The Oracle Database Installation Guide says on p...

Running an Unix script/Aix with the FTP provided under Windows XP
hello, I'm trying to run an Unix script (Aix) with the ftp.exe command provided under Windows XP. Do you know the appropried command ? I dont't find it with the "remotehelp" command. Can you help me ? Thank you Thierry wrote: > hello, > > I'm trying to run an Unix script (Aix) with the ftp.exe command provided > under Windows XP. Do you know the appropried command ? I dont't find it with > the "remotehelp" command. > > Can you help me ? QUOTE HELP QUOTE SITE HELP QUOTE SITE EXEC ...

Difference between HP Unix and Unix AIX
What are the difference between HP Unix and HP AIX at command line ??? Is there any ? dlprogress wrote: > What are the difference between HP Unix and HP AIX at command line ??? > Is there any ? > > Unless you're getting into system dependent stuff, no, there's no real difference. However, one real difference is that AIX is an IBM and not an HP product. -- Fletcher Glenn ...

Unix AIX
What is the best way to clear semaphores and shared memory, sometimes we run those ipcs and ipcrm commands but some of them do not go away and the server hangs, i would apprecaite a list of commands for unix aix, we are on version 6.1 Thanks!! SAPUNIX wrote: > What is the best way to clear semaphores and shared memory, sometimes > we run those ipcs and ipcrm commands but some of them do not go away > and the server hangs those who do not go away, are they really not in use anymore? In comp.unix.aix, Sven Mascheck <mascheck@email.invalid> wrote: >SAPUNIX wrote: >> What is the best way to clear semaphores and shared memory, sometimes >> we run those ipcs and ipcrm commands but some of them do not go away >> and the server hangs > >those who do not go away, are they really not in use anymore? My experience is if they don't go away from properly formatted ipcs / ipcrm commands, it's because they're tied to processes which are hung waiting on kernel threads (and basically, defunct). In which case you need to kill the owning process (which is already dead, and which probably won't respond to a kill -9 since it's stuck in a kernel thread) or reboot the box. SAP is the worst offender in this regard IME. It's the only app I've ever known people have to constantly clear down shared memory / semaphores for when it doesn't shut down cleanly. -- Tony Evans Saving trees and wasting electrons since 1993 blog...

putenv for AIX and ifdef for AIX
I have read several posts about putenv is not Standard C. But I'm wondering if anyone knows if it is available in AIX. All of our other platforms (linux (32 and 64 bit), sgi, hpux, x86, darwin (intel and mac), interix and sun) behave properly for our application. We found that if we run this command prior to running the application, it works correctly: set LDR_CNTRL=MAXDATA=0x80000000;export LDR_CNTRL Our problem is that we start a parent process that spawns the child application. If we set the LDR_CNTRL=MAXDATA prior to starting the parent process, other child applications are faili...

Problem with memory (unix) allocation to JVM running Java program
I'm attempting to run a very simple Java program on unix box usingcommand:java -jar HelloWorld.jarand experience the following errorError occurred during initialization of VMCould not reserve enough space for object heapCould not create the Java virtual machine.If I run the "top" and "free" unix commands I can't see why theremight be a problem freeing up memory to allocate to the JVM, unlessI'm missing something obvious. Any ideas please help. Thanks.See below for "top" and "free" output:top:top - 07:57:22 up 21 days, 14:42, 3 users, load ...

US-MI-Auburn Hill: AIX Eng., 3-5yrs exp., UNIX, AIX, Applied Engineering; 3M (45333732408)
US-MI-Auburn Hill: AIX Eng., 3-5yrs exp., UNIX, AIX, Applied Engineering; 3M (45333732408) ========================================================================================== Position: AIX Eng. Reference: SMC01843 Location: Auburn Hill MI Duration: 3M Skills: UNIX 3-5 YEARS exp AIX Applied Engineering Requirements determination Scope: Taking requirements from AIX servers, developing Build documentation and creating work orders. Please send your current resume in c...

Web resources about - Cannot run Fortran program on AIX: not enough memory - comp.unix.aix

Fortran - Wikipedia, the free encyclopedia
.f , .for , .f90 , .f95 and is the language used for programs that benchmark and rank the world's fastest supercomputers . Fortran encompasses ...

ForTran: Formula Translator on the App Store on iTunes
Get ForTran: Formula Translator on the App Store. See screenshots and ratings, and read customer reviews.

LLVM to get FORTRAN compiler that targets parallel GPUs in clusters
... it had established a partnership with NVIDIA that would be enhancing the LLVM compiler collection. The goal will be to port an existing FORTRAN ...

Sun's Fortran replacement goes open-source
Good-bye Fortran, hello Fortress? Server maker seeks open-source help building alternative to decades-old programming language. A CNET article ...

You Can Write FORTRAN in any Language
We've seen that the cultures of VB and C# are very different. And we've seen that this is no fault of the programmers that use them. Rather this ...

P.W. Singer on "Soldiers of Fortran," i.e. robots that kill people
That there is an X-Box. That there is six of the reported 17,000+ military robots that the U.S. operates, including a scary-ass robot-speedboat-gunship ...

NAG Fortran Compiler now supports OpenMP
NAG Fortran Compiler now supports OpenMP

Fortran creator John W. Backus passes away at age 82
The New York Times is reporting that John W. Backus, who led the team at IBM that developed the Fortran programming language, died Saturday at ...

Home · jerryd/gtk-fortran Wiki · GitHub
Fortran 95 GTK+ Interface Modules. Contribute to gtk-fortran development by creating an account on GitHub.

Liquid-proof HPR-3 Robot Doesn't Run on Olde Fortran
Here's HPR-3 Promet Mark II, a 160cm-tall robot that can probably snap your spine if you don't get him a beer case every day. The new 149-pound ...

Resources last updated: 3/26/2016 7:02:35 PM