Code Monkey home page Code Monkey logo

Comments (3)

hanbin973 avatar hanbin973 commented on June 27, 2024

The original error I used to get was
CXX src/caffe/layer.cpp CXX src/caffe/data_transformer.cpp CXX src/caffe/util/db_lmdb.cpp CXX src/caffe/util/blocking_queue.cpp CXX src/caffe/util/hdf5.cpp CXX src/caffe/util/math_functions.cpp CXX src/caffe/util/signal_handler.cpp CXX src/caffe/util/benchmark.cpp In file included from src/caffe/util/hdf5.cpp:1: In file included from ./include/caffe/util/hdf5.hpp:9: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/hdf5.o' failed make: *** [.build_release/src/caffe/util/hdf5.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/caffe/util/db_lmdb.cpp:2: In file included from ./include/caffe/util/db_lmdb.hpp:10: In file included from ./include/caffe/util/db.hpp:6: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/db_lmdb.o' failed make: *** [.build_release/src/caffe/util/db_lmdb.o] Error 1 In file included from src/caffe/util/signal_handler.cpp:7: In file included from ./include/caffe/util/signal_handler.h:5: In file included from ./include/caffe/solver.hpp:7: In file included from ./include/caffe/net.hpp:10: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/signal_handler.o' failed make: *** [.build_release/src/caffe/util/signal_handler.o] Error 1 In file included from src/caffe/data_transformer.cpp:8: In file included from ./include/caffe/data_transformer.hpp:6: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/data_transformer.o' failed make: *** [.build_release/src/caffe/data_transformer.o] Error 1 In file included from src/caffe/util/math_functions.cpp:21: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/math_functions.o' failed make: *** [.build_release/src/caffe/util/math_functions.o] Error 1 In file included from src/caffe/util/benchmark.cpp:3: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/benchmark.o' failed make: *** [.build_release/src/caffe/util/benchmark.o] Error 1 In file included from src/caffe/layer.cpp:2: In file included from ./include/caffe/layer.hpp:8: In file included from ./include/caffe/blob.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/layer.o' failed make: *** [.build_release/src/caffe/layer.o] Error 1 In file included from src/caffe/util/blocking_queue.cpp:4: In file included from ./include/caffe/data_reader.hpp:8: In file included from ./include/caffe/common.hpp:19: In file included from ./include/caffe/util/device_alternate.hpp:48: ./include/caffe/util/cudnn.hpp:6:10: fatal error: 'miopen.h' file not found #include <miopen.h> ^~~~~~~~~~ 1 error generated. Died at /opt/rocm/bin/hipcc line 452. Makefile:624: recipe for target '.build_release/src/caffe/util/blocking_queue.o' failed make: *** [.build_release/src/caffe/util/blocking_queue.o] Error 1
so I sym linked all the header files in /opt/rocm/miopen and etc to /usr/include.
then the resulting error looked like my original question.

from miopen.

hanbin973 avatar hanbin973 commented on June 27, 2024

Fixed after using hipCaffe-developer branch

from miopen.

dagamayank avatar dagamayank commented on June 27, 2024

cc\ @parallelo
@snumed thanks. We also merged the hip-develop branch to hip branch on our end. So you can now use the hip branch.

Closing this issue as it was not a MIOpen issue per-se.

from miopen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.