# Installation Issues on M1 Max Macbook Pro

**URL:** <https://gromacs.bioexcel.eu/t/installation-issues-on-m1-max-macbook-pro/8484>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [March 2, 2024, 8:39am UTC](https://gromacs.bioexcel.eu/t/installation-issues-on-m1-max-macbook-pro/8484 "2024-03-02T08:39:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaracalLynx](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/caracallynx/32/2999_2.png) [@CaracalLynx](https://gromacs.bioexcel.eu/u/CaracalLynx)\
**Post date:** [March 2, 2024, 8:39am UTC](https://gromacs.bioexcel.eu/t/installation-issues-on-m1-max-macbook-pro/8484/1 "2024-03-02T08:39:40Z")

</div>

GROMACS version: 2024.1  
GROMACS modification: No

Hi, I’ve been trying to install on my MBP and my make check is not passing at 100%, and I’m not sure what’s going on. I’m trying to set this up to also utilize the GPU.

I constructed the build using this command:  
cmake … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=OFF -DCMAKE\_C\_COMPILER=gcc -DCMAKE\_CXX\_COMPILER=g++ -DGMX\_MPI=no -DGMX\_OPENMP=ON -DOpenMP\_{C,CXX}FLAGS=“-Xpreprocessor -fopenmp -l/opt/libomp/includ” -DOpenMP{C,CXX}\_LIB\_NAMES=omp -DOpenMP\_omp\_LIBRARY=/opt/homebrew/opt/libomp/libomp.dylib -DREGRESSIONTEST\_PATH=/Users/caracallynx/MD/regressiontests-2024.1

The end of my make check states this:

Label Time Summary:  
GTest = 25.73 sec_proc (83 tests)  
IntegrationTest = 7.89 sec_proc (26 tests)  
MpiTest = 14.86 sec_proc (19 tests)  
QuickGpuTest = 2.74 sec_proc (18 tests)  
SlowGpuTest = 49.10 sec_proc (17 tests)  
SlowTest = 15.80 sec_proc (13 tests)  
UnitTest = 2.04 sec\*proc (44 tests)

Total Test time (real) = 58.01 sec

The following tests FAILED:  
1 - GmxapiExternalInterfaceTests (Subprocess aborted)  
7 - NbLibSetupTests (Subprocess aborted)  
11 - TestUtilsUnitTests (Subprocess aborted)  
13 - UtilityUnitTests (Subprocess aborted)  
16 - MdlibUnitTest (Subprocess aborted)  
17 - AwhTest (Subprocess aborted)  
18 - DensityFittingAppliedForcesUnitTest (Subprocess aborted)  
19 - QMMMAppliedForcesUnitTest (Subprocess aborted)  
20 - ColvarsAppliedForcesUnitTest (Subprocess aborted)  
24 - CommandLineUnitTests (Subprocess aborted)  
31 - MathUnitTests (Subprocess aborted)  
36 - OnlineHelpUnitTests (Subprocess aborted)  
37 - OptionsUnitTests (SEGFAULT)  
39 - RandomUnitTests (Subprocess aborted)  
41 - TableUnitTests (Subprocess aborted)  
42 - TaskAssignmentUnitTests (Subprocess aborted)  
45 - PullTest (Subprocess aborted)  
47 - CompatibilityHelpersTests (Subprocess aborted)  
53 - CorrelationsTest (Subprocess aborted)  
54 - AnalysisDataUnitTests (Subprocess aborted)  
55 - CoordinateIOTests (Subprocess aborted)  
56 - TrajectoryAnalysisUnitTests (Subprocess aborted)  
59 - FileIOTests (Subprocess aborted)  
60 - SelectionUnitTests (Subprocess aborted)  
62 - MdrunModulesTests (Failed)  
63 - MdrunIOTests (Subprocess aborted)

I also tried doing a barebones build (only accounting for the switch in using the GNU GCC compilers instead of Apple’s Clang) and still get the same failed tests.

Any help would be greatly appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![CaracalLynx](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/caracallynx/32/2999_2.png) [@CaracalLynx](https://gromacs.bioexcel.eu/u/CaracalLynx)\
**Post date:** [March 16, 2024, 7:52am UTC](https://gromacs.bioexcel.eu/t/installation-issues-on-m1-max-macbook-pro/8484/2 "2024-03-16T07:52:16Z")

</div>

Update: I changed some of the flags around that I use to build, but I’m getting more or less the same failures.

cmake … -DCMAKE\_C\_COMPILER=gcc -DCMAKE\_CXX\_COMPILER=g++   
-DGMX\_FFT\_LIBRARY=fftw3   
-DFFTWF\_LIBRARY=/opt/arm/armpl\_23.10\_flang-new\_clang\_17/lib/libarmpl\_lp64.dylib   
-DFFTWF\_INCLUDE\_DIR=/opt/arm/armpl\_23.10\_flang-new\_clang\_17/include   
-DGMX\_GPU=OpenCL   
-DGMX\_OPENMP=ON   
-DREGRESSIONTEST\_DOWNLOAD=OFF   
-DREGRESSIONTEST\_PATH=/Users/caracallynx/MD/regressiontests-2024.1

End testing: Mar 16 00:00 PDT  
GTest = 30.70 sec_proc  
IntegrationTest = 14.85 sec_proc  
MpiTest = 8.81 sec_proc  
QuickGpuTest = 9.75 sec_proc  
SlowGpuTest = 114.95 sec_proc  
SlowTest = 6.59 sec_proc  
UnitTest = 9.26 sec\*proc

1:GmxapiExternalInterfaceTests  
7:NbLibSetupTests  
11:TestUtilsUnitTests  
13:UtilityUnitTests  
16:MdlibUnitTest  
17:AwhTest  
18:DensityFittingAppliedForcesUnitTest  
19:QMMMAppliedForcesUnitTest  
20:ColvarsAppliedForcesUnitTest  
24:CommandLineUnitTests  
29:GpuUtilsUnitTests  
31:MathUnitTests  
36:OnlineHelpUnitTests  
37:OptionsUnitTests  
39:RandomUnitTests  
41:TableUnitTests  
42:TaskAssignmentUnitTests  
45:PullTest  
47:CompatibilityHelpersTests  
53:CorrelationsTest  
54:AnalysisDataUnitTests  
55:CoordinateIOTests  
56:TrajectoryAnalysisUnitTests  
59:FileIOTests  
60:SelectionUnitTests  
62:MdrunModulesTests  
63:MdrunIOTests
