-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Error while running the mxnet spark examples and test cases #13853
Comments
@mxnet-label-bot add [Scala] |
Thanks for @thomelane raising it here. Add a bunch of Scala guru here: |
@adwivedi , Your issue for running the examples should be resolved by this PR : #13849 and #13891. These fixes are now merged into master. And yes. the java library path that you are setting is the correct one. |
@piyushghai The error still persists. You can reproduce it by un-commenting the test = Also, the latest version in master doesn't respect the |
@piyushghai The path of the jars are still incorrect / incomplete. I've fixed this in this pull request, here : #14020 However there's still one problem, with the latest changes. The mxnet shared library fails to build when
|
@aashudwivedi Thanks for making the fix to the calsspath problem for the Spark issue. Can you point me to the specific build instructions you followed to build the mxnet shared library ? |
Here's what I did to build the libmxnet.so from source :
Here's the instance info on which I built mxnet:
|
I am building it on macOS High Sierra 10.13.6.
Here's the instance info :
Here are the details of xcode:
I've also attached the config.log from |
cannot reproduce the same issue with High Sierra. Here is the list of dependencies I installed:
|
@aashudwivedi Any luck with these above steps ? |
@piyushghai unfortunately I still have the same problem and I am not sure what other information I should provide you to be able to reproduce this. |
From the previous message:
Have checked your C compiler |
Opening issue on behalf of @adwivedi on the discussion forum (https://discuss.mxnet.io/t/error-while-running-the-mxnet-spark-examples-and-test-cases/2720).
Quotes from the thread...
I am trying to run the mxnet in distributed mode using spark as implemented here : /~https://github.com/apache/incubator-mxnet/tree/master/scala-package/spark
but I am not able to run the examples and/or tests.
The commented tests in the file : /~https://github.com/apache/incubator-mxnet/blob/master/scala-package/spark/src/test/scala/org/apache/mxnet/spark/MXNetGeneralSuite.scala keep running into the following error. I get the same error when I try to run the examples in the repo.
I have seen this error generally when there’s a mismatch between the scala versions in the api, but in this case I am using the using the pom file that’s in the project and not including any external libraries.
I have also looked at the pom file but I’ve not found any lib that might have a mismatch in this case, all the libraries in pom are 2.11 version
I am building it from source, running it with this vm parameter : -
to let it find the native library.
The text was updated successfully, but these errors were encountered: