Menu

#5 Compiling TOWHEE 8.0.0

v1.0_(example)
open
None
1
2019-03-23
2019-03-19
Hai HOANG
No

Dear developers,
I am trying to compile towhee 8.0.0 on a cluster. I have a warning as:


atd_cbmc_setup.F: In subroutine twh_atd_cbmc_setup': atd_cbmc_setup.F:523: warning: call twh_cbmcbendinfo(2001,imolty,iunit,ibend 1 atd_cbmc_setup.F:824: (continued): call twh_cbmcbendinfo(2001,imolty,iunit 2 Too few arguments fortwh_cbmcbendinfo' at (2) versus invocation at (1) [info -f g77 M GLOBALS]
atd_cbmc_setup.F:523: warning:
call twh_cbmcbendinfo(2001,imolty,iunit,ibend
1
atd_cbmc_setup.F:824: (continued):
call twh_cbmcbendinfo(2001,imolty,iunit
2
----------------
what should I do to fix this warning?
Thank you in advances,
Hai

Related

Support Requests: #5

Discussion

  • Hai HOANG

    Hai HOANG - 2019-03-19

    Dear developers,
    Please tell me how to fix arguments in call subroutine twh_cbmcbendinfo in line 824.
    Thanks

     
  • Marcus Martin

    Marcus Martin - 2019-03-22

    Verified the error. Not sure how my compiler did not complain about this problem. Testing a fix now, expecting it to be incorporated into Towhee 8.1.1. Planning on releasing that version this evening.

    Marcus

     
    • Hai HOANG

      Hai HOANG - 2019-03-23

      Dear Marcus,
      Thank you. I have fixed it as/:


                          call twh_cbmcbendinfo(GLB_SET,imolty,iunit
       &                       ,ibend,jbend,npeak,1,rigidlen)
      

      Is it right?

      An additional question, latest version does not support MMBOND=6? If it is
      not, how should we do to deal with such situation.
      Thanks in advance

      On Fri, Mar 22, 2019 at 6:08 PM Marcus Martin marcus_martin@users.sourceforge.net wrote:

      Verified the error. Not sure how my compiler did not complain about this
      problem. Testing a fix now, expecting it to be incorporated into Towhee
      8.1.1. Planning on releasing that version this evening.

      Marcus

      Status: open
      Group: v1.0_(example)
      Created: Tue Mar 19, 2019 03:40 PM UTC by Hai HOANG
      Last Updated: Tue Mar 19, 2019 04:00 PM UTC
      Owner: Marcus Martin

      Dear developers,
      I am trying to compile towhee 8.0.0 on a cluster. I have a warning as:


      atd_cbmc_setup.F: In subroutine twh_atd_cbmc_setup':
      atd_cbmc_setup.F:523: warning: call
      twh_cbmcbendinfo(2001,imolty,iunit,ibend 1 atd_cbmc_setup.F:824:
      (continued): call twh_cbmcbendinfo(2001,imolty,iunit 2 Too few arguments fortwh_cbmcbendinfo'
      at (2) versus invocation at (1) [info -f g77 M GLOBALS]
      atd_cbmc_setup.F:523: warning:
      call twh_cbmcbendinfo(2001,imolty,iunit,ibend
      1
      atd_cbmc_setup.F:824: (continued):
      call twh_cbmcbendinfo(2001,imolty,iunit
      2


      what should I do to fix this warning?
      Thank you in advances,
      Hai


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/towhee/support-requests/5/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #5

  • Marcus Martin

    Marcus Martin - 2019-03-23

    That is the fix I used in the now released 8.1.1. Not sure how this ever would have worked with the previous call, but given that it is for a special case of rigid three-member rings that are using arbitrary trial distributions for CBMC it probably just never came up.

    On the topic of NNBOND=6 this theoretically works now, but the way the arrays are staticly allocated setting NNBOND to this level creates a very large number of possible dihedral terms and I think this causes the memory allocation to be too large for most machines.

    The fix is a more sophisticated memory allocation of the terms related to the number of vibrations, bending angles, and dihedral angles in each molecule type. Most likely this data structure would be an array of pointers that then point to the information required for the bonds, angles, and dihedrals that actually exist in each molecule, instead of the current method that allocates a static array based on the maximum number of bonds, angles, and dihedrals that could exist depending on the value of NNBOND. This would be relatively straight-forward if we only had the cases where those terms are already fully specified in towhee_input, but there is also the case where the molecular assembler puts molecules together in a manner that probably needs more of a linked-list approach instead of multiple pointer arrays. Possible the right answer is a temporary linked-list for the assembler part that then gets transfered into the pointer array structure and then freed back up after the assembler section is finished.

    Most likely a few weeks of work and then the code would finally compile for molecules with 6 bonds to a single atom. At that point theoretically CBMC should function properly for those systems, but this has never been tested so difficult to predict if more problems could surface.

    I currently do not have any funding for Towhee development so this is just one item on a long list of improvements that would be nice, but are not a priority. If you are interested in implementing this I would be happy to help advise and incorporate this back into the release version. I am also open to ideas that lead to me being paid for implementing new features in Towhee.

    Marcus

     
    • Hai HOANG

      Hai HOANG - 2019-04-10

      Dear Martin,
      Thank you so much for your information. And I am sorry for late reply, I
      have been out of work for several days.
      I am also free to work, no funding, but very interested in TOWHEE. So, if
      you could give a chance to incorporate with you to do anything on TOWHEE, I
      am very grateful.
      Thanks in advance,
      Hai

      On Sat, Mar 23, 2019 at 10:27 PM Marcus Martin marcus_martin@users.sourceforge.net wrote:

      That is the fix I used in the now released 8.1.1. Not sure how this ever
      would have worked with the previous call, but given that it is for a
      special case of rigid three-member rings that are using arbitrary trial
      distributions for CBMC it probably just never came up.

      On the topic of NNBOND=6 this theoretically works now, but the way the
      arrays are staticly allocated setting NNBOND to this level creates a very
      large number of possible dihedral terms and I think this causes the memory
      allocation to be too large for most machines.

      The fix is a more sophisticated memory allocation of the terms related to
      the number of vibrations, bending angles, and dihedral angles in each
      molecule type. Most likely this data structure would be an array of
      pointers that then point to the information required for the bonds, angles,
      and dihedrals that actually exist in each molecule, instead of the current
      method that allocates a static array based on the maximum number of bonds,
      angles, and dihedrals that could exist depending on the value of NNBOND.
      This would be relatively straight-forward if we only had the cases where
      those terms are already fully specified in towhee_input, but there is also
      the case where the molecular assembler puts molecules together in a manner
      that probably needs more of a linked-list approach instead of multiple
      pointer arrays. Possible the right answer is a temporary linked-list for
      the assembler part that then gets transfered into the pointer array
      structure and then freed back up after the assembler section is finished.

      Most likely a few weeks of work and then the code would finally compile
      for molecules with 6 bonds to a single atom. At that point theoretically
      CBMC should function properly for those systems, but this has never been
      tested so difficult to predict if more problems could surface.

      I currently do not have any funding for Towhee development so this is just
      one item on a long list of improvements that would be nice, but are not a
      priority. If you are interested in implementing this I would be happy to
      help advise and incorporate this back into the release version. I am also
      open to ideas that lead to me being paid for implementing new features in
      Towhee.

      Marcus

      Status: open
      Group: v1.0_(example)
      Created: Tue Mar 19, 2019 03:40 PM UTC by Hai HOANG
      Last Updated: Fri Mar 22, 2019 05:08 PM UTC
      Owner: Marcus Martin

      Dear developers,
      I am trying to compile towhee 8.0.0 on a cluster. I have a warning as:


      atd_cbmc_setup.F: In subroutine twh_atd_cbmc_setup':
      atd_cbmc_setup.F:523: warning: call
      twh_cbmcbendinfo(2001,imolty,iunit,ibend 1 atd_cbmc_setup.F:824:
      (continued): call twh_cbmcbendinfo(2001,imolty,iunit 2 Too few arguments fortwh_cbmcbendinfo'
      at (2) versus invocation at (1) [info -f g77 M GLOBALS]
      atd_cbmc_setup.F:523: warning:
      call twh_cbmcbendinfo(2001,imolty,iunit,ibend
      1
      atd_cbmc_setup.F:824: (continued):
      call twh_cbmcbendinfo(2001,imolty,iunit
      2


      what should I do to fix this warning?
      Thank you in advances,
      Hai


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/towhee/support-requests/5/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #5


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.