error compiling plugin_template_cpp

79 views
Skip to first unread message

Thomas Kolb

unread,
Jun 10, 2016, 4:23:40 PM6/10/16
to hoomd-users
Hi All,

I'm having some difficulties compiling the example plugin in share/hoomd/plugin_template_cpp.  I followed the README file there but keep getting the same error when I go to use ccmake (I installed hoomd in the environment 'myhoomd'):

plugin_build kolbt$ ccmake /Users/kolbt/miniconda3/envs/myhoomd/share/hoomd/plugin_template_cpp


This gives the following error:


CMake Error at FindHOOMD.cmake:90 (message):

   HOOMD Not found.  Please specify the location of your hoomd installation in

   HOOMD_ROOT

 Call Stack (most recent call first):

   CMakeLists.txt:5 (find_package)


 CMake Error at cppmodule/CMakeLists.txt:32 (fix_cudart_rpath):

   Unknown CMake command "fix_cudart_rpath".


When I go to specify HOOMD_ROOT, I write:


plugin_build kolbt$ ccmake /Users/kolbt/miniconda3/envs/myhoomd/share/hoomd/plugin_template_cpp  -DHOOMD_ROOT=/Users/kolbt/miniconda3/envs/myhoomd/bin/hoomd


And I get the same error out.  I'm running this on OS X v. 10.11.5.  I'm pretty new to hoomd (and scientific computing in general), so, any help is greatly appreciated!


Thanks,

Tom

Joshua Anderson

unread,
Jun 12, 2016, 10:26:01 PM6/12/16
to hoomd...@googlegroups.com
If you are starting new hoomd extension development, my advice is to fork hoomd and add a new package on the master branch. This is easier than trying to build an independant plugin, and there are numerous examples from all of the packages already in the code.

------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
Phone: 734-647-8244
http://www-personal.umich.edu/~joaander/

--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To post to this group, send email to hoomd...@googlegroups.com.
Visit this group at https://groups.google.com/group/hoomd-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages