Foad S. Farimani
Foad S. Farimani
I had some progress on [this branch](https://github.com/ElmerCSC/elmerfem/tree/wip/mac) ages ago. But I don't really remember if we merged to the main branch or not.
hey @jvela018 I couldn't assign this issue to you, because you are not in this repository. 🤔
here is the issue ~~~cmake if(APPLE) # message("you need to have gcc-gfrotran installed using HomeBrew") # set(CMAKE_C_COMPILER "/usr/bin/gcc") # set(CMAKE_CXX_COMPILER "/usr/bin/g++") set(CMAKE_C_COMPILER "/usr/local/bin/gcc-10") set(CMAKE_CXX_COMPILER "/usr/local/bin/g++-10") set(CMAKE_Fortran_COMPILER "/usr/local/bin/gfortran") # set(BLA_VENDOR "OpenBLAS")...
@jvela018 you need to use [this link](https://discord.gg/wW5YWYA) to get into the Discord channel. The couple of lines I have written are not good. Also, I am not sure if making...
I opened a new feature request here on the [CMake GitLab repository](https://gitlab.kitware.com/cmake/cmake/-/issues/21976).
@jvela018 Once I wrote a small CMake script that would find the number of cores available and then run `make -j` where `N` is the number of cores available minuse...
an example from [here](https://cmake.org/cmake/help/latest/module/ProcessorCount.html): ~~~cmake include(ProcessorCount) ProcessorCount(N) MATH(EXPR N "${N}-1") if(NOT N EQUAL 0) set(CMAKE_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM} -j ${N}") endif() ~~~ and then build with `cmake --build `
# ElmerGrid: ## MSYS2 - MinGW-w64 I was able to compile ElmerGrid on MSYS2 using the MinGW-w64 compiler(s): - isolate the `elmergrid` folder - delete the `src\metis-5.1.0` folder - delete...
Dear @raback , I created a new repository for ElmerGrid [here](https://github.com/Foadsf/ElmerGrid). Your review and feedback would be highly appreciated.
The develop branch [here](https://github.com/Foadsf/ElmerGrid/tree/develop) now compiles in both MSVC-Vcpkg and MSYS2-MinGW64. @raback test and review would be highly appreciated.