Project

General

Profile

Actions

Support #8596

closed

Install Knime on DataMiner machines

Added by Gianpaolo Coro about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
High-Throughput-Computing
Start date:
May 15, 2017
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

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

SimpleSample.knwf (7.68 KB) SimpleSample.knwf Gianpaolo Coro, May 16, 2017 01:12 PM

Related issues

Related to D4Science Infrastructure - Task #8965: Install Knime on dev DataMiner machinesClosed_InfraScience Systems EngineerJun 15, 2017

Actions
Actions #2

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.

Actions #3

Updated by Gianpaolo Coro about 8 years ago

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?

Actions #4

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)

Actions #5

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.

Actions #6

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!

Actions #7

Updated by Andrea Dell'Amico about 8 years ago

A couple of questions:

  1. did you need the basic o full version?
  2. do we will need to install it on the other dataminer? right now I installed it manually
Actions #8

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.

Actions #9

Updated by Andrea Dell'Amico almost 8 years ago

  • Related to Task #8965: Install Knime on dev DataMiner machines added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)