On Thu, May 3, 2018 at 3:03 PM, Christoph Junghans <[email protected]>
wrote:

> On Thu, May 3, 2018 at 12:44 PM, Alexander Alexander
> <[email protected]> wrote:
> > Hi Christoph,
> >
> > On Wednesday, May 2, 2018 at 9:29:51 PM UTC-4, Christoph Junghans wrote:
> >>
> >> On Wed, May 2, 2018 at 4:37 PM, Alexander Alexander
> >> <[email protected]> wrote:
> >> > Thanks.
> >> >
> >> > On Wednesday, May 2, 2018 at 5:54:50 PM UTC-4, Christoph Junghans
> wrote:
> >> >>
> >> >> On Wed, May 2, 2018 at 3:37 PM, Alexander Alexander
> >> >> <[email protected]> wrote:
> >> >> > Hi Christoph,
> >> >> > Thanks.
> >> >> >
> >> >> > On Wednesday, May 2, 2018 at 5:13:13 PM UTC-4, Christoph Junghans
> >> >> > wrote:
> >> >> >>
> >> >> >> On Wed, May 2, 2018 at 1:38 PM, Alexander Alexander
> >> >> >> <[email protected]> wrote:
> >> >> >> > Dear all,
> >> >> >> > I did a
> >> >> >> > My IBI-bonded-nonbonded (after getting the nonbonded potentials
> >> >> >> > via
> >> >> >> > IBI-nonbonded only) crashes dues to the "...bonded interactions
> >> >> >> > could
> >> >> >> > not be
> >> >> >> > calculated because some atoms
> >> >> >> > involved moved further apart ...". By replacing the ill-bond by
> a
> >> >> >> > harmonic
> >> >> >> > potential in topol.top file "2 3   N  0.3453  K" where N = 1,2
> and
> >> >> >> > K
> >> >> >> > =
> >> >> >> > 5000,
> >> >> >> > the simulation are going well. Now what? what is the relation
> >> >> >> > between
> >> >> >> > this
> >> >> >> > harmonic  and the table_b2.xvg which was replaced by the
> harmonic
> >> >> >> > one?
> >> >> >> > What
> >> >> >> > would happen for the table_b2.xvg?
> >> >> >> Sorry, I don't understand your question! Can you rephrase?
> >> >> >>
> >> >> > Let's say the calculation crashes when table_b2.xvg is used but it
> >> >> > works
> >> >> > fine with "2 3   2  0.3453  1000" instead, then my question is that
> >> >> > "should
> >> >> > I continue the preregistration using "2 3   2  0.3453  1000" and
> >> >> > forget
> >> >> > about the table_b2.xvg? If so, what would be the final right
> >> >> > table_b2.xvg at
> >> >> > the end? If not so, how I can take benefit from the knowledge of
> "2
> >> >> > 3
> >> >> > 2
> >> >> > 0.3453  1000" to improve the table_b2.xvg so that it would work as
> >> >> > well?
> >> >> You know generate a table with k*(r-r_0) (with r_0=0.3453 andk=1000,
> >> >> clip out the middle part and replace it with the structured part from
> >> >> BI.
> >>
> >> >>
> >> > OK, I see.
> >> > How about this instead:
> >> > The reason that the calculation crashes with table_b2.xvg is that the
> >> > table_b2.xvg represents a very low K (spring constant) so that the two
> >> > atoms
> >> > are getting apart. I was reading somewhere in the mailing list that
> the
> >> > last
> >> > number in "2 3   8  2  1  ; 1:bond-H1-L:1" is a kind of factor for the
> >> > third
> >> > column of the table_b2.xvg, so, don't you think it would be possible
> to
> >> > increase this factor to 2 or 3 (which means multiplying the third
> >> > column)
> >> > until the calculation goes fine?
> >> Yeah, that sounds reasonable! Increasing the K helps usually helps
> >> with the atoms getting too far apart.
> >>
> >> If you want to scale column 3 you will also have to modify column 2
> >> accordingly.
> >> Gromacs won't allow mismatching columns.
> >
> > I tried to scale both of the column 2 and 3 of table_b2.xvg using a lot
> of
> > scale-factor, but they did not work and the missing bond ... error is
> still
> > here., I guess finding the right factor is not easy.
> > So, I tried your suggestion above, I mean k*(r-r_0) (with r_0=0.3453
> > andk=1000. T do so, I first created a bond.pot.ib potential including 3
> > columns as following:
> > #-----------------
> > bond.pot.in
> > #column1          #column2                          # column3
> > r                (1000/2)*(r-0.3453)^2         -(1000)*(r-0.3453)
> > #-------------------
> > And added the letter "i" to the end of each row.
> > Then I tried to converted the above bond.pot.in to table_b2.xvg using
> > "csg_call --ia-type bond --ia-name bond-H1-L --options bond-H1-L.xml
> > convert_potential gromacs ...". But then all of the second and third
> columns
> > of the new table_b2.xvg was just nan -nan.
> > Would you please let me know if the procedure is right and where I am
> doing
> > wrong?
> Not sure, can you post your input files? (pot.in and xml)
>
Thanks.
Please find attached the files pot.in =  Harmonic-bond-H1-L.pot.in
<http://pot.in>
The two other files are the potential associated with this bond obtained by
normal BI crashing the calculation.
 I simply calculate the harmonic files using these two awk command:

awk -v CONVFMT=%.7g '{$3 = (($1 - 0.34530000)**2)*(1000/2)} 1'
awk -v CONVFMT=%.7g '{$4 = ($1 - 0.34530000)*(-1000)} 1'

Regards,
Alex


> Christoph
> >
> > Thank you.
> > Alex
> >
> >> >>
> >> >>
> >> >> >
> >> >> >>
> >> >> >> > Figures in attachment are the plot of
> >> >> >> > table_b2.xvg.
> >> >> >> > I got the bonded tables including the table_b2.xvg by
> >> >> >> > "csg_boltzmann"
> >> >> >> > -->
> >> >> >> > "csg_call --sloppy-tables" ---> "csg_call --ia-type bond
> --ia-name
> >> >> >> > bond
> >> >> >> > ...
> >> >> >> > gromacs table_b2.xvg". And I am using the bond(angle)-*.pot.in
> as
> >> >> >> > initial
> >> >> >> > guesses for my IBI-all.
> >> >> >> >
> >> >> >> > The table_b1.xvg in gromacs manual has been defined such that
> the
> >> >> >> > the
> >> >> >> > r(nm),
> >> >> >> > f(r), f'(r) are the first, second and third column of
> table_b2.xvg
> >> >> >> > where
> >> >> >> > f(r) is a cubic spline function in V_b(r_ij) = k*f(r_ij), If the
> >> >> >> > same
> >> >> >> > definition is applied for the table_b2.xvg obtained by the above
> >> >> >> > method?
> >> >> >> To be clear, the gromacs table format is x, f(x), -f'(x) (see
> >> >> >> gromacs
> >> >> >> manual 4.2.14)
> >> >> >>
> >> >> >> I am not sure what your question is! Gromacs uses cubic spline
> >> >> >> internal to interpolate  the table.
> >> >> >> However, if you set cg.inverse.gromacs.table_bins in your xml file
> >> >> >> small enough (you had something like 0.002), then there isn't much
> >> >> >> to
> >> >> >> interpolate.
> >> >> >>
> >> >> >>
> >> >> >> > What is the unit of f(r)?
> >> >> >> KJ/mol (gromacs energy units)
> >> >> >>
> >> >> >> > What is the unit of each column in table_b2.xvg in VOTCA?
> >> >> >> KJ/mol/nm (gromacs force units)
> >> >> >
> >> >> > Just to sum up the table format, can you please confirm me that the
> >> >> > table_b.xvg in VOTCA has the following format:
> >> >> > first column : Distance with unit nm
> >> >> > Second column : Energy with unit KJ/mol
> >> >> > Thirst column: Force with unit KJ/mol/nm
> >> >> For bonds (not angles) in gromacs that is the format!
> >> >
> >> > For angle the first column is degree probably.
> >> >>
> >> >>
> >> >> Also for a different simulation backend, e.g. lammps this will be
> >> >> different of course, too!
> >> >
> >> >
> >> > I have one more question which your comment on would be highly
> >> > appreciated:
> >> > In another IBI-bonded-nonbonded parameterization the "mpirun -np 64
> >> > gmx_mpi
> >> > mdrun" work fine till step_021 of parameterization where it crashes
> >> > because
> >> > it can not find any domain decomposition for 64 ranks that is
> compatible
> >> > with the system size. Even it works in the minimization simulation in
> >> > step_021.
> >> > I have already read most of the discussions about the error of domain
> >> > decomposition, and I have tried different options like using different
> >> > ranks
> >> > (64, 32, 16, 8, 40, 36) and also -rdd ... or -dds. However, no success
> >> > yet.
> >> > I am totally confused with these parameters and I can not solve the
> >> > issue.
> >> > So, below I have shared the md.log files for the step_20 (which works
> >> > fine)
> >> > and step_21 (minimization which works fine) and step_21 (which
> crashes),
> >> > and
> >> > I would be so appreciated if one could help me overcome the issue.
> >> > About the machine: Running on 4 nodes with total 64 cores, 64 logical
> >> > cores,
> >> > Cores per node: 16.
> >> >
> >> > md.log-20
> >> > https://drive.google.com/open?id=1ZwYggDI1Hy_eYY8_nT8I50t91Wla0Obr
> >> >
> >> > md.log-21-mini
> >> > https://drive.google.com/open?id=1oYE4A6fC1L8u_vx4sR8RIq3EWiG9-7YB
> >> >
> >> > md.log-21
> >> > https://drive.google.com/open?id=1ff_QJrdGvLFgwGU9xMY-IcqfxzF2jkAO
> >> Sorry, that really is a question for the gromacs user mailing list.
> >> ([email protected])
> >>
> >> Christoph
> >>
> >> >
> >> >
> >> > Thank you very much.
> >> > Regards,
> >> > Alex
> >> >>
> >> >>
> >> >> Christoph
> >> >> >>
> >> >> >>
> >> >> >> >
> >> >> >> > And would you please explain table_b2-1-3.png figure?
> >> >> >> Not sure what there is to explain..the code on how the third
> column
> >> >> >> is
> >> >> >> calculated is here:
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> https://github.com/votca/csg/blob/master/share/scripts/inver
> se/table_to_xvg.pl#L95
> >> >> >
> >> >> > Best regards,
> >> >> > Alex
> >> >> >>
> >> >> >>
> >> >> >> Christoph
> >> >> >>
> >> >> >> > Thank you very much.
> >> >> >> > Regards,
> >> >> >> > Alex
> >> >> >> >
> >> >> >> > --
> >> >> >> > You received this message because you are subscribed to the
> Google
> >> >> >> > Groups
> >> >> >> > "votca" group.
> >> >> >> > To unsubscribe from this group and stop receiving emails from
> it,
> >> >> >> > send
> >> >> >> > an
> >> >> >> > email to [email protected].
> >> >> >> > To post to this group, send email to [email protected].
> >> >> >> > Visit this group at https://groups.google.com/group/votca.
> >> >> >> > For more options, visit https://groups.google.com/d/optout.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Christoph Junghans
> >> >> >> Web: http://www.compphys.de
> >> >> >
> >> >> > --
> >> >> > You received this message because you are subscribed to the Google
> >> >> > Groups
> >> >> > "votca" group.
> >> >> > To unsubscribe from this group and stop receiving emails from it,
> >> >> > send
> >> >> > an
> >> >> > email to [email protected].
> >> >> > To post to this group, send email to [email protected].
> >> >> > Visit this group at https://groups.google.com/group/votca.
> >> >> > For more options, visit https://groups.google.com/d/optout.
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Christoph Junghans
> >> >> Web: http://www.compphys.de
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "votca" group.
> >> > To unsubscribe from this group and stop receiving emails from it, send
> >> > an
> >> > email to [email protected].
> >> > To post to this group, send email to [email protected].
> >> > Visit this group at https://groups.google.com/group/votca.
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >>
> >>
> >> --
> >> Christoph Junghans
> >> Web: http://www.compphys.de
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "votca" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at https://groups.google.com/group/votca.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Christoph Junghans
> Web: http://www.compphys.de
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "votca" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/votca/7Hh-gxZEpmI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/votca.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/votca.
For more options, visit https://groups.google.com/d/optout.
0.343208 24.2006 i
0.343248 23.308125 i
0.343289 22.21655 i
0.343329 21.35835 i
0.343369 20.291325 i
0.343409 19.218975 i
0.34345 18.241325 i
0.34349 16.9953 i
0.34353 15.936375 i
0.34357 15.46025 i
0.343611 15.172075 i
0.343651 14.639825 i
0.343691 13.900825 i
0.343732 13.1357 i
0.343772 12.402175 i
0.343812 11.86235 i
0.343852 11.33975 i
0.343893 10.659475 i
0.343933 10.0182 i
0.343973 9.464205 i
0.344013 8.904945 i
0.344054 8.302785 i
0.344094 7.722105 i
0.344134 7.202955 i
0.344174 6.71238 i
0.344215 6.1947825 i
0.344255 5.68741 i
0.344295 5.2535675 i
0.344336 4.83443 i
0.344376 4.446935 i
0.344416 4.095465 i
0.344456 3.6981375 i
0.344497 3.308085 i
0.344537 2.9798025 i
0.344577 2.6786525 i
0.344617 2.3893625 i
0.344658 2.1068975 i
0.344698 1.833575 i
0.344738 1.579995 i
0.344779 1.35958 i
0.344819 1.17146325 i
0.344859 0.99309525 i
0.344899 0.819667 i
0.34494 0.66801625 i
0.34498 0.52513075 i
0.34502 0.3817475 i
0.34506 0.26757975 i
0.345101 0.1972025 i
0.345141 0.144081025 i
0.345181 0.09239845 i
0.345221 0.058683775 i
0.345262 0.0320083 i
0.345302 0.02359425 i
0.345342 0.055410425 i
0.345383 0.09289895 i
0.345423 0.137030825 i
0.345463 0.2133295 i
0.345503 0.2993105 i
0.345544 0.394203 i
0.345584 0.52116575 i
0.345624 0.66441775 i
0.345664 0.80344325 i
0.345705 0.956451 i
0.345745 1.1553285 i
0.345785 1.382335 i
0.345826 1.5996375 i
0.345866 1.83137 i
0.345906 2.10763 i
0.345946 2.40755 i
0.345987 2.721115 i
0.346027 3.0418575 i
0.346067 3.37172 i
0.346107 3.7246325 i
0.346148 4.1215275 i
0.346188 4.5664025 i
0.346228 4.996035 i
0.346268 5.427415 i
0.346309 5.9250575 i
0.346349 6.45394 i
0.346389 6.9391825 i
0.34643 7.3916525 i
0.34647 7.9210425 i
0.34651 8.554235 i
0.34655 9.1895175 i
0.346591 9.7632475 i
0.346631 10.3477175 i
0.346671 10.958275 i
0.346711 11.509675 i
0.346752 12.11465 i
0.346792 13.07925 i
0.346832 14.15745 i
0.346872 14.949425 i
0.346913 15.67675 i
0.346953 16.3947 i
0.346993 17.337575 i
0.347034 18.489975 i
0.347074 19.37565 i
0.347114 20.355 i
0.347154 21.5006 i
0.347195 22.38495 i
0.347235 23.141075 i
0.347275 23.93945 i
0.347315 24.4473666666667 i

Attachment: BI-bond-H1-L.pot.ib
Description: Binary data

<cg>  
  <bonded>
     <name>bond-H1-L</name>
     <min>0.3425</min>
     <max>0.348</max>
     <step>0.0005</step>
  </bonded>
        <inverse>
                <gromacs>
                        <pot_max>1e8</pot_max>
                        <table_end>1.0</table_end>
                        <table_bins>0.0001</table_bins>
                </gromacs>
        </inverse>
</cg>

Attachment: Harmonic-bond-H1-L.pot.ib
Description: Binary data

0.3432 0.002205 i    
0.3432 0.002205 i      
0.3433 0.002000 i       
0.3433 0.002000 i       
0.3434 0.001805 i       
0.3434 0.001805 i       
0.3434 0.001805 i       
0.3435 0.001620 i       
0.3435 0.001620 i       
0.3436 0.001445 i       
0.3436 0.001445 i       
0.3437 0.001280 i       
0.3437 0.001280 i       
0.3437 0.001280 i       
0.3438 0.001125 i       
0.3438 0.001125 i       
0.3439 0.000980 i       
0.3439 0.000980 i       
0.3439 0.000980 i       
0.3440 0.000845 i       
0.3440 0.000845 i       
0.3441 0.000720 i       
0.3441 0.000720 i       
0.3441 0.000720 i       
0.3442 0.000605 i       
0.3442 0.000605 i       
0.3443 0.000500 i       
0.3443 0.000500 i       
0.3443 0.000500 i       
0.3444 0.000405 i       
0.3444 0.000405 i       
0.3445 0.000320 i       
0.3445 0.000320 i      
0.3445 0.000320 i       
0.3446 0.000245 i      
0.3446 0.000245 i       
0.3447 0.000180 i       
0.3447 0.000180 i       
0.3447 0.000180 i       
0.3448 0.000125 i      
0.3448 0.000125 i       
0.3449 8e-05 i           
0.3449 8e-05 i          
0.3449 8e-05 i          
0.3450 4.5e-05 i         
0.3450 4.5e-05 i        
0.3451 2e-05 i           
0.3451 2e-05 i          
0.3451 2e-05 i          
0.3452 5e-06 i          
0.3452 5e-06 i  
0.3453 0 i       
0.3453 0 i       
0.3453 0 i       
0.3454 5e-06 i    
0.3454 5e-06 i   
0.3455 2e-05 i   
0.3455 2e-05 i   
0.3455 2e-05 i   
0.3456 4.5e-05 i  
0.3456 4.5e-05 i 
0.3457 8e-05 i    
0.3457 8e-05 i   
0.3457 8e-05 i   
0.3458 0.000125 i 
0.3458 0.000125 i
0.3459 0.000180 i
0.3459 0.000180 i
0.3459 0.000180 i
0.3460 0.000245 i
0.3460 0.000245 i
0.3461 0.000320 i
0.3461 0.000320 i
0.3461 0.000320 i
0.3462 0.000405 i
0.3462 0.000405 i
0.3463 0.000500 i
0.3463 0.000500 i
0.3463 0.000500 i
0.3464 0.000605 i
0.3464 0.000605 i
0.3465 0.000720 i
0.3465 0.000720 i
0.3466 0.000845 i
0.3466 0.000845 i
0.3466 0.000845 i
0.3467 0.000980 i
0.3467 0.000980 i
0.3468 0.001125 i
0.3468 0.001125 i
0.3468 0.001125 i
0.3469 0.001280 i
0.3469 0.001280 i
0.3470 0.001445 i
0.3470 0.001445 i
0.3470 0.001445 i
0.3471 0.001620 i
0.3471 0.001620 i
0.3472 0.001805 i
0.3472 0.001805 i
0.3472 0.001805 i
0.3473 0.002000 i
0.3473 0.002000 i

Reply via email to