...
shell> cd $TUTORIAL_DIR/FC2K/simplecppactorcpp/example_4_ids
You can find there various files. Pay particular attention to following ones:
- simplecppactorcpp_ex4.cpp - C++ source code that will be executed from Kepler
- Makefile - makefile that allows to build library file
- simplecppactorcpp_ex4_fc2k.xml - parameters for FC2K application (NOTE! this file contains my own settings, we will modify them during tutorial)
- simplecppactorcpp_ex4_workflow.xml - example workflow
...
After a while, you should see FC2K's main window.
Info |
---|
Default settings |
5. Open project
...
cpp_ex4
- Choose File -> Open
- Navigate to $TUTORIAL_DIR/FC2K/simplecppactorcpp/example_4_ids.
- Open file simplecppactorcpp_ex4_fc2k.xml.
- You should see new parameter settings loaded into FC2K.
Fig. 1. FC2K main window: project simplecppactor cpp_ex4 loaded |
---|
6. Project settings
Please take a look at the project settings.
Fig. 2. FC2K arguments tab |
---|
Function arguments:
- input argument - IDS array
- input argument - double
- output argument - double
Fig. 3. FC2K source tab |
---|
...
After actor is generated, FC2K offers to compile Kepler application. Make sure to compile it by pressing "Yes".
Fig.4. FC2K - successful compilation |
---|
...
Open new terminal window and make sure that all environment settings are correctly set and execute Kepler.
shell> kepler.sh
After Kepler is started, open example workflow from the following location
shell> $TUTORIAL_DIR/FC2K/simplecppactor/simplecppactorcpp/example_4_ids/cpp_ex4_workflow.xml
You should see similar workflow on screen.
...
Fig. 7. Outcome of the workflow execution |
---|
Exercise Exercise no. 4 finishes here.