Yves-CHEN / DENTIST

DENTIST (Detecting Errors iN analyses of summary staTISTics) is a QC tool for summary-data-based analyses.
GNU Lesser General Public License v3.0
21 stars 6 forks source link

Something is wrong with makefile? #17

Open heihaheihaha opened 1 year ago

heihaheihaha commented 1 year ago

I fall to install it on my macbook m2, here is what I do and what it returned. heihaheihaha@s-MacBook-Pro ~/data_a/bin $ git clone https://github.com/Yves-CHEN/DENTIST Cloning into 'DENTIST'... remote: Enumerating objects: 370, done. remote: Counting objects: 100% (370/370), done. remote: Compressing objects: 100% (186/186), done. remote: Total 370 (delta 248), reused 283 (delta 177), pack-reused 0 Receiving objects: 100% (370/370), 360.36 KiB | 1.68 MiB/s, done. Resolving deltas: 100% (248/248), done. (base) heihaheihaha@s-MacBook-Pro ~/data_a/bin $ cd DENTIST/ (base) heihaheihaha@s-MacBook-Pro ~/data_a/bin/DENTIST $ make Creating builts dirs mkdir -p builts /Applications/Xcode.app/Contents/Developer/usr/bin/make -C main /Applications/Xcode.app/Contents/Developer/usr/bin/make -C stats g++ -DEIGEN_NO_DEBUG -DUSEDOUBLE -DNDEBUG -fpic -g -O3 -fopenmp -std=gnu++11 -Wno-deprecated -c dcdflib.cpp -o dcdflib.o clang: error: unsupported option '-fopenmp' make[2]: [dcdflib.o] Error 1 make[1]: [stats] Error 2 make: *** [main/main.a] Error 2

heihaheihaha commented 1 year ago

I know it caused by my system, But I have no idea about how to fix this problem, can anynoe give me some ideas?

Yves-CHEN commented 1 year ago

Thanks very much for your interest. Yes. As you said, it is due to the system, in particular, the GCC does not support OpenMP. I try to search for how to get a different compiler that supports OpenMP for your Mac.