To see the new Midpoint integrator component in action, in student-src/components, run
ccafe-single --ccafe-rc examples/task2_rc
Feel free to modify task2_rc to assemble applications with different components. The beginning of the rc file loads the palette with all of the available components and creates an instance of each. See Chapter 2, Assembling and Running a CCA Application for further information and ideas for other “applications” you can construct.
The output should look something like this:
(3587) CmdLineClientMain.cxx: MPI_Init not called in ccafe-single mode. (3587) CmdLineClientMain.cxx: Try running with ccafe-single --ccafe-mpi yes , or (3587) CmdLineClientMain.cxx: try setenv CCAFE_USE_MPI 1 to force MPI_Init. (3587) my rank: -1, my pid: 3587 my rank: -1, my pid: 3587 my rank: -1, my pid: 3587 CCAFFEINE configured with babel. my rank: -1, my pid: 3587 Type: One Processor Interactive cca> CmdContextCCAMPI::initRC: Found task2_rc. cca># There are allegedly 8 classes in the component path cca> cca>Loaded drivers.CXXDriver NOW GLOBAL . cca>Loaded functions.PiFunction NOW GLOBAL . cca>Loaded integrators.Midpoint NOW GLOBAL . cca> cca>driver of type drivers.CXXDriver successfully instantiated cca>pifunc of type functions.PiFunction successfully instantiated cca>midpoint of type integrators.Midpoint successfully instantiated cca> cca>driver))))IntegratorPort---->IntegratorPort((((midpoint connection made successfully cca>midpoint))))FunctionPort---->FunctionPort((((pifunc connection made successfully cca> cca>Value = 3.141553 ##specific go command successful cca> cca> bye! exit