Unconfigured Ad

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

    #1

    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

                • SEQadmin2
                  Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                  by SEQadmin2



                  Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                  Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                  ...
                  10-14-2026, 09:55 AM
                • SEQadmin2
                  New Genomics Technologies Take Aim at Long-Standing Limits
                  by SEQadmin2


                  Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                  We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                  ...
                  09-28-2026, 10:25 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                17 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                26 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-13-2026, 09:56 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-09-2026, 11:14 AM
                0 responses
                28 views
                0 reactions
                Last Post SEQadmin2  
                Working...