You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build BLAS from source in OS X. I know I can use the Accelerate version, but I did this for testing purposes. I got the following error:
2015/04/30 18:33:38 - INFO: [package:run_job] -- The Fortran compiler identification is unknown
2015/04/30 18:33:38 - INFO: [package:run_job] CMake Error at CMakeLists.txt:2 (project):
2015/04/30 18:33:38 - INFO: [package:run_job] No CMAKE_Fortran_COMPILER could be found.
2015/04/30 18:33:38 - INFO: [package:run_job]
2015/04/30 18:33:38 - INFO: [package:run_job] Tell CMake where to find the compiler by setting either the environment
2015/04/30 18:33:38 - INFO: [package:run_job] variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
2015/04/30 18:33:38 - INFO: [package:run_job] path to the compiler, or to the compiler name if it is in the PATH.
2015/04/30 18:33:38 - INFO: [package:run_job]
2015/04/30 18:33:38 - INFO: [package:run_job]
2015/04/30 18:33:38 - INFO: [package:run_job] -- Configuring incomplete, errors occurred!
2015/04/30 18:33:38 - INFO: [package:run_job] See also "/Users/lindseybugbee/.hashdist/tmp/blas-lfhzsgupjjp6/CMakeFiles/CMakeOutput.log".
2015/04/30 18:33:38 - INFO: [package:run_job] See also "/Users/lindseybugbee/.hashdist/tmp/blas-lfhzsgupjjp6/CMakeFiles/CMakeError.log".
2015/04/30 18:33:38 - ERROR: [package:run_job] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1
2015/04/30 18:33:38 - ERROR: [package:run_job] command failed (code=1); raising
It seems from the build log that OS X does not set the environment variable FC. This is troublesome not only for BLAS, but for any library that depends on gfortran.
I believe gfortran does not come bundled with XCode anymore; however, the package is available through Homebrew. I'm opening this issue because I do not know what is the best way to solve the dependency on gfortran. I could set FC to gfortran in the prologue but that would be a profile dependent fix.
The text was updated successfully, but these errors were encountered:
You have to set FC in your profile. After we fix hashdist/hashdist#328, setting compilers will become a bit easier, but one way or another, you need to have a working Fortran compiler to build these.
Now when #727 is fixed, we should use Hashdist to build the compiler, and then use it.
I tried to build BLAS from source in OS X. I know I can use the Accelerate version, but I did this for testing purposes. I got the following error:
It seems from the build log that OS X does not set the environment variable FC. This is troublesome not only for BLAS, but for any library that depends on gfortran.
I believe gfortran does not come bundled with XCode anymore; however, the package is available through Homebrew. I'm opening this issue because I do not know what is the best way to solve the dependency on gfortran. I could set FC to gfortran in the prologue but that would be a profile dependent fix.
The text was updated successfully, but these errors were encountered: