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

Berk Hess gmx3 at hotmail.com
Mon Sep 21 15:07:49 CEST 2009


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.


> 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
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/search before posting!
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
What can you do with the new Windows Live? Find out
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20090921/142be9bd/attachment.html>

More information about the gromacs.org_gmx-users mailing list