Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quote of the day:
Anything that can go wrong, will go wrong- Murphy's law



Table of contents

Table of Contents

This tutorial is designed to introduce the concept of using FC2K tool in order to build Kepler compatible actors.


Info

This tutorial explains

  • how to set up codes for FC2K

  • how to build actor using FC2K

  • how to incorporate actor within Kepler workflow


...

The "Interface" tab specifies interface for Kepler actor.

Fig. 14. "Interface" tab

4.

...

1.11 Sandbox

"Sandbox" - a directory, in which actor will be run. Before execution of user codes wrapped by FC2K generated actor, directory will be changed to "sandbox", and after actor finishes, current directory will be switched back to previous value. The name (path) of "sandbox" directory will be created automatically or specified by user in actor configuration dialog. 

Actor will use existing directory or will create it, if directory not exists. All directories created automatically or having user specified relative path will be created under <SANDBOX_ROOT> ( $ITMSCRATCH/KEPLER_SANDBOXon the Gateway).

Image Added

Fig. 15. "Sandbox" functionality

"Use sandbox" - enables / disables "sandbox"

"Sandbox" disabled

  • Actor behavior not changed, comparing to previous versions
  • A temporary directory is created  in "Standalone" "Batch" "MPI" or "Debug-standalone" execution modes ( $HOME/public/KEPLEREXECUTION/<actor_name>_<timestamp> )

"Sandbox" enabled:

  • actor uses sandbox
  • a sandbox parameters shown in actor configuration dialog (see next paragraph)

In this part of the tutorial you will learn how to incorporate Fortran and C++ codes into Kepler. 
Hands-on exercises show:

  • how to prepare C++ codes for FC2K
  • how to prepare C++ library
  • how set up Makefile
  • how start and configure FC2K tool

...

Warning

Stop here for a moment. Make sure you have followed the configuration setup before proceeding any further!

...