The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Dinamically setting directory path throws: wrong parameter range format

RPDECORPDECO Member Posts: 2 Learner I
edited June 2020 in Help
I'm using RM 7.0.1 version with the parallel extension. I'm trying to set a path dinamically over multiple threads

i've got a basepath, inside the basepath there are N folders called just 1..2..N
I've made a macro that generates the base path and a loop parameters (parallel) operator that should dinamically set the 'directory' field of a loop file operator inside to navigate one of the inside folders according to thread.

in the loop parameters  (parallel) i've made a list of values for the interior loop files operator like this:
%{basepath}\1\
%{basepath}\2\
%{basepath}\...\
%{basepath}\N\

assume basepath was set previously in a macro to a value like: C:\My\Path, and we're using only subfolders 1 and 2,  what I get is an error:
PM SEVERE: Process failed: Illegal value for parameter Loop Files.directory: Unknown parameter value specification format: ' C:\My\Path\1\, C:\My\Path\2\' Error: wrong parameter range format.
 
(the path printed to the console are the actual, existing and correct paths that needs to be iterated






Best Answer

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi @RPDECO,
    sorry, but 7.0 is very old, also the parallel extension got deprecated, since the functionality got moved into core and had it had some issues. Did you try this with a 9er Studio?
    Cheers,
    Martjn
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • RPDECORPDECO Member Posts: 2 Learner I
    HI @mschmitz thank you for answering, so in the new version is possible to distribute the computation over all threads? because i've got a long list of sample reduction (kennard stone) to do, and I would not want to leave most of the cpu idle
Sign In or Register to comment.