[gmx-users] Running gromacs analysis on a HPC

John Whittaker johnwhittake at zedat.fu-berlin.de
Tue Jun 11 17:04:19 CEST 2019


Hi Akash,

Take a look here:
http://www.gromacs.org/Documentation/How-tos/Using_Commands_in_Scripts

Alternatively, I think you could also do something like:

echo "1" > select; echo "12" >> select;

gmx rdf -s proteinwater.tpr -f proteinwater.xtc -o proteinwaterrdf.xvg
-bin 0.002 -norm rdf -selrpos whole_res_com < select

and that will work.

Cheers,

John

> Hi all,
>
> I am trying to run gmx rdf on a HPC via a script. This is the command I am
> using :
>
> echo 1 12 | gmx rdf -s proteinwater.tpr -f proteinwater.xtc -o
> proteinwaterrdf.xvg -bin 0.002 -norm rdf -selrpos whole_res_com
>
> 1 being the protein and 12 being the water
>
>
> I get this error:
>
> Program:     gmx rdf, version 2018.2
>
> Error in user input:
> Invalid selection '1 12 '
>   Near '12'
>     syntax error
>
> For more information and tips for troubleshooting, please check the
> GROMACS
> website at http://www.gromacs.org/Documentation/Errors
>
> Please can you advise me on how I can sort out this issue.
>
>
> Akash
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send
> a mail to gmx-users-request at gromacs.org.
>




More information about the gromacs.org_gmx-users mailing list