Re: Compilation failure for openblas-0.3.7-1 under OSX 10.11.6

"Homeier, Derek" <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
On 21 Feb 2020, at 2:05 pm, David Neuhaus <[email protected]> wrote:
> 
> gfortran-fsf-9 -O2 -mtune=intel -march=core2 -m128bit-long-double -Wall -frecursive -fno-optimize-sibling-calls -m64 -fPIC -L/sw/lib -all_load -headerpad_max_install_names -install_name "/sw/src/fink.build/openblas-0.3.8-1/OpenBLAS-0.3.8/exports/../libopenblas.0.dylib" -dynamiclib -o ../libopenblas.0.dylib ../libopenblas.0.a -Wl,-exported_symbols_list,osx.def  -L/sw/lib/gcc9/lib/gcc/x86_64-apple-darwin15.6.0/9.2.0 -L/sw/lib/gcc9/lib/gcc/x86_64-apple-darwin15.6.0/9.2.0/../../.. -L/sw/lib/gcc9/lib/gcc/x86_64-apple-darwin15.6.0/9.2.0 -L/sw/lib/gcc9/lib/gcc/x86_64-apple-darwin15.6.0/9.2.0/../../..  -lgfortran -lSystem -lquadmath -lm -lSystem -lgfortran -lSystem -lquadmath -lm -lSystem  
> 	cd benchmark
> 	make FC=gfortran-fsf-9 USE_THREAD=1 smallscaling veclib goto
> clang -O2 -mtune=intel -march=core2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_AVX512 -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=8 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"0.3.8\" -DASMNAME=_ -DASMFNAME=__ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -o smallscaling smallscaling.c ../libopenblas.0.a -lpthread -lgfortran -I/sw/include/libomp -L/sw/lib/gcc9/lib -lgomp -lm -lpthread

> smallscaling.c:7:10: fatal error: 'omp.h' file not found
> #include <omp.h>

OK, glad to see the patch seems to have made it in one piece, but there’s a bit missing for my
OpenMP hackaround - can you install libomp-dev?

Thanks,
				Derek


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.