gmake errors: gmake: *** virtual memory exhausted. Stop. ..

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
feroda

gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#1 Unread post by feroda »

Hi all, I use "gmake" for roms3.0 on IBM AIX 6000, and errors appears as follows:

d35n01:/dgpfs/fs1/wangdk/roms3 $ gmake
makefile:230: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
gmake: svnversion: Command not found
gmake: *** virtual memory exhausted. Stop.


Could you tell me what the errors mean and how to solve them?

btw, I check the Compilers file and cann't find make_macros.mk

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#2 Unread post by kate »

I think your main problem is the gmake version - you need version 3.81

Code: Select all

cygnus.arsc.edu 574% make --version
GNU Make 3.81
I can successfully run on an IBM AIX system.

feroda

#3 Unread post by feroda »

Hi Kate! thanks a lot for your valuable reply. The gmake version I use is
3.80. I wii ask the IBM controller if he could insall the 3.81 gmake version for my specific requireness.

d35n01:/dgpfs/fs1/wangdk $ gmake --version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


However,
d35n01:/dgpfs/fs1/wangdk/roms3 $ which svnversion
which 0652-141 there is no svnversion in /user/lpp/. ....

As to the above informations, should I also need an svnversion in th IBM?


By the way, does the file "make_macros.mk" appear after the compile
successfully copmplished?

Many thanks!

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#4 Unread post by kate »

I believe the svn line is a warning, not an error. If it's an error, comment it out in the makefile.

The last step in compiling removes that other file:

Code: Select all

mpxlf95_r -qsuffix=f=f90 -qmaxmem=-1 -qarch=pwr4 -qtune=pwr4 -O3 -qstrict  -bmaxdata:0x70000000 Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o -o oceanM  Build/libNLM.a Build/libANA.a Build/libICE.a Build/libUTIL.a Build/libMODS.a -L/usr/local/lib -lnetcdf
rm -f -r /gpfsu/u1/uaf/kate/kate_branch/Compilers/make_macros.mk

angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#5 Unread post by angelolemos »

I found a similar error:

/afs/posseidon.dern.ufes.br/usr/angelolemos/src# gmake
makefile:235: INCLUDING FILE /afs/posseidon.dern.ufes.br/usr/angelolemos/src/Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
gmake: *** virtual memory exhausted. Stop.

How can I solve that?

Thanks!

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#6 Unread post by kate »

I have seen that error with an older version of gmake. What version do you have? See above.

feroda

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#7 Unread post by feroda »

Just as what Kate said that gmake3.81 instead of gmake3.80 is necessary for the present version on IBM AIX. I am very lucky to get the gmake3.81 from Kate couple years ago and put it in my home directory. Everything goes pretty well.

angelolemos
Posts: 34
Joined: Wed Mar 11, 2009 4:24 pm
Location: UFES

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#8 Unread post by angelolemos »

People,
I checked it. My version is:

GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Nevertheless the problem persists:
/afs/posseidon.dern.ufes.br/usr/angelolemos/src# gmake makefile
makefile:235: INCLUDING FILE /afs/posseidon.dern.ufes.br/usr/angelolemos/src/Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
gmake: *** virtual memory exhausted. Stop.


Somebody have any ideia?

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#9 Unread post by kate »

I have:

Code: Select all

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is newer than yours - you need to get this version too.

I wish most problems were this easy to fix.

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#10 Unread post by m.hadfield »

feroda wrote:Just as what Kate said that gmake3.81 instead of gmake3.80 is necessary for the present version on IBM AIX. I am very lucky to get the gmake3.81 from Kate couple years ago and put it in my home directory. Everything goes pretty well.
Can anyone suggest how I might obtain Gnu make 3.81 or 3.82 for AIX?

Code: Select all

$ uname -a
AIX f2n7 3 5 00CD7D244C00
I tried to build 3.81 and 2.82 from source with gcc and then xlc and ran into errors (which I won't list here unless asked).

Do you have a binary, Kate?

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#11 Unread post by kate »

Stolen straight from an NCAR IBM, the only one I have access to these days. See attached (just rename it back to gmake).
Attachments
gmake.txt
gmake for IBM
(391.87 KiB) Downloaded 399 times

User avatar
m.hadfield
Posts: 521
Joined: Tue Jul 01, 2003 4:12 am
Location: NIWA

Re: gmake errors: gmake: *** virtual memory exhausted. Stop. ..

#12 Unread post by m.hadfield »

kate wrote:Stolen straight from an NCAR IBM, the only one I have access to these days. See attached (just rename it back to gmake).
Thanks. Works a treat!

Post Reply