[gmx-users] RE: problems trying to run gmx with the size of $PATH

Alan alanwilter at gmail.com
Mon Sep 21 16:05:45 CEST 2009


Thanks Berk, although I didn't test it yet, it makes sense.

Many thanks.

Alan

On Mon, Sep 21, 2009 at 14:10,  <gmx-users-request at gromacs.org> wrote:

> Hi,
>
> I guess the problem is in src/gmxlib/futil.c,
> where several string buffers that contain the path are of size 512.
> In Gromacs 4.1 they will be 4096.
> You can try replacing all numbers 512 by 4096 in src/gmxlib/futil.c.
>
> Berk
>
>> From: alanwilter at gmail.com
>> Date: Mon, 21 Sep 2009 13:59:54 +0100
>> To: gmx-users at gromacs.org
>> Subject: [gmx-users] problems trying to run gmx with the size of $PATH
>>
>> Hi There,
>>
>> I use Mac OSX 10.6.1 kernel 64 bits with Fink 64 bits.
>>
>> I have a long $PATH, with several paths for several applications. If I
>> try 'grompp', is gives:
>>
>> grompp
>>                          :-)  G  R  O  M  A  C  S  (-:
>>
>> [1]    33088 abort      grompp
>>
>> It also happens if running SLeopard kernel 32 bits.
>>
>> When I made my path shorter (keeping just the essential /usr/bin,
>> /sw/bin, /usr/local/bin etc.), 'grompp' worked fine.
>>
>> Does anyone know if there's a limit for $PATH? or why gromacs in
>> particular would be affected? Because so far I got only gromacs
>> complaining and even though when I was using 10.5.8 (Leopard, 32 bits)
>> my $PATH was as big as it is and I didn't have problem then.
>>
>> Many thanks in advance,
>>
>> Alan
>> _______________________________________________



More information about the gromacs.org_gmx-users mailing list