[MITgcm-support] makedepend: error
Matthew Mazloff
mmazloff at MIT.EDU
Mon Sep 15 19:27:31 EDT 2008
It worked!
Thanks Patrick
On Sep 15, 2008, at 4:09 PM, Patrick Heimbach wrote:
>
> Hi Matt,
>
> haven't followed this thread,
> but I think you are using this in the wrong way.
> Way to do it is
>
> 1.
> go to
> tools/cyrus-imapd-makedepend/
> In this directory only do the following two commands
> (no need to change any files):
>
> ./configure
> make
>
> 2.
> go back to your build-dir.
> From here do
> ../../../tools/genmake2 -makedepend ../../../tools/cyrus-imapd-
> makedepend/makedepend -of ...etc...
>
> Should work.
> I am frequently getting this now since we've exeeded MAXFILES
> from standard makedepend installations on quite a few platforms.
>
> -p.
>
> On Sep 15, 2008, at 6:01 PM, Matthew Mazloff wrote:
>
>> Hi Constantinos,
>>
>> I must be doing something wrong here. I go to tools/cyrus-imapd-
>> makedepend/
>> and pick MAXFILES in def.h
>> I raised it as far as
>> #define MAXDEFINES 131072
>> #define MAXFILES 131072
>> and then I compile makedepend
>> I then put makedepend in my build folder and
>> make depend
>>
>> And I still get
>> makedepend: error: out of space: increase MAXFILES
>> make: *** [depend] Error 1
>>
>> What am I doing wrong?
>>
>> Thanks,
>> Matt
>>
>>
>>
>> On Feb 22, 2007, at 7:05 AM, Constantinos Evangelinos wrote:
>>
>>> On Thu 22 Feb 2007 09:43, Matthew Mazloff wrote:
>>>
>>>> Hi all,
>>>>
>>>> I've never got this before:
>>>>
>>>> makedepend: error: out of space: increase MAXFILES
>>>> make: 1254-004 The error code from the last command is 1.
>>>>
>>>> It came on the "make depend" command. Anyone know where
>>>> MAXFILES is
>>>> located....or is it machine specified?
>>>
>>> It's a compile time parameter for makedepend and relates to the
>>> internal space
>>> reserved for dependency tracking between files.
>>>
>>> To fix compile the makedepend that comes with MITgcm in the
>>> tools/cyrus-imapd-makedepend
>>> directory and put the resulting binary in your path.
>>>
>>> On ross/weddell @MIT I've already done this and put the binary
>>> in /opt/altbin. To use just do
>>> module add altbin
>>>
>>> Constantinos
>>>
>>>
>>>>
>>>> Thanks,
>>>> matt
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> MITgcm-support mailing list
>>>> MITgcm-support at mitgcm.org
>>>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>>
>>> --
>>> Dr. Constantinos Evangelinos
>>> Department of Earth, Atmospheric and Planetary Sciences
>>> Massachusetts Institute of Technology
>>>
>>> _______________________________________________
>>> MITgcm-support mailing list
>>> MITgcm-support at mitgcm.org
>>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>>
>> _______________________________________________
>> MITgcm-support mailing list
>> MITgcm-support at mitgcm.org
>> http://mitgcm.org/mailman/listinfo/mitgcm-support
>
> ---
> Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
> MIT | EAPS 54-1518 | 77 Massachusetts Ave | Cambridge MA 02139 USA
> FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list