Support #8596
closed
Install Knime on DataMiner machines
100%
Description
I need a feasibility check for installing the Knime engine on the Dataminer prototype machines. The engine is downloadable from here: https://www.knime.org/downloads/overview
I do not need the Knime service, but just to invoke the engine from command line.
Files
Related issues
Updated by Andrea Dell'Amico about 8 years ago
- Status changed from New to Feedback
I downloaded and tried to run it on dataminer1-devnext.d4science.org but it always requires a graphical display. It cannot be run on a server, even as a standalone command.
I see that a server version exists, but it's commercial only.
Updated by Gianpaolo Coro about 8 years ago
- File SimpleSample.knwf SimpleSample.knwf added
- Status changed from Feedback to In Progress
After some struggling, I have found a way to execute the workflow via command line. On the Windows OS it is
"C:\Program Files\KNIME\knime.exe" -reset -consoleLog -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowFile=SimpleSample.knwf -destFile=out.zip -workflow.variable=test,"besttest",String
The same should be on the Linux OS (mutatis mutandis)
It produces a testcsv file and an out.zip file (containing all the WF steps)
The sample WF is attached.
Is it possible to make the knime executable available as a OS Path variable?
Updated by Andrea Dell'Amico about 8 years ago
I can confirm that it works on linux too.
On dataminer1-devnext.d4science.org I created the script /usr/local/bin/knime
that should be immediately available as knime
. The script calls the real binary with all the arguments after a cd /<path>/<to>/<knime_install_dir>
.
Are you able to try?
Beware that if you do not specify absolute paths for the arguments and the output file it will try to write inside the /opt/knime/knime_3.3.2/ directory that's root owned (and you don't want to write into that place, anyway)
Updated by Andrea Dell'Amico about 8 years ago
I changed the script so that it runs without leaving the directory from where it's called.
Updated by Gianpaolo Coro about 8 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
It works well, thanks!
Updated by Andrea Dell'Amico about 8 years ago
A couple of questions:
- did you need the basic o full version?
- do we will need to install it on the other dataminer? right now I installed it manually
Updated by Gianpaolo Coro about 8 years ago
1 - currently I'm using the full version, but the base version is faster. Perhaps in the future our users will want to use both.
2 - I'm going to produce demo processes that use Knime. For the time being, I only need the current installations on the prototyping VRE. When I'll have one real workflow to install in the production VREs, I will open another ticket.
Updated by Andrea Dell'Amico almost 8 years ago
- Related to Task #8965: Install Knime on dev DataMiner machines added