Dear ATS developers and users,
I am having trouble installing ATS on my MacBook. I am getting the error “Could NOT find BLAS (missing: BLAS_LIBRARIES)”. I tried a few versions of CommandLineTools ranging from the latest (version: 15.0) to some older versions (14.3XX). I made sure that openblas is installed (brew install openblas).
I have attached CMakeOutput.log and CMakeError.log. Any help or tips will be appreciated.
System details:
Chip Apple M1 Max
macOS Ventura 13.5
ATS details:
Branch master
Thanks
Saubhagya
I think he already did downgrade CommandLineTools (I’ve had the same problem with 15.0).
This is failing on configure of TPLs. Saubhagya, can you run bootstrap with –debug_find_blas, forward the output to a file, and also send that? David might be able to discern where that is failing. It didn’t look like it was looking in the right places for Apple to me, but I didn’t have this problem with 13.3.
Ethan
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/SA1PR09MB103758DE24C5865B362F8D893A5A5A%40SA1PR09MB10375.namprd09.prod.outlook.com.
Thanks, Konstantin and Ethan, for your suggestions. Here is what I have in CMakeCache.txt (attached to this email).
//Path to a library.
BLAS_openblas_LIBRARY:FILEPATH=BLAS_openblas_LIBRARY-NOTFOUND
I removed Xcode and tried CommandLineTools 14.1 and 14.3.1. I can try a few more versions.
The output from the bootstrap with –debug_find_blas flag is attached to this email (output.log).
Thank you for your help.
Regards
Sauhbagya
You’re seeing NOTFOUND because it is failing while trying to find it. That is the default “not initialized” value. So that is expected.
Ethan
I see. I wonder if openblas installed by homebrew is causing the problem. I did try without it and still got the same error.
Regards
Saubhagya
Dear all,
The openblas-related problem was fixed by removing the XCode and using CommandLineTools version 14.3. However, now I am getting errors while building Boost. So far, I have not been able to remedy it.
The Boost error log is attached. I would appreciate any ideas you might have.
“…/amanzi_tpls-build-master-Debug/boost/boost-timestamps/boost-configure-err.log”
Thanks
Saubhagya
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/MN2PR09MB5547F519604AF59C04542EAEC2AAA%40MN2PR09MB5547.namprd09.prod.outlook.com.
Yuck, you have some inconsistency in clang, commandline tools, homebrew, and C++ standard.
Is it possible you have installed homebrew’s gcc compiler and are trying to use it with commandline tools standard libraries?
Personally, my next step would be to blow away homebrew, all xcode and CommandLineTools, then reinstall CommandLineTools v14.3, then reinstall homebrew, gfortran, and mpi (not blas), then try again. There may be a less time-intensive fix, but I’m not sure what it is.
Ethan
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/MN2PR09MB5547054659397D7AC8B0AAFEC2A8A%40MN2PR09MB5547.namprd09.prod.outlook.com.
Yes, it seems like that is the issue. when I look into boost-configure-out.log I see the message below. Time to start with a clean slate.
Building B2 engine..
A C++11 capable compiler is required for building the B2 engine.
Toolset 'clang' does not appear to support C++11.
> clang++ -x c++ -std=c++11 check_cxx11.cpp
> clang++ -x c++ -std=c++11 check_cxx11.cpp
Failed to build B2 build engine
Removing CommandLineTools, Homebrew (and all related packages), and reinstalling (in the order) CommandLineToolsV14.3, gfortran, open-mpi, and cmake did not help. Boost is still having conflicts with Clang libraries.
I also tried hacking amanzi/config/SuperBuild/include/Build_Boost.cmake to force it to use GCC from homebrew but that also did not work.
I will try reversing the order of installation of CommandLineTools and Homebrew (may not work as brew install might need CommandLineTools). If there are other ideas worth trying, I will be happy to try them.
Thanks
Saubhagya
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/MN2PR09MB5547DAC24521BE26C2EDA2BCC2A8A%40MN2PR09MB5547.namprd09.prod.outlook.com.
Hi David,
Thanks for the detailed reply. I am on macOS Ventura 13.5, so this could very well be the problem. Yes, the BLAS issue was resolved by downgrading CommandLineTools to v14.3; boost is where I am stuck. Yes, I delete all build and install directories before every new attempt.
Once I have exhausted all permutations and combinations of CommandLineTools versions and brew-installed packages, I will try building boost manually. I will see if there are any pending updates to macOS.
Best regards
Saubhagya
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB5547AD580B7D6EE16CCF6B5CC2A5A-2A40MN2PR09MB5547.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC1sRFXQ0M-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=vNRN6EQ_qicRtpLoxvt4oQeqsXscZCgoIagP7xFJqCk&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__urldefense.us_v2_url-3Fu-3Dhttps-2D3A-5F-5Furldefense.com-5Fv3-5F-2D5F-2D5Fhttps-2D3A-5F-5Fgroups.google.com-5Fd-5Fmsgid-5Fats-2D2Dusers-5FMN2PR09MB5547AD580B7D6EE16CCF6B5CC2A5A-2D2A40MN2PR09MB5547.namprd09.prod.outlook.com-2D3Futm-2D5Fmedium-2D3Demail-2D26utm-2D5Fsource-2D3Dfooter-2D5F-2D5F-2D3BJQ-2D21-2D21Bt8fGhp8LhKGRg-2D21DMPlgwvDWIj99BoNKFeLWsDNh8-2D5Fgp4GnNMzoHeU64kUjURvA6bL8TXvZKRWKZ0SYrxQa6ldKBj1-2D2Dado1207Qu4mx-2D24-26d-3DDwMFaQ-26c-3Dv4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-2DO7C4ViYc-26r-3DXw-2DNR7rAIqqldnLXRstTmg-26m-3DOaoNiZOeaxLMon1KeQC7gjRqHSeZLQBMqRIW5hPmyxojNvpEX4Zi6R1TfkWEDJbD-26s-3DFissGjUjJ1qKLBiFn4-2Dh6OC16Sv286K533LY4FvEyZE-26e-3D-5F-5F-3B-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxrRTHyT0-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=VSl6VtlmB2dvstZ869uaV_9YaZYA7RZ3phQGptTM3vg&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com<mailto:ats-users+...@googlegroups.com>.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_SA1PR09MB103758DE24C5865B362F8D893A5A5A-2A40SA1PR09MB10375.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC1dSseVSY-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=Z6XDNDcg6VPolsslFke7yiEBYq6O9UE9kpVeQEry-jY&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__urldefense.us_v2_url-3Fu-3Dhttps-2D3A-5F-5Fgroups.google.com-5Fd-5Fmsgid-5Fats-2D2Dusers-5FSA1PR09MB103758DE24C5865B362F8D893A5A5A-2D2540SA1PR09MB10375.namprd09.prod.outlook.com-2D3Futm-2D5Fmedium-2D3Demail-2D26utm-2D5Fsource-2D3Dfooter-26d-3DDwMFaQ-26c-3Dv4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-2DO7C4ViYc-26r-3DXw-2DNR7rAIqqldnLXRstTmg-26m-3DOaoNiZOeaxLMon1KeQC7gjRqHSeZLQBMqRIW5hPmyxojNvpEX4Zi6R1TfkWEDJbD-26s-3D4fImzWUsItAQXKzQeJ1GNxF3EQe1A-5FN4EEzCHkNFgS0-26e-3D-5F-5F-3B-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxU-2DfVi24-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=6HFreRqsPZi_TJu0x1AOwp4rwApeBtj2uaeGg6O-74E&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com<mailto:ats-users+...@googlegroups.com>.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB5547F519604AF59C04542EAEC2AAA-2A40MN2PR09MB5547.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC1uagqMjs-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=PbzflwYxi9L7DlrjRAkruAnMdJ0JJTHgMKjAdafAXNs&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__urldefense.us_v2_url-3Fu-3Dhttps-2D3A-5F-5Fgroups.google.com-5Fd-5Fmsgid-5Fats-2D2Dusers-5FMN2PR09MB5547F519604AF59C04542EAEC2AAA-2D2540MN2PR09MB5547.namprd09.prod.outlook.com-2D3Futm-2D5Fmedium-2D3Demail-2D26utm-2D5Fsource-2D3Dfooter-26d-3DDwMFaQ-26c-3Dv4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-2DO7C4ViYc-26r-3D6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w-26m-3D58VtEGY1-5FhA6VORn0MEqheB81un3AJd0fJhlFAyijO1Ag8DkQsYmebkviYc6DDs3-26s-3Db9b8hXgHRGTRvJprep2KMCAYw4itUjwmqVPwG3q4jr8-26e-3D-5F-5F-3B-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxA-2DQaAHk-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=77PoelTOhDr2yCBVHcRhmQlmtHUir7FOofGH13uD3FU&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com<mailto:ats-users+...@googlegroups.com>.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB5547054659397D7AC8B0AAFEC2A8A-2A40MN2PR09MB5547.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC1H8v-2Dftw-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=ww6r0R8wclA7jv_e3JbZbSUaYAByxCCEftYj2ThwwT0&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__urldefense.us_v2_url-3Fu-3Dhttps-2D3A-5F-5Fgroups.google.com-5Fd-5Fmsgid-5Fats-2D2Dusers-5FMN2PR09MB5547054659397D7AC8B0AAFEC2A8A-2D2540MN2PR09MB5547.namprd09.prod.outlook.com-2D3Futm-2D5Fmedium-2D3Demail-2D26utm-2D5Fsource-2D3Dfooter-26d-3DDwMFaQ-26c-3Dv4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-2DO7C4ViYc-26r-3DXw-2DNR7rAIqqldnLXRstTmg-26m-3DotnC0-5FQXHPdRWe9TkZxJ-5Fxws3REoHSp350805OcKb8ewKOFvsYtD5CQxh2cWwN-2D0-26s-3DhlHHm-2DbM6mfQ02S5TWgpsetsXR4P5Hed3lH7qUVx9Qg-26e-3D-5F-5F-3B-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxDkbNXg0-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=D8Ld09vSttiR7KpgZwhO5BeYQcY0fpCxgCNdB-eDTcs&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com<mailto:ats-users+...@googlegroups.com>.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB5547DAC24521BE26C2EDA2BCC2A8A-2A40MN2PR09MB5547.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC11GbnpDk-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=JsWr3S3lC4ndLFTesE60iVWheHudFLk42AguwfLKnRw&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__urldefense.us_v2_url-3Fu-3Dhttps-2D3A-5F-5Fgroups.google.com-5Fd-5Fmsgid-5Fats-2D2Dusers-5FMN2PR09MB5547DAC24521BE26C2EDA2BCC2A8A-2D2540MN2PR09MB5547.namprd09.prod.outlook.com-2D3Futm-2D5Fmedium-2D3Demail-2D26utm-2D5Fsource-2D3Dfooter-26d-3DDwMFaQ-26c-3Dv4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-2DO7C4ViYc-26r-3D6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w-26m-3D6erBoHYJ9Q7LXKnd-2DjHvNtJoD4eKfMHoET3l2vWjkFxbuU1lyA44h6twNuZX-2DSrz-26s-3DMPKwOPDOZDaNQ2TtWYpfpZgkdN3X0K-2Dk-5F1zVqL17BmU-26e-3D-5F-5F-3B-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxfmCM6M4-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=Yrw3yAK3jm2x4vsceT4CSOWp6szBqr-SPuUoO5FXseM&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com<mailto:ats-users+...@googlegroups.com>.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB554783464D1BE8F6A8CE0D8CC2A8A-2A40MN2PR09MB5547.namprd09.prod.outlook.com-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21EFlqCKieseSINBINx0cHALN1FL8e4vR1FHErxdqHkNEe-2D9Vu0p2eEoD7FJ6mpOoZEpU6AzC5zQEYePC1G6i1CvE-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=5qXon3vyefHET3zPr37YRMMuOaMi9EtCIOLgY5xRXlk&e= <https://urldefense.us/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__groups.google.com_d_msgid_ats-2Dusers_MN2PR09MB554783464D1BE8F6A8CE0D8CC2A8A-2A40MN2PR09MB5547.namprd09.prod.outlook.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter-5F-5F-3BJQ-21-21Bt8fGhp8LhKGRg-21ApiCoZC6JN6h4Yx1ear-5FJ1xURwsZqVeY7EVwr9DH-5F5bJvTrzDAEHiSBImTagXfE77COOtfO5AAcQHVbxZXltRso-24&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=NcQiEOA5vFRlgVrVFtVTOEp6dVDzb7mg0ybYEHd_O44&e= >.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com.
To view this discussion on the web visit https://urldefense.us/v2/url?u=https-3A__groups.google.com_d_msgid_ats-2Dusers_PH0PR09MB1100723305C828CFB68D013BCCBA8A-2540PH0PR09MB11007.namprd09.prod.outlook.com&d=DwIFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=6mgRDl6EnOGLcBXDAqBJPYV7g5qIlKvZcIgfF4j092w&m=fyss14NnlYY30ETzcj3H38RNYalXLywvLF03-9aPoslCpUM1X13_AfTjhFw38mOH&s=f57WTUuAoIzeS9oK63vBnZdNxjAwAZO8Fa4qfKY9ACA&e= .
I’m confused by this statement:
You should not have a gcc from homebrew, and if you do, that’s probably the problem.
You might have /usr/bin/gcc, which is actually clang, and you should have /opt/homebrew/bin/gfortran, but you should not have /opt/homebrew/bin/gcc.
Yes, you are right. I do have gcc from homebrew.
Sorry, the previous email got sent prematurely. Yes, I do have gcc from homebrew as well which might be causing the issue. Should I create softlink then?
(base) ➜ ~ which gcc
/opt/homebrew/bin/gcc

Thanks
Saubhagya
I may not be making too much sense here, but I will try. I cannot get rid of /opt/homebrew/bin/gcc as it is required by open-mpi. Any workaround for this?
At some point you either manually or somehow in responding to a homebrew prompt, symlinked the Gnu C Compiler into /opt/homebrew/bin.
brew install gcc
without symlinking should have put gcc into a folder – for me, I have:
/opt/homebrew/Cellar/gcc/13.2.0/bin/gcc-13
AND
/opt/homebrew/bin/gcc-13 (a symlink to the first one)
But I do _not_ have /opt/homebrew/bin/gcc. You likely have a link from /opt/homebrew/bin/gcc to /opt/homebrew/Cellar/gcc/X.Y.Z/bin/gcc-X.
By symlinking gcc into /opt/homebrew/bin, when you installed open-mpi, it used that gcc, and so you likely have something like:
mpicc -show
gives:
??? -I/opt/homebrew/Cellar/open-mpi/4.1.5/include -L …
For me, ??? is clang
For you, it is probably either gcc or /opt/homebrew/bin/gcc?
You should be able to delete the symlink that you currently have, confirm that `which gcc` gives /usr/bin/gcc (which is really clang), then reinstall open-mpi. Then you should not see these conflicts of standard libraries, where you are trying to use the clang std library with the gcc compiler.
If starting fresh with a clobbered /opt/homebrew, `brew install gcc`; `brew install open-mpi` should not create /opt/homebrew/bin/gcc, leaving clang as your primary C/C++ compiler and as the compiler used by open-mpi.
Alternatively, there should also be a way to install the Gnu standard libraries and use Gnu std libraries with the gcc compiler you have. I’m not sure how to do that.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/SA1PR09MB110019C693713F163C9591EE6CBB2A%40SA1PR09MB11001.namprd09.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/SA0PR09MB6953301300FAC701EE286A4FA9B2A%40SA0PR09MB6953.namprd09.prod.outlook.com.
Thanks everyone for the help. I clobbered /opt/homebrew and reinstalled homebrew, installed gfortran and openmpi. My which gcc is now /usr/local/bin/gcc, however when I do gcc –version, it points to homebrew.

My mpicc -show seems to be what we want to see:
clang -I/opt/homebrew/Cellar/open-mpi/4.1.6/include -L/opt/homebrew/Cellar/open-mpi/4.1.6/lib -L/opt/homebrew/opt/hwloc/lib -L/opt/homebrew/opt/libevent/lib -lmpi
Bootstrap fails when it tries to build cmake (log attached). This is because my cmake version is less than required.
When I try again after “brew install cmake”, bootstrap fails at boost building step.
Is this related to the issue Fengming pointed out?
Thanks
Saubhagya
So, finally, I was able to install ATS. I thought I would do a report-out to help others who may have similar issues.
My original issue was primarily due to BLAS libraries not being detected during the ATS installation process. The issue potentially arose because of some updates to XCode. This was resolved by removing XCode and downgrading CommandLineTools (to version 14.3).
My second issue appeared related to compiler inconsistencies (I still don’t know why) during the boost (one of the TPLs) configure step. This was difficult to track down, and I made the matter worse by symlinking gcc into /opt/homebrew/bin and /usr/local/bin, and then installing open-mpi. I cleaned my environment, clobbered /opt/homebrew and reinstalled homebrew, installed gfortran and openmpi.
Despite these efforts, the problem persisted until Ethan recommended removing an erroneously created symlink (MacOSX.sdk -> MacOSX13.3.sdk) in the SDKs folder. This solution resolved the Boost issue, enabling successful ATS installation.
For future MacOS installations, I plan to follow these steps before starting the bootstrap process:
Special thanks to Ethan, Konstantin, Fengming, and David for their guidance, and to everyone for their patience with the numerous emails.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/DM6PR09MB5542B8A7921661F5176EA8BDC2B1A%40DM6PR09MB5542.namprd09.prod.outlook.com.
Do ATS have to be loaded on a Ubuntu server base or desktop (Ubuntu 23.04)?
From: ats-...@googlegroups.com <ats-...@googlegroups.com>
On Behalf Of Ethan Coon
Sent: Wednesday, November 15, 2023 7:12 AM
To: Rathore, Saubhagya <rath...@ornl.gov>
Cc: Coon, Ethan <coo...@ornl.gov>; Fengming Yuan <fmy...@gmail.com>; ats-...@googlegroups.com
Subject: Re: [EXTERNAL] Re: ATS installation error: Could NOT find BLAS (missing: BLAS_LIBRARIES)
I’m fairly confident that the underlying problem was multiple SDK installations (multiple versions of Xcode/commandline tools). If you upgrade a mac and see this problem, making sure to really clear out the old SDK before installing the new
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/CAPG99X497L0uADaH9Q9oByEjvM38_u1L6gPgx0rAOosY-mgCkQ%40mail.gmail.com.