mimblewimble / grin-miner

Standalone miner for grin
Apache License 2.0
296 stars 153 forks source link

PluginNotFoundError #259

Open armanschwarz opened 3 years ago

armanschwarz commented 3 years ago

I have the following miner plugin configuration:

[[mining.miner_plugin_config]]                                                   
plugin_name = "ocl_cuckarood"                                                    
[mining.miner_plugin_config.parameters]                                          
# 0 for default, 1 for AMD, 2 for NVidia, specify if you have                    
# cards from both vendors                                                        
platform = 0                                                                     
# ID withing the platform                                                        
device = 0

When I run ./target/debug/grin-miner I get the following:

arman@arman-ubuntu:~/grin-miner$ ./target/debug/grin-miner 
Starting Grin-Miner from config file at: /home/arman/grin-miner/grin-miner.toml
Error loading plugins. Please check logs for further info.
Error details:
PluginNotFoundError("/home/arman/grin-miner/target/debug/plugins/ocl_cuckarood.cuckooplugin - DlOpen { desc: \"/home/arman/grin-miner/target/debug/plugins/ocl_cuckarood.cuckooplugin: cannot open shared object file: No such file or directory\" }")
Exiting

This seems strange to me as the target of the install_ocl_plugins.sh script only produces files named "ocl_cuckaroo.cukooplugin". So where is "ocl_cuckarood.cuckooplugin" supposed to come from?