[gmx-users] get_index
Pedro Alexandre de Araújo Gomes Lapido Loureiro
palaplou at gmail.com
Wed Jul 4 17:24:15 CEST 2007
Thank you, Mark, for your suggestion (even added it to my "favourites").
But in this problem I'd prefer to stick to C, despite the grater difficulty.
Regards,
Pedro.
2007/7/4, Mark Abraham <mark.abraham at anu.edu.au>:
>
> > Hi,
> >
> > I want to automate the process of getting the index groups in an
> analysis
> > program I'm working on.
> > This is justified because of the large number of groups I work with
> (more
> > than 100).
> >
> > The program asks for user input ("Select a group:") by the function:
> >
> > void get_index(t_atoms *atoms, char *fnm, int ngrps,
> > int isize[], atom_id *index[],char *grpnames[])
> >
> > which, I think, is defined in /src/gmxlib/index.c.
> >
> > Do you have any idea on how to solve this problem?
>
> Rather than hack the C code, you can automate human-program interaction
> well with "Expect" (Google for link) which gives you a programmatic
> interface that you could tweak to make a wrapper for make_ndx that suits
> your needs.
>
> Mark
>
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20070704/dcaddfd8/attachment.html>
More information about the gromacs.org_gmx-users
mailing list