Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • JManuelMonroyKuhn
    Member
    • Oct 2014
    • 25

    Trinity installation error

    Hello! I want to run Trinity on a cluster. I typed 'make' and I got at the end the following errors. Could anyone help me and orient me? Thanks

    lib/misc.cc: In function 'std::string jellyfish::quote_arg(const std::string&)':
    lib/misc.cc:86: error: 'all_of' is not a member of 'std'
    make[3]: *** [lib/misc.lo] Error 1
    make[3]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins/jellyfish-2.1.3'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins/jellyfish-2.1.3'
    make[1]: *** [jellyfish] Error 2
    make[1]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins'
    make: *** [plugins] Error 2
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    See if this is applicable: https://www.biostars.org/p/105334/

    What version of GCC are you using?
    Last edited by GenoMax; 10-28-2014, 08:16 AM.

    Comment

    • JManuelMonroyKuhn
      Member
      • Oct 2014
      • 25

      #3
      More errors

      It worked!! Because I am working in a Cluster I had to module load gcc/4.9 but now I have this errors. Do you know what could be the problem?
      Thanks

      /usr/bin/ld: cannot find -lcurses
      collect2: error: ld returned 1 exit status
      make[3]: *** [samtools] Error 1
      make[3]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins/rsem-1.2.15/sam'
      make[2]: *** [sam/libbam.a] Error 2
      make[2]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins/rsem-1.2.15'
      make[1]: *** [rsem] Error 2
      make[1]: Leaving directory `/home/hpc/uj502/di29kiz/trinityrnaseq_r20140717/trinity-plugins'
      make: *** [plugins] Error 2

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        You are missing the ncurses library. Check to see if there is a module for it.

        If you are planning to run this on a cluster then I would advise asking your cluster administrators to build a module for Trinity. That way they can take care of the dependencies and when you actually run your job there will be no issues with nodes not finding things, if your home directory is not available on all compute nodes.

        Comment

        • JManuelMonroyKuhn
          Member
          • Oct 2014
          • 25

          #5
          Hi!
          I asked the cluster administrators about a module for ncurses and this was his answer:

          You can find ncurses (lib, include) with

          module load os_extension/devel
          module show os_extension/devel

          echo $DEVEL_LIB_PATH
          echo $DEVEL_INC_PATH
          echo $DEVEL_INC

          So actually ncurses is in that module but I get the same error even after
          module load os_extension/devel

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Did you load the new GCC module along with the os_externsion/devel before compiling? What OS is your cluster using?

            Do you know if *curses-dev library is installed in that module?

            Try this code and you should see where it is trying to load curses from and if there are any errors:
            Code:
            $ ld -lcurses --verbose

            Comment

            • JManuelMonroyKuhn
              Member
              • Oct 2014
              • 25

              #7
              This is what I got:

              attempt to open /usr/x86_64-suse-linux/lib64/libcurses.so failed
              attempt to open /usr/x86_64-suse-linux/lib64/libcurses.a failed
              attempt to open /usr/local/lib64/libcurses.so failed
              attempt to open /usr/local/lib64/libcurses.a failed
              attempt to open /lib64/libcurses.so failed
              attempt to open /lib64/libcurses.a failed
              attempt to open /usr/lib64/libcurses.so failed
              attempt to open /usr/lib64/libcurses.a failed
              attempt to open /usr/x86_64-suse-linux/lib/libcurses.so failed
              attempt to open /usr/x86_64-suse-linux/lib/libcurses.a failed
              attempt to open /usr/lib64/libcurses.so failed
              attempt to open /usr/lib64/libcurses.a failed
              attempt to open /usr/local/lib/libcurses.so failed
              attempt to open /usr/local/lib/libcurses.a failed
              attempt to open /lib/libcurses.so failed
              attempt to open /lib/libcurses.a failed
              attempt to open /usr/lib/libcurses.so failed
              attempt to open /usr/lib/libcurses.a failed
              ld: cannot find -lcurses

              I loaded both modules. As for my OS

              LSB Version: core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
              Distributor ID: SUSE LINUX
              Description: SUSE Linux Enterprise Server 11 (x86_64)
              Release: 11
              Codename: n/a

              Linux lxa191 3.0.101-0.35-default #1 SMP Wed Jul 9 11:43:04 UTC 2014 (c36987d) x86_64 x86_64 x86_64 GNU/Linux

              Comment

              • JManuelMonroyKuhn
                Member
                • Oct 2014
                • 25

                #8
                I just solved my problem.
                I modify the Makefile in
                trinityrnaseq_r20140717/trinity-plugins/rsem-1.2.15/sam

                I change the two lines:
                LIBPATH= -L/lrz/sys/os_extension/SLES11SP3/devel_03Jul2014/usr/lib64
                LIBCURSES= -lncurses

                Thank you for all the help!!!

                Comment

                Latest Articles

                Collapse

                • mylaser
                  Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by mylaser
                  Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                  If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                  This guide explains everything you need to know about...
                  Yesterday, 01:13 AM
                • SEQadmin2
                  Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by SEQadmin2



                  Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                  ...
                  07-09-2026, 11:10 AM
                • SEQadmin2
                  Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                  by SEQadmin2



                  Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                  There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                  07-08-2026, 05:17 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 07-09-2026, 10:04 AM
                0 responses
                19 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                11 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                26 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-02-2026, 11:08 AM
                0 responses
                31 views
                0 reactions
                Last Post SEQadmin2  
                Working...