You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by Nik via MXNet Forum <mx...@discoursemail.com.INVALID> on 2020/08/31 16:40:34 UTC

[MXNet Forum] How to build latest MXNet from source on Mac without GPU


I am struggling to do an initial build of the project from source on my Mac.

Instructions found in https://mxnet.apache.org/versions/1.6/get_started/osx_setup no longer work with the latest source as it looks like all the .mk fies were removed from source and build is done via cmake. 

Instruction in https://mxnet.apache.org/versions/1.6/get_started/build_from_source suggest looking at the location of .cmake files under `config` in source for instructions but there is not much instructions in there. 

I installed all the dependencies as instructed but running `cmake ..` fails with `Could not find nvcc, please set CUDAToolkit_ROOT`. I don't have `nvcc` installed, can i still build? What would be the right build configuration to use? 

As you can probably tell, I am no expert in this but hoping to learn more C++ by contributing, this seems like a right project to me as I'm already heavily using MXNet it as an end user.

Thanks





---
[Visit Topic](https://discuss.mxnet.io/t/how-to-build-latest-mxnet-from-source-on-mac-without-gpu/6558/1) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.io/email/unsubscribe/023d4904571367f21fd3689686b67e656d94b244c845cf16973b18abed200ec2).

[MXNet Forum] How to build latest MXNet from source on Mac without GPU

Posted by Nik via MXNet Forum <mx...@discoursemail.com.INVALID>.

hey, thanks, I'm literally in the middle of build right now, been going on for about an hour. I figured I had to copy ```cp config/distribution/darwin_cpu.cmake config.make``` but then ended up installing/uninstalling various libraries as the build was failing with some missing dependencies to finally be able to start the build. I'll update my initial question once the build completes, at 78% right now.





---
[Visit Topic](https://discuss.mxnet.io/t/how-to-build-latest-mxnet-from-source-on-mac-without-gpu/6558/3) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.io/email/unsubscribe/712722225e1c0810912cdb8ed87047be3393c78dbd925ad4f0acbfe2b30fdd5e).

[MXNet Forum] How to build latest MXNet from source on Mac without GPU

Posted by Emil Pi via MXNet Forum <mx...@discoursemail.com.INVALID>.

Hi,
I am just learning now to do that on Linux.
I think your best chance is to compile with cmake, and try both files in **master** branch:

    config/distribution/darwin_cpu.cmake
    config/darwin.cmake (set any GPU flags in file to OFF)

(they can work even if your OSX version is newer than darwin).
Copy them to mxnet repo root and follow instructions.
Have you already tried that?





---
[Visit Topic](https://discuss.mxnet.io/t/how-to-build-latest-mxnet-from-source-on-mac-without-gpu/6558/2) or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.mxnet.io/email/unsubscribe/5f73d40f74ebbe085e81f58c53b8bb3e5b1380dc017e32e2b0bfd9569c9cf797).