Menu

#45 Problem with compiling PhysiCell projects

Support request
closed
nobody
None
2022-01-06
2021-03-09
No

Greetings!
I have been trying to run some of the sample projects in PhysiCell and receiving the following error message (Image attached).

Error: invalid register for .seh_savexmm
make: *** [PhysiCell_pathology.o] Error 1

It would be great if you can suggest me how to fix this issue.
Thank you

1 Attachments

Related

Tickets: #45

Discussion

  • Paul Macklin

    Paul Macklin - 2021-03-09

    Hello!

    Could you please let us know what kind of CPU you are using?

    Also, can you run:

    make --version
    g++ --version

    And let's see what those report.

    This seems to me like a CPU architecture mismatch issue, but we can definitely work through it.

    Thanks!

     
  • Anudeep Surendran

    Dear Paul,
    Thank you for your quick response.
    My CPU is Intel(R) Core(TM) i7-1165G7 (64-bit operating system, x64-based processor).
    I run the commands you mentioned and the report is:

    C:\PhysiCell_V.1.8.0\PhysiCell>make --version
    GNU Make 3.81

    C:\PhysiCell_V.1.8.0\PhysiCell>g++ --version
    g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0

     
  • Paul Macklin

    Paul Macklin - 2021-03-09

    Thanks! (Awesome setup!)

    Huh, I wonder if march=native isn't able to correctly figure out your CPU.

    In your makefile, can you please try uncommenting out this line:

    ARCH := skylake

     
  • Paul Macklin

    Paul Macklin - 2021-03-09

    (You'll want to do a make clean before retrying)

     
  • Paul Macklin

    Paul Macklin - 2021-03-09
     
    • Randy Heiland

      Randy Heiland - 2021-03-09

      I just walked through the MinGW64/MSYS setup blog on a Windows machine that
      I hadn't done so before and built 1.8.0 sample models OK. I have lots of
      screenshots along the way if they prove useful later.

      I find it strange that, apparently, the first file it tries to compile on
      your system is in /modules, rather than /BioFVM. But maybe I'm making too
      many assumptions about how the Makefile works.

      I'd be curious to see the entirety of your "make --version" command. I see:

      C:\Users\heiland\PhysiCell_V.1.8.0\PhysiCell>make --version
      GNU Make 3.81
      Copyright (C) 2006 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.
      There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
      PARTICULAR PURPOSE.

      This program built for i686-pc-msys

      On Tue, Mar 9, 2021 at 6:17 PM Paul Macklin macklin01@users.sourceforge.net
      wrote:

      For my own reference:

      https://github.com/numpy/numpy/issues/14787

      Status: open
      Created: Tue Mar 09, 2021 10:25 PM UTC by Anudeep Surendran
      Last Updated: Tue Mar 09, 2021 11:15 PM UTC
      Owner: nobody
      Attachments:

      Greetings!
      I have been trying to run some of the sample projects in PhysiCell and
      receiving the following error message (Image attached).

      Error: invalid register for .seh_savexmm
      make: *** [PhysiCell_pathology.o] Error 1

      It would be great if you can suggest me how to fix this issue.
      Thank you


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/physicell/tickets/45/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #45

  • Paul Macklin

    Paul Macklin - 2021-03-09

    Thanks, Randy. I think it's the "this CPU is too new for march=native to handle properly" error. Seems there was a bug in gcc prior to 8.4, and we're stuck at 8.1.0 in windows.

    Probably changing to skylake will fix, Or adding the flag:

    -fno-asynchronous-unwind-tables

     
  • Anudeep Surendran

    Changing to "ARCH := skylake" in the makefile fixed the problem. Phew!
    Thanks a lot for your help.

     
  • Randy Heiland

    Randy Heiland - 2021-03-10
    • status: open --> closed
     
  • JoAc

    JoAc - 2022-01-06

    Hello thank you to have asked this question and for the answer ! I also had the same problem and uncommenting ARCH := skylake worked also :)))

     
    • Randy Heiland

      Randy Heiland - 2022-01-06

      Awesome - thanks for letting us know!

       

Log in to post a comment.