Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • affi
    Junior Member
    • Feb 2014
    • 8

    #1

    TopHat installation fails

    Hi ,

    Tried installing tophat-2.0.10 . But while doing make it flags following error -

    /usr/local/samtools-0.1.19/bgzf.c:409: undefined reference to `__sync_fetch_and_add_4'
    collect2: ld returned 1 exit status
    make[2]: *** [prep_reads] Error 1
    make[2]: Leaving directory `/home/aftab/Desktop/NGS/tophat-2.0.10/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/aftab/Desktop/NGS/tophat-2.0.10'
    make: *** [all] Error 2

    Please help .
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    What OS are you using? Is it 64-bit/32-bit? Are you using the latest gcc compiler?

    Comment

    • affi
      Junior Member
      • Feb 2014
      • 8

      #3
      Originally posted by GenoMax View Post
      What OS are you using? Is it 64-bit/32-bit? Are you using the latest gcc compiler?
      Its 32bit centos 5.6 . and GCC version 4.1.2

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        You are using a very old version of GCC (current release is 4.8.2). Is there a possibility that you can upgrade?

        On a different note: If you are going to work with small genomes 32-bit OS may be ok but for large genomes (e.g. human/mouse) that would become a limitation.

        Is this a virtual machine or a real server?

        Comment

        • affi
          Junior Member
          • Feb 2014
          • 8

          #5
          Originally posted by GenoMax View Post
          You are using a very old version of GCC (current release is 4.8.2). Is there a possibility that you can upgrade?

          On a different note: If you are going to work with small genomes 32-bit OS may be ok but for large genomes (e.g. human/mouse) that would become a limitation.

          Is this a virtual machine or a real server?
          Thanks . Will upgrade and try once again . Yeah mostly going to work on human genome . Most software flags out of memory on 32 bit . Also it normal i5 machine .

          Comment

          • affi
            Junior Member
            • Feb 2014
            • 8

            #6
            Originally posted by affi View Post
            Thanks . Will upgrade and try once again . Yeah mostly going to work on human genome . Most software flags out of memory on 32 bit . Also it normal i5 machine .
            Updated the GCC version . The previous error was resolved however make again failed with the following error -

            /home/aftab/Desktop/NGS/software/bin/lib/libbam.a(bgzf.o): In function `worker_aux':
            /usr/local/samtools-0.1.19/bgzf.c:409: undefined reference to `__sync_fetch_and_add_4'
            /home/aftab/Desktop/NGS/software/bin/lib/libbam.a(bgzf.o): In function `mt_destroy':
            /usr/local/samtools-0.1.19/bgzf.c:458: undefined reference to `pthread_join'
            /home/aftab/Desktop/NGS/software/bin/lib/libbam.a(bgzf.o): In function `bgzf_mt':
            /usr/local/samtools-0.1.19/bgzf.c:445: undefined reference to `pthread_create'
            collect2: error: ld returned 1 exit status
            make[2]: *** [prep_reads] Error 1
            make[2]: Leaving directory `/home/aftab/Desktop/NGS/tophat-2.0.10/src'
            make[1]: *** [all-recursive] Error 1
            make[1]: Leaving directory `/home/aftab/Desktop/NGS/tophat-2.0.10'
            make: *** [all] Error 2

            Am i missing something ? Please help .

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Are you still using 32-bit CentOS?

              Comment

              • affi
                Junior Member
                • Feb 2014
                • 8

                #8
                Originally posted by GenoMax View Post
                Are you still using 32-bit CentOS?
                Yes am still using 32-bit centos . Is that the reason for the failed compilation ? . Am installing 64bit today . Will check again on that .

                Thanks again .

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  Possibly. See the -march flag in the answer here: http://stackoverflow.com/questions/7...etch-and-add-4 If you want to try that.

                  That said for human samples I would advise moving to 64-bit OS. You will be glad you did. Hope you have > 4GB RAM installed.

                  Comment

                  • affi
                    Junior Member
                    • Feb 2014
                    • 8

                    #10
                    Originally posted by GenoMax View Post
                    Possibly. See the -march flag in the answer here: http://stackoverflow.com/questions/7...etch-and-add-4 If you want to try that.

                    That said for human samples I would advise moving to 64-bit OS. You will be glad you did. Hope you have > 4GB RAM installed.
                    Yeah its's 8 core with 8GB RAM . Hope that helps . Will try the installation on Monday on 64bit .

                    Thanks again .

                    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
                    21 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...