<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;"><span>&#160;</span></p>

    <div style="margin: 5px 0px 5px 0px;">
      <br />
       On January 25, 2011 at 2:08 PM Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt; wrote:<br />
      <br />

      <blockquote type="cite" style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;">
        On 26/01/2011 5:50 AM, TJ Mustard wrote: 

        <blockquote type="cite">
          <p style="margin: 0px;">Hi all,</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">I am running MD/FEP on a protein-ligand system with gromacs 4.5.3 and FFTW 3.2.2.</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">My iMac will run the job (over 4000 steps, till I killed it) at 4fs steps. (I am using heavy H)</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">Once I put this on our groups AMD Cluster the jobs fail even with 2fs steps. (with thousands of lincs errors)</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">We have recompiled the clusters gromacs 4.5.3 build, with no change. I know the system is the same since I copied the job from the server to my machine, to rerun it.</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">What is going on? Why can one machine run a job perfectly and the other cannot? I also know there is adequate memory on both machines.</p>
        </blockquote><br />
         You&#39;ve posted this before, and I made a number of diagnostic suggestions. What did you learn?<br />
        <br />
         Mark<br />
      </blockquote>
    </div>

    <p style="margin: 0px;">Mark and all,</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">First thank you for all our help. What you suggested last time helped considerably with our jobs/calculations. I have learned that using the standard mdp settings allow my heavyh 4fs jobs to run on my iMac (intel) and have made these my new standard for future jobs. We chose to use the smaller 0.8nm PME/Cutoff due to others papers/tutorials, but now we understand why we need these standard settings. Now what I see to be our problem is that our machines have some sort of variable we cannot account for. If I am blind to my error, please show me. I just don&#39;t understand why one computer works while the other does not. We have recompiled gromacs 4.5.3 single precission on our cluster, and still have this problem.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">Now I understand that my iMac works, but it only has 2 cpus and the cluster has 320. Since we are running our jobs via a Bennet&#39;s Acceptance Ratio FEP with 21 lambda windows, using just one 2 cpu machine would take too long. Especially since we wish to start pseudo high throughput drug testing.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">In my .mdp files now, the only changes are:</p>

    <p style="margin: 0px;">(the default setting is on the right of the &quot;;&quot;)</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">define&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = &#160;&#160; &#160;; =<br />
    <br />
    ; RUN CONTROL PARAMETERS<br />
    integrator&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = sd&#160;&#160; &#160;; = md<br />
    ; Start time and timestep in ps<br />
    tinit&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    dt&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.004&#160;&#160; &#160;; = 0.001<br />
    nsteps&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 750000&#160; &#160;&#160;&#160; &#160;; = 0 (this one depends on the window and particular part of our job)</p>

    <p style="margin: 0px;">; OUTPUT CONTROL OPTIONS<br />
    ; Output frequency for coords (x), velocities (v) and forces (f)<br />
    nstxout&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 10000&#160;&#160; &#160;; = 100 (to save on disk space)<br />
    nstvout&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 10000&#160;&#160; &#160;; = 100</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">; OPTIONS FOR ELECTROSTATICS AND VDW<br />
    ; Method for doing electrostatics<br />
    coulombtype&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = PME&#160;&#160; &#160;; = Cutoff<br />
    rcoulomb-switch&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    rcoulomb&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160; ; = 1<br />
    ; Relative dielectric constant for the medium and the reaction field<br />
    epsilon_r&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160;&#160; &#160;; = 1<br />
    epsilon_rf&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160;&#160; &#160;; = 1<br />
    ; Method for doing Van der Waals<br />
    vdw-type&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = Cut-off&#160;&#160; &#160;; = Cut-off<br />
    ; cut-off lengths&#160;&#160;&#160;&#160;&#160; &#160;<br />
    rvdw-switch&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    rvdw&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160; ; = 1<br />
    ; Spacing for the PME/PPPM FFT grid<br />
    fourierspacing&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.12&#160;&#160; &#160;; = 0.12<br />
    ; EWALD/PME/PPPM parameters<br />
    pme_order&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 4&#160;&#160; &#160;; = 4<br />
    ewald_rtol&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1e-05&#160;&#160; &#160;; = 1e-05<br />
    ewald_geometry&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 3d&#160;&#160; &#160;; = 3d<br />
    epsilon_surface&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    optimize_fft&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = yes&#160;&#160; &#160;; = no</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">; OPTIONS FOR WEAK COUPLING ALGORITHMS<br />
    ; Temperature coupling &#160;<br />
    tcoupl&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = v-rescale&#160;&#160; &#160;; = No<br />
    nsttcouple&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = -1&#160;&#160; &#160;; = -1<br />
    nh-chain-length&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 10&#160;&#160; &#160;; = 10<br />
    ; Groups to couple separately<br />
    tc-grps&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = System&#160;&#160; &#160;; =<br />
    ; Time constant (ps) and reference temperature (K)<br />
    tau-t&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.1&#160;&#160; &#160;; =<br />
    ref-t&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 300&#160;&#160; &#160;; =<br />
    ; Pressure coupling&#160;&#160;&#160; &#160;<br />
    Pcoupl&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = Parrinello-Rahman&#160;&#160; &#160;; = No<br />
    Pcoupltype&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = Isotropic<br />
    nstpcouple&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = -1&#160;&#160; &#160;; = -1<br />
    ; Time constant (ps), compressibility (1/bar) and reference P (bar)<br />
    tau-p&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160;&#160; &#160;; = 1<br />
    compressibility&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 4.5e-5&#160;&#160; &#160;; =<br />
    ref-p&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1.0&#160;&#160; &#160;; =</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">; OPTIONS FOR BONDS&#160;&#160; &#160;<br />
    constraints&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = all-bonds&#160;&#160; &#160;; = none<br />
    ; Type of constraint algorithm<br />
    constraint-algorithm&#160;&#160;&#160;&#160; = Lincs&#160;&#160; &#160;; = Lincs</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">; Free energy control stuff<br />
    free-energy&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = yes&#160;&#160; &#160;; = no<br />
    init-lambda&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.00&#160; &#160;&#160;&#160; &#160;; = 0<br />
    delta-lambda&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    foreign_lambda&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; =&#160;&#160; &#160;&#160;&#160; &#160;0.05 ; =<br />
    sc-alpha&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.5&#160;&#160; &#160;; = 0<br />
    sc-power&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1.0&#160;&#160; &#160;; = 0<br />
    sc-sigma&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.3&#160;&#160; &#160;; = 0.3<br />
    nstdhdl&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 1&#160;&#160; &#160;; = 10<br />
    separate-dhdl-file&#160;&#160;&#160;&#160;&#160;&#160; = yes&#160;&#160; &#160;; = yes<br />
    dhdl-derivatives&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = yes&#160;&#160; &#160;; = yes<br />
    dh_hist_size&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0&#160;&#160; &#160;; = 0<br />
    dh_hist_spacing&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = 0.1&#160;&#160; &#160;; = 0.1<br />
    couple-moltype&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = LGD &#160;&#160; ; =<br />
    couple-lambda0&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = vdw-q&#160;&#160; &#160;; = vdw-q<br />
    couple-lambda1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = none&#160;&#160; &#160;; = vdw-q<br />
    couple-intramol&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; = no &#160;&#160; &#160;;&#160;&#160; &#160;= no</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">Some of these change due to positional restraint md and energy minimization.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">All of these settings have come from either tutorials, papers or peoples advice.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">If it would be advantageous I can post my entire energy minimization, positional restraint, md, and FEP mdp files.</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">Thank you,</p>

    <p style="margin: 0px;">TJ Mustard</p>

    <p style="margin: 0px;">&#160;</p>

    <p style="margin: 0px;">&#160;</p>

    <div style="margin: 5px 0px 5px 0px;">
      <blockquote type="cite" style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;">
        <blockquote type="cite">
          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">Below is my command sequence:</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">echo ==============================================================================================================================<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-grompp -f em.mdp -c RNAP-C_b4em.gro -p RNAP-C.top -o RNAP-C_em.tpr<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-grompp -f em.mdp -c RNAP-C_b4em.gro -p RNAP-C.top -o RNAP-C_em.tpr<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-mdrun -v -s RNAP-C_em.tpr -c RNAP-C_after_em.gro -g emlog.log -cpo state_em.cpt -nt 2<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-mdrun -v -s RNAP-C_em.tpr -c RNAP-C_after_em.gro -g emlog.log -cpo stat_em.cpt -nt 2<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-grompp -f pr.mdp -c RNAP-C_after_em.gro -p RNAP-C.top -o RNAP-C_pr.tpr<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-grompp -f pr.mdp -c RNAP-C_after_em.gro -p RNAP-C.top -o RNAP-C_pr.tpr<br />
           echo g453s-mdrun -v -s RNAP-C_pr.tpr -e pr.edr -c RNAP-C_after_pr.gro -g prlog.log -cpo state_pr.cpt -nt 2 -dhdl dhdl-pr.xvg<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-mdrun -v -s RNAP-C_pr.tpr -e pr.edr -c RNAP-C_after_pr.gro -g prlog.log -cpo state_pr.cpt -nt 2 -dhdl dhdl-pr.xvg<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-grompp -f md.mdp -c RNAP-C_after_pr.gro -p RNAP-C.top -o RNAP-C_md.tpr<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-grompp -f md.mdp -c RNAP-C_after_pr.gro -p RNAP-C.top -o RNAP-C_md.tpr<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-mdrun -v -s RNAP-C_md.tpr -o RNAP-C_md.trr -c RNAP-C_after_md.gro -g md.log -e md.edr -cpo state_md.cpt -nt 2 -dhdl dhdl-md.xvg<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-mdrun -v -s RNAP-C_md.tpr -o RNAP-C_md.trr -c RNAP-C_after_md.gro -g md.log -e md.edr -cpo state_md.cpt -nt 2 -dhdl dhdl-md.xvg<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-grompp -f FEP.mdp -c RNAP-C_after_md.gro -p RNAP-C.top -o RNAP-C_fep.tpr<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-grompp -f FEP.mdp -c RNAP-C_after_md.gro -p RNAP-C.top -o RNAP-C_fep.tpr<br />
           date &gt;&gt;RNAP-C.joblog<br />
           echo g453s-mdrun -v -s RNAP-C_fep.tpr -o RNAP-C_fep.trr -c RNAP-C_after_fep.gro -g fep.log -e fep.edr -cpo state_fep.cpt -nt 2 -dhdl dhdl-fep.xvg<br />
           /share/apps/gromacs-4.5.3-single/bin/g453s-mdrun -v -s RNAP-C_fep.tpr -o RNAP-C_fep.trr -c RNAP-C_after_fep.gro -g fep.log -e fep.edr -cpo state_fep.cpt -nt 2 -dhdl dhdl-fep.xvg</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">I can add my .mdps but I do not think they are the problem since I know it works on my personal iMac.</p>

          <p style="margin: 0px;">&#160;</p>

          <p style="margin: 0px;">Thank you,</p>

          <p style="font-family: monospace; white-space: nowrap; margin: 5px 0px;">TJ Mustard<br />
           Email: <a href="mailto:mustardt@onid.orst.edu">mustardt@onid.orst.edu</a></p>
        </blockquote><br />
      </blockquote>
    </div>

    <p style="margin: 0px;">&#160;</p>

    <p style="font-family: monospace; white-space: nowrap; margin: 5px 0px 5px 0px;">TJ Mustard<br />
    Email: mustardt@onid.orst.edu</p>
  </body>
</html>