(CLI-MacOS) zsh: bad CPU type in executable: ./pt_mac

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kapqa
    Junior Member
    • Feb 2021
    • 16

    #1

    (CLI-MacOS) zsh: bad CPU type in executable: ./pt_mac

    Hello ,

    with newest download CLI for MacOS from 31. August i am getting error on my MacPro running BigSur


    PerformanceTest 2 % ./pt_cmd_line
    zsh: no such file or directory: ./pt_cmd_line
    rich@richs-Mac-Pro PerformanceTest 2 % ./pt_mac
    zsh: bad CPU type in executable: ./pt_mac


    thanks
  • David (PassMark)
    Administrator
    • Jan 2003
    • 11047

    #2
    What CPU is in this machine?

    Do you know if you have Rosetta 2 running on the machine?
    ( /usr/sbin/softwareupdate -install-rosetta -agree-to-license )

    Comment

    • kapqa
      Junior Member
      • Feb 2021
      • 16

      #3
      the CPU is dual X5675 (Westmere) ,
      no , there is no rosetta or rosetta 2 running on the machine.

      Comment

      • David (PassMark)
        Administrator
        • Jan 2003
        • 11047

        #4
        We'll take a deeper look.

        In the meantime can you try the version in the Mac Store
        https://www.passmark.com/products/pt_mac/download.php

        Comment

        • Richard (PassMark)
          Administrator
          • May 2010
          • 964

          #5
          It seems that the Command Line version was incorrectly compiled for M1/M2 processors only. We'll try to get a new build up shortly that should return support for x86_64 CPUs as well.



          Comment

          • Richard (PassMark)
            Administrator
            • May 2010
            • 964

            #6
            We rebuilt the executable for PerformanceTest for Mac to be Universal Binary (i.e. supports both M-Processors and x86_64). Can you please redownload the zip archive and test to see if works on your system?

            Comment

            • kapqa
              Junior Member
              • Feb 2021
              • 16

              #7
              thank you, now getting error

              Code:
              ./pt_mac: ./pt_mac: cannot execute binary file
              
              ​

              Comment

              • David (PassMark)
                Administrator
                • Jan 2003
                • 11047

                #8
                Did you set the executable flag?
                chmod a+x ./pt_mac​

                Comment

                • kapqa
                  Junior Member
                  • Feb 2021
                  • 16

                  #9
                  thank you very much,
                  that was missing (also not in the readme), could have figured it out myself.
                  now it function!

                  Comment

                  • kapqa
                    Junior Member
                    • Feb 2021
                    • 16

                    #10
                    it seems only MacOS performance test not including GPU test?
                    thank you,
                    All the best.

                    Comment

                    • Richard (PassMark)
                      Administrator
                      • May 2010
                      • 964

                      #11
                      Originally posted by kapqa
                      it seems only MacOS performance test not including GPU test?
                      Yes, currently only the CPU Test Suite and Memory Test Suite are available in the PerformanceTest for MacOC.

                      Comment

                      Working...