Replies: 2 comments 6 replies
-
|
The "quick" way would be to run |
Beta Was this translation helpful? Give feedback.
-
|
Oh right, PATH! Thanks so much, worked like a charm. For anyone who finds this later, I'm not sure if it mattered or not, but I noticed all the existing PATH additions in my .profile were wrapped in quotes, like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is probably user error, but wanted to report this just in case.
When configuring plotman 0.5 to use madmax, it's unable to find the command 'chia_plot'. When I was using madmax by itself, I was referencing it via its fully qualified path, so at first I thought an alias might fix it, but it did not. Eventually I ended up modifying manager.py to fully qualify the path to the chia_plot command, which did finally work.
Modified line in manager.py that works:
if plotting_cfg.type == "madmax": if plotting_cfg.madmax is None: raise Exception( "madmax plotter selected but not configured, report this as a plotman bug", ) - plot_args = ['chia_plot', + plot_args = ['/home/tyler/madmax/chia-plotter/build/chia_plot', '-n', str(1), '-r', str(plotting_cfg.madmax.n_threads), '-u', str(plotting_cfg.madmax.n_buckets), '-t', tmpdir if tmpdir.endswith('/') else (tmpdir + '/'), '-d', dstdir if dstdir.endswith('/') else (dstdir + '/') ] if dir_cfg.tmp2 is not None: plot_args.append('-2') plot_args.append(dir_cfg.tmp2 if dir_cfg.tmp2.endswith('/') else (dir_cfg.tmp2 + '/'))Not sure if this is relevant, but I updated both plotman and madmax to their latest versions today after being about 2 months out of date on both.
Is there some other method of telling linux (other than an alias) or even python that
chia_plotshould refer to a specific path? Am I missing something with setting up madmax? Or should plotman be configurable to set a custom path to chia_plot?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions