Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Axis-symmetric simulation not supported on Darwin #470

Open
waltsims opened this issue Sep 18, 2024 · 0 comments · Fixed by #476
Open

[BUG] Axis-symmetric simulation not supported on Darwin #470

waltsims opened this issue Sep 18, 2024 · 0 comments · Fixed by #476
Labels
bug Something isn't working

Comments

@waltsims
Copy link
Owner

Describe the bug
When running the example examples/at_focused_bowl_AS/at_focused_bowl_AS.py, Users are presented with the following binary error message:

┌───────────────────────────────────────────────────────────────┐
│                   kspaceFirstOrder-OMP v1.3                   │
├───────────────────────────────────────────────────────────────┤
│ Reading simulation configuration:                        Done │
│ File format version:                                      1.2 │
│ Number of CPU threads:                                     10 │
│ Processor name:                                               │
├───────────────────────────────────────────────────────────────┤
│                      Simulation details                       │
├───────────────────────────────────────────────────────────────┤
│ Domain dimensions:                                  144 x 109 │
│ Medium type:                                               AS │
│ Simulation time steps:                                   2400 │
├───────────────────────────────────────────────────────────────┤
│ Input file:  /var/folders/_t/rb3njlf11tgf4_0f57j62dk80000gq/  │
│              T/18-Sep-2024-14-09-02_kwave_input.h5            │
│ Input file:  /var/folders/_t/rb3njlf11tgf4_0f57j62dk80000gq/  │
│              T/18-Sep-2024-14-09-02_kwave_output.h5           │
├───────────────────────────────────────────────────────────────┤
│ Compression level:                                          0 │
│ Print progress interval:                                   5% │
├───────────────────────────────────────────────────────────────┤
│                        Medium details                         │
├───────────────────────────────────────────────────────────────┤
│ Wave propagation:                                      Linear │
│ Absorption type:                                     Lossless │
│ Medium parameters:                                Homogeneous │
├───────────────────────────────────────────────────────────────┤
│                        Source details                         │
├───────────────────────────────────────────────────────────────┤
│ Pressure source:                                              │
│ + Source type:                                           Many │
│ + Source condition:                                  Additive │
│ + Memory usage:                                       19.47MB │
├───────────────────────────────────────────────────────────────┤
│                        Sensor details                         │
├───────────────────────────────────────────────────────────────┤
│ Sensor mask type:                                       Index │
│ Sampling begins at time step:                            2341 │
├───────────────────────────────────────────────────────────────┤
│ Pressure sensor p_raw                                         │
│ + File usage:                                          2.04MB │
├───────────────────────────────────────────────────────────────┤
│                        Initialization                         │
├───────────────────────────────────────────────────────────────┤
│ Memory allocation:                                       Done │
│ Data loading:                                                 │
│ + Reading input file:                                    Done │
│ + Creating output file:                                  Done │
│ Elapsed time:                                           0.02s │
├───────────────────────────────────────────────────────────────┤
│ FFT plans creation:                                    Failed │
└───────────────────────────────────────────────────────────────┘


Errors:
WARNING:root:Highest prime factors in each dimension are [  3 109]
WARNING:root:Use dimension sizes with lower prime factors to improve speed

libgomp: Affinity not supported on this configuration
┌───────────────────────────────────────────────────────────────┐
│            !!! K-Wave experienced a fatal error !!!           │
├───────────────────────────────────────────────────────────────┤
│ Error: Cannot create plan 1D real-to-real FFT of kind 5 in y  │
│        direction.                                             │
├───────────────────────────────────────────────────────────────┤
│                      Execution terminated                     │
└───────────────────────────────────────────────────────────────┘

Expected behavior
This example should run without issue.

Desktop (please complete the following information):

  • OS: MacOS
  • Version v0.3.4
@waltsims waltsims added the bug Something isn't working label Sep 18, 2024
@waltsims waltsims changed the title [BUG] Axis-symmetric simulation not supported on Darwing [BUG] Axis-symmetric simulation not supported on Darwin Sep 19, 2024
@waltsims waltsims reopened this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant