Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • (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

  • #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


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

      Comment


      • #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


        • #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


          • #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


            • #7
              thank you, now getting error

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

              Comment


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

                Comment


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

                  Comment


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

                    Comment


                    • #11
                      Originally posted by kapqa View Post
                      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...
                      X