ashtonmv / sphinx_input

Collaboration for SPHInX input representations
0 stars 0 forks source link

Sphinx on Mac Os X #2

Closed jan-janssen closed 4 years ago

jan-janssen commented 4 years ago

Hi @freyso,

Is it possible to compile Sphinx on Mac Os X? As Sam, Michael and me are using Macs it might simplify the debugging process. I could even provide a conda package for testing. I just did not find any information how to compile Sphinx on Mac Os X.

Best regards,

Jan

ashtonmv commented 4 years ago

I am also interested in this- The instructions provided in the INSTALL file work until I run ./configure, at least when I try compiling against MKL. It can't find the MKL libraries because I think they are named/organized strangely when installed on Macs. I haven't looked much into it beyond that

jan-janssen commented 4 years ago

I installed MKL via conda, then configure works fine, but I get the following error message:

Making all in sxaccelerate
make[1]: Entering directory '$SRC_DIR/sxaccelerate'
Making all in src
make[2]: *** No rule to make target 'all'.  Stop.
make[2]: Entering directory '$SRC_DIR/sxaccelerate/src'
make[2]: Leaving directory '$SRC_DIR/sxaccelerate/src'
make[1]: *** [Makefile:350: all-recursive] Error 1
make[1]: Leaving directory '$SRC_DIR/sxaccelerate'
make: *** [Makefile:345: all-recursive] Error 1

https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=142326&view=logs&j=ce7cbaa7-582c-5570-40f4-267b3d85fc9f&t=4a56039b-7269-50ae-de7a-538e91e6de06&l=461

ashtonmv commented 4 years ago

@jan-janssen you might still be running into the same/related problem- from line 398 of the azure pipeline you sent: configure: error: Cannot find Intel MKL library path. Expected /usr/local/miniconda/conda-bld/sphinxdft_1586452884650/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/intel64 or /usr/local/miniconda/conda-bld/sphinxdft_1586452884650/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/em64t

in the configure step it's treated as more of a warning, but when you try to compile it really throws hard errors.

jan-janssen commented 4 years ago

@freyso Does Sphinx support clang or only gcc ?

jan-janssen commented 4 years ago

@ashtonmv I would assume it is an issue with the *.dylib libraries of Mac OS X not being recognised.