Menu

Compiling smina in old server

Miro
2016-04-04
2016-04-04
  • Miro

    Miro - 2016-04-04

    Hello,

    We have a server running Scientific Linux 5 and I would like to use smina on it. However, the provided static binary segfaults claiming that the kernel (2.6.18-409.el5) is too old. Therefore I would need to built smina from source on that particular machine.

    I have successfully compiled Vina and other derivatives on that server with gcc 4.1 and Boost 1.41 (installed at /usr/local).

    However, that particular combination does not seem to work for smina. I also have gcc 4.8 and Boost 1.60 in a local directory. However, even if I have modified the make files to point to the local Boost install, the compiler is still trying to use the include files from the old version at /usr/local.,

    I have three questions:

    1.- What versions of the gcc compiler are known to work?
    2.- What versions of Boost are known to work?
    3.- How can I force the compiler to use the locally-installed Boost libraries and include files?

    Best regards,

    Miro

     
  • Miro

    Miro - 2016-04-04

    OK, it is done. It compiles with gcc 4.8 and Boost 1.60 as long as Boost and Eigen3 are installed in /usr/local

     
    • David Koes

      David Koes - 2016-04-04

      FYI, changing the BOOST_INCLUDE variable in makefile_common probably
      should have done the trick.

      David Koes
      Assistant Professor
      Computational and Systems Biology
      University of Pittsburgh

      On 04/04/2016 06:52 AM, Miro wrote:

      OK, it is done. It compiles with gcc 4.8 and Boost 1.60 as long as Boost
      and Eigen3 are installed in /usr/local


      Compiling smina in old server
      https://sourceforge.net/p/smina/discussion/help/thread/6b80bc94/?limit=25#224b


      Sent from sourceforge.net because dkoes@pitt.edu is subscribed to
      https://sourceforge.net/p/smina/discussion/help/

      To unsubscribe from further messages, a project admin can change
      settings at https://sourceforge.net/p/smina/admin/discussion/forums. Or,
      if this is a mailing list, you can unsubscribe from the mailing list.

       
  • Miro

    Miro - 2016-04-04

    Thank you for the tip. It is fine. Both 1.41 and 1.60 were compiled from source, so it does not really matter which one is at /usr/local and which one is locally installed. In a way, it is better to have the newer version on a global location and use the old ones only with the codes that need them.

     

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.