Difference between revisions of "Statistical Algorithms Importer: FAQ"
(→Project ID) |
(→Project Folder) |
||
Line 18: | Line 18: | ||
== Project Folder == | == Project Folder == | ||
− | It is important that each algorithm has its own project folder. The project folder keeps the code created by the developer, so it is important that each algorithm has its own project folder, different for each algorithm. | + | It is important that each algorithm has its own project folder. The project folder keeps the code created by the developer, so it is important that each algorithm has its own project folder, different for each algorithm. Once an algorithm is published, the Project Folder will contain the executable that will be requested by the DataMiner for execution, so it is important to avoid deleting published projects. Deleting a project means to establish to make it unavailable for use in the infrastructure. |
== Project Configuration == | == Project Configuration == |
Revision as of 10:33, 11 October 2018
F.A.Q. of Statistical Algorithms Importer (SAI), here are common mistakes we have found.
Project Type FAQ
- R Project FAQ
- Java Project FAQ
- Linux-compiled Project FAQ
- Python Project FAQ
- Pre-Installed Project FAQ
Installed Software
- A list of pre-installed software on the infrastructure machines is available at this page:
Project Folder
It is important that each algorithm has its own project folder. The project folder keeps the code created by the developer, so it is important that each algorithm has its own project folder, different for each algorithm. Once an algorithm is published, the Project Folder will contain the executable that will be requested by the DataMiner for execution, so it is important to avoid deleting published projects. Deleting a project means to establish to make it unavailable for use in the infrastructure.
Project Configuration
The SAI uses two project configuration files:
- stat_algo.project
- Main.R
It is advisable that these files are never deleted or modified directly.
Project ID
Starting from the project name a unique identifier is associated to each project when it is published. The identifier allows the project to be recognized within the infrastructure. This is why it is important to give different names to each project and not to reuse the same name in different projects.
Parameters
It is important that an algorithm always has at least one input and an output parameter.
I don't see my algorithm in DataMiner
DataMiner portlets store algorithms in the user session, so if an algorithm is deployed but is not visible you must try to refresh the list of algorithms with the refresh button in the DataMiner. Remember, after the deploy a few minutes are needed to upgrade the system.
Advanced Input
It is possible to indicate spatial inputs or time/date inputs. The details for the definition of these dare are reported in the Advanced Input
Update the status of a computation
It is possible to update the inner status of a computation by writing a status.txt file locally to the process Updating the status of a computation