Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PyroNoise on Mac OS X?

    Has anyone tried using the PyroNoise software on a Mac?

    According to the instructions, it is intended for Linux computers with MPI. OpenMPI comes bundled with Mac OS X, so I thought it might work... but I get this error when I give the 'make' command to generate the executables:

    mpicc -O3 -m64 -fexceptions -c FDist.c linking...
    mpicc -o FDist FDist.o -lm ld warning: in FDist.o, file is not of
    required architecture
    Undefined symbols:
    "_main", referenced from:
    start in crt1.10.5.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    make: *** [FDist] Error 1
    mbakker$ /Applications/PyroNoise2/FDist >

    Does anyone have any insights to share?
    Thanks!

  • #2
    Originally posted by mbakker View Post
    mpicc -O3 -m64 -fexceptions -c FDist.c
    linking...
    mpicc -o FDist FDist.o -lm
    ld warning: in FDist.o, file is not of required architecture
    I am not familiar with PyroNoise, but the error you are getting looks like FDist.c was compiled incorrectly (i.e., this is not an MPI issue). You only show part of the build logs above, but it looks like you compiler FDist.c with -m64 (meaning "compile in 64 bit mode") but then didn't try to link the final FDist executable with -m64 (i.e., it may have tried to default to 32 bit, thereby generating the architecture error).

    You should probably check the build/install instructions for PyroNoise; hopefully they'll describe compiler and linker flags and how to set them...?

    Comment


    • #3
      This is what ended up working:

      Change the first two lines of the makefile for the MPI executables (FDist, PCluster) to:

      CC = `mpicc -showme`
      CFLAGS = -O3 -m32 -fexceptions

      And this works on a MacBook Pro with Mac OS X 10.5.8

      Comment


      • #4
        Has anyone tried running PyroNoise on OS X 10.6? Specifically, what should the flags be set to in the following provided makefile:

        CC = mpicc -showme
        CFLAGS = -O3 -m64 -fexceptions
        EFLAGS =
        EFILE = FDist
        LIBS = -lm
        OBJS = FDist.o

        $(EFILE) : $(OBJS)
        @echo "linking..."
        $(CC) $(EFLAGS) -o $(EFILE) $(OBJS) $(LIBS)

        $(OBJS) : FDist.h
        $(CC) $(CFLAGS) -c $*.c

        Comment


        • #5
          MoSpeed

          Specifically, what should the flags be set to in the following provided makefile
          I am also very much interested to know the answer to your question.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Recent Innovations in Spatial Biology
            by seqadmin


            Spatial biology is an exciting field that encompasses a wide range of techniques and technologies aimed at mapping the organization and interactions of various biomolecules in their native environments. As this area of research progresses, new tools and methodologies are being introduced, accompanied by efforts to establish benchmarking standards and drive technological innovation.

            3D Genomics
            While spatial biology often involves studying proteins and RNAs in their...
            Yesterday, 07:30 PM
          • seqadmin
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-30-2024, 01:35 PM
          0 responses
          21 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          41 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          40 views
          0 likes
          Last Post seqadmin  
          Working...
          X