Skip to content

Commit

Permalink
Merge pull request #178 from intel/develop
Browse files Browse the repository at this point in the history
Re-enable build without mpi (make mpi=0 ...).
  • Loading branch information
chuckyount authored Nov 7, 2018
2 parents 4beabb5 + 56a7bca commit e6476ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/common_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace yask {
// for numbers above 9 (at least up to 99).

// Format: "major.minor.patch".
const string version = "2.15.08";
const string version = "2.15.09";

string yask_get_version_string() {
return version;
Expand Down
3 changes: 2 additions & 1 deletion src/kernel/lib/setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1629,8 +1629,9 @@ namespace yask {
" stencil-name: " << get_name() << endl <<
" element-size: " << makeByteStr(get_element_bytes()) << endl <<
" rank-domain: " << rank_bb.bb_begin.makeDimValStr() <<
" ... " << rank_bb.bb_end.subElements(1).makeDimValStr() << endl <<
" ... " << rank_bb.bb_end.subElements(1).makeDimValStr() << endl;
#ifdef USE_MPI
os <<
" num-ranks: " << _opts->_num_ranks.makeDimValStr(" * ") << endl <<
" rank-indices: " << _opts->_rank_indices.makeDimValStr() << endl <<
" rank-domain-offsets: " << rank_domain_offsets.makeDimValOffsetStr() << endl;
Expand Down
3 changes: 3 additions & 0 deletions src/kernel/lib/yask.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ IN THE SOFTWARE.
#define MPI_Barrier(comm) ((void)0)
#define MPI_Finalize() ((void)0)
typedef int MPI_Comm;
typedef int MPI_Win;
typedef int MPI_Group;
typedef int MPI_Request;
#define MPI_PROC_NULL (-1)
#define MPI_COMM_NULL ((MPI_Comm)0x04000000)
#define MPI_REQUEST_NULL ((MPI_Request)0x2c000000)
#define MPI_GROUP_NULL ((MPI_Group)0x08000000)
#ifdef MPI_VERSION
#undef MPI_VERSION
#endif
Expand Down

0 comments on commit e6476ed

Please sign in to comment.