[gmx-users] g_rdf

Nguyen Hoang Phuong phuong at theochem.uni-frankfurt.de
Thu Oct 2 15:44:01 CEST 2003


Hi, just name the index files as index_1,ndx, index_2.ndx...index_N.ndx

then write the script file:


c=0
while [ $c -le N ]; do
     let c=c+1

g_rdf -f *.trr -s *tpr -n index_${c}.ndx -o rdf_${c}

done


Hope it helps.

Phuong


On Thu, 2 Oct 2003, Kay Gottschalk wrote:

> Hi there,
>
> is there any way not to run g_rdf interactively? what I mean is the
> following: I have many (>100) index files, and I want to run g_rdf with
> the first group in the index file as reference as the other for the
> distribution function. Doing it >100 times by hand is kind of annoying.
> I guess there is some line command which can do it, but somehow I
> couldn't figure it out.
> Thanks for your help,
> Kay.
>
>
> _______________________________________________
> gmx-users mailing list
> gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
>




More information about the gromacs.org_gmx-users mailing list