Giter Club home page Giter Club logo

Comments (8)

rotheconrad avatar rotheconrad commented on June 15, 2024 1

@bede I didn't try the instructions. I abandoned running it on OS X and I'm just running it in Linux. Everything there is working fine.

from fastani.

cjain7 avatar cjain7 commented on June 15, 2024

Are you using Clang for C++ compilation? Also, did you install libomp via brew as mentioned in the install instructions?

from fastani.

bede avatar bede commented on June 15, 2024

Thanks Chirag. I am using Clang, but was attempting to run the OS X binary release rather than building from source.

Yes libomp is also installed, but I don't know much about dylibs on OS X, so am likely doing something silly…

from fastani.

cjain7 avatar cjain7 commented on June 15, 2024

Can you start the installation process from source in a different directory? Shouldn't take long if you already have Clang and libomp.

from fastani.

bede avatar bede commented on June 15, 2024

Right, I'd figured out the additonal Darwin CXXFLAGS needed to Makefile.in and forked the repo in order to PR, only to see you'd already commited the same change to master since the last release 😅

ifeq ($(UNAME_S),Darwin)  #macOS clang
	CXXFLAGS += -mmacosx-version-min=10.7 -stdlib=libc++ -Xpreprocessor -fopenmp -lomp

For me (OS 10.12.6) the process was therefore

$ ./bootstrap.sh
$ ./configure --with-gsl=/usr/local/Cellar/gsl/2.5
$ make

Perhaps you could tag a new binary and/or source release that works for Mac users : )

from fastani.

rotheconrad avatar rotheconrad commented on June 15, 2024

I got this similar error with macOS 10.13.6 trying to use fastani-OSX64-v1.1.tar.gz
So the dependency-free binary for macOS does not appear to work. It would be really cool if it did.

fastANI -r E_coli_randomG_0001.fna -q E_coli_randomG_0002.fna -o temp.ani
>>>>>>>>>>>>>>>>>>
Reference = [E_coli_randomG_0001.fna]
Query = [E_coli_randomG_0002.fna]
Kmer size = 16
Fragment length = 3000
Threads = 1
ANI output file = temp.ani
>>>>>>>>>>>>>>>>>>
dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: /Users/rothconrad/Downloads/ReSearch/fastani-OSX64-v1.1//./libgomp.1.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___emutls_get_address
  Referenced from: /Users/rothconrad/Downloads/ReSearch/fastani-OSX64-v1.1//./libgomp.1.dylib
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

from fastani.

bede avatar bede commented on June 15, 2024

Yeah, no release has been tagged since I opened this, and the OS X bin is still broken. Do my instructions work for you @rotheconrad ? You'll need a clone or tarball of master.

from fastani.

cjain7 avatar cjain7 commented on June 15, 2024

I've marked a new release (1.2) today, sorry for the delay :)
The pre-built binary is provided for linux users; mac users are recommended to build from source.

from fastani.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.