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

Building and running on macOS #441

Open
shkodm opened this issue Aug 4, 2023 · 2 comments
Open

Building and running on macOS #441

shkodm opened this issue Aug 4, 2023 · 2 comments

Comments

@shkodm
Copy link
Member

shkodm commented Aug 4, 2023

I fixed building TCLB on macOS. Main issues are related to sed, and find being non compatible between macOS and Linux's, so some options had to be adjusted.

The error is something like:

Error in `.rowNamesDF<-`(x, value = value) :
  duplicate 'row.names' are not allowed

The commit with fixed build (don't think the changes are needed in the main repo yet, because not many people are using it on Mac probably, but wanted to have it somewhere for people in the future) - shkodm@71ab67f

Apart from this everything worked smoothly, installed most of dependencies via homebrew via install.sh script.

With mpirun -np 4 CLB/d2q9/main flow/2d/karman.xml I get (on M2 chip)

  ]    ---- : Adding VTK to the solver hands
  1 [  ]    ---- : Setting action Solve at 10000.000000 iterations
75  [  ]    118.9 MLBUps     17.36 GB/s [                    ]  0s^M[  ]    ---- :    121.9 MLBUps     17.80 GB/s [====================]
  1 [  ]    ---- :     1000 it writing vtk
  2 [  ]    ---- :    120.9 MLBUps     17.65 GB/s [====================]
  3 [  ]    ---- :     2000 it writing vtk

around 120 MLBUps this is quite good actually. On the QuadroP200 I get 2000MLBUps

@shkodm shkodm changed the title Running on macOS Building and running on macOS Aug 4, 2023
@shkodm
Copy link
Member Author

shkodm commented Aug 4, 2023

Also remembered, that there was a problem with relative-to in rtemplate. I will fix it soon

@shkodm
Copy link
Member Author

shkodm commented Jan 15, 2024

Should be resoled after llaniewski/rtemplate#9 and #493 are merged.

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