Skip to content

Version 01.02.

Latest
Compare
Choose a tag to compare
@leonid-sokolinsky leonid-sokolinsky released this 14 Feb 14:39
· 16 commits to master since this release
9c4bdd5

Version 01.02 of BSF-skeleton includes the following changes.

  1. Added a new predefined problem-dependent function PC_bsf_JobDispatcher. This function can be used to organize the workflow and is executed by the master process before starting each iteration. It implements a state machine that switches from one state to another. An example of using function PC_bsd_JobDispatcher can be found on Github at https://github.com/leonid-sokolinsky/Apex-method. To ensure the compatibility of previous implementations, you need add into the file Problem-bsfCode.cpp the following implementation of this function with the empty body:
    void PC_bsf_JobDispatcher(PT_bsf_parameter_T* parameter, bool *exit) { };

  2. The BSF-NoMPI directory has been added to the repository. This directory contains a variant of the problem-independent BSF-skeleton files with the BSF prefix that do not use MPI. They can be used together with the problem-dependent files <<Problem-.>> for the initial implementation and debugging of the algorithm in MS Visual Studio. After the program is debugged, the specified files << BSF -.>> are replaced with the files of the same name from the parent directory, and the program without any other changes can be compiled and run in an environment that supports MPI.