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

CANNOT FIND SOURCE FILE BY COMMAND LINE

hepeng23hepeng23 Member Posts: 3 Contributor I
edited November 2018 in Help

Hellow expert,

 

I'm trying run a rmp by command line. it return back error with message: “RAPIDMINER_HOME environment variable is not set.......Process failed: Cannot resolve relative repository location 'JING1-data2'”

 

How can I set RAPIDMINER_HOME?

Thank you very much!

Frank He

Best Answer

  • hepeng23hepeng23 Member Posts: 3 Contributor I
    Solution Accepted

    I update RM to 8.0. The problem is gone.

Answers

  • David_ADavid_A Administrator, Moderator, Employee-RapidMiner, RMResearcher, Member Posts: 297 RM Research

    Hi Frank,

     

    setting RAPIDMINER_HOME is not mandatory and should not interfere with the command line execution.

     

    But the error message indicates that the location to the process you want to execute is not set correctly. 

    The calls should look like that:

     

    sh ./programs/rapidminer-studio/scripts/rapidminer-batch.sh ​ "//Local Repository/demo"

    or like that, if you are selecting a specific process file

    sh ./programs/rapidminer-studio/scripts/rapidminer-batch.sh ​ -f "/home/demo.rmp"

    So in your case you need probably specify in which repository the process is located. Hint: depending on your environment you might need to escape spaces in the reposity name (//Local\ Repository/demo").

     

    Regards,
    David

  • hepeng23hepeng23 Member Posts: 3 Contributor I

    Thank your reply.

     

    I run it in Windows10. The execute command is :

    "C:\Program Files\RapidMiner\RapidMiner Studio\scripts\rapidminer-batch.bat" -f "D:\rapid\JING1-AO\JING1-process.rmp"

     

     

Sign In or Register to comment.