Skip to content

Building and running on macOS #441

Open
@shkodm

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions