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

Pressure solve does not converge for ARM macs using Xcode command line tools >= v15.0 #828

Open
kent0 opened this issue Mar 27, 2024 · 0 comments

Comments

@kent0
Copy link
Contributor

kent0 commented Mar 27, 2024

Steps to reproduce:

  1. Starting with a clean slate M3 mac, install homebrew
  2. install gcc, open-mpi, and wget
  3. make genmap
  4. go to short_tests/eddy
  5. copy SIZE.legacy to SIZE
  6. run genmap
  7. ../../bin/makenek eddy_uv
  8. ../../bin/nekbmpi eddy_uv 1

Here's an excerpt from the last part of the logfile:

Step    152, t= 1.5200000E-02, DT= 1.0000000E-04, C=  4.009 1.0165E+01 6.9211E-02
             Solving for fluid
        152  Project VELX           8.9539E+05   1.6172E+06   1.8061E+00   8   8
        152  Hmholtz VELX       9   1.7057E-13   2.6830E+06   1.0000E-12
        152  Project VELY           5.6424E+05   8.0469E+05   1.4261E+00   8   8
        152  Hmholtz VELY       9   1.2943E-13   1.6741E+06   1.0000E-12
        152  Project PRES           2.3511E+08   3.4920E+08   1.4853E+00   7  20
        152  U-PRES gmres     120   1.8309E+03   1.2824E+04   1.0000E-09   1.7836E-02   6.0222E-02
        152  Fluid done  1.5200E-02  6.6488E-02
  152  1.520000E-02  1.721998E+03  1.721782E+03  2.961571E+00  1.000000E+00  X err
  152  1.520000E-02  8.514114E+02  8.504234E+02  1.987295E+00  3.000000E-01  Y err
  152  1.520000E-02  1.526755E+06  1.526755E+06  3.471601E+00                P err
 CFL, Ctarg!   7.1379413802815632       0.50000000000000000     

      153  1.5200E-02 Write checkpoint
       FILE:eddy_uv0.f00003                                                                                                                     
 min/max:   0.0000       6.2832       0.0000       6.2832       0.0000       0.0000    
 min/max:  -1572.9       1721.8      -778.82       850.42       0.0000       0.0000    
 min/max: -0.19336E+07  0.15197E+07

      153  1.5200E-02 done :: Write checkpoint
                              file size =     329.E-06GB
                              avg data-throughput =     0.2GB/s
                              io-nodes =     1

        
  Emergency exit:         153    time =   1.5199999999999964E-002
  Latest solution and data are dumped for post-processing.
  *** STOP ***

I also had issue with my M1 mac which was working fine under Ventura, but saw compilation issues as I updated Xcode to v15.0. I later reverted to v14 and everything worked as before. When I updated my whole OS, I was forced to use the latest Xcode and I'm faced with the same issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant