[MOAB-dev] commit/MOAB: danwu: Fix build error for NCHelperHOMME.cpp when PNETCDF_FILE is defined.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Aug 2 10:27:35 CDT 2013
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/8d4f25883d82/
Changeset: 8d4f25883d82
Branch: master
User: danwu
Date: 2013-08-02 17:27:03
Summary: Fix build error for NCHelperHOMME.cpp when PNETCDF_FILE is defined.
Affected #: 1 file
diff --git a/src/io/NCHelperHOMME.cpp b/src/io/NCHelperHOMME.cpp
index 0a7802f..16a2348 100644
--- a/src/io/NCHelperHOMME.cpp
+++ b/src/io/NCHelperHOMME.cpp
@@ -278,11 +278,11 @@ ErrorCode NCHelperHOMME::create_mesh(ScdInterface* scdi, const FileOptions& opts
#ifdef PNETCDF_FILE
if (isParallel) {
+ ParallelComm*& myPcomm = _readNC->myPcomm;
success = NCFUNC(open)(myPcomm->proc_config().proc_comm(), conn_fname.c_str(), 0, MPI_INFO_NULL, &connectId);
}
- else {
+ else
success = NCFUNC(open)(MPI_COMM_SELF, conn_fname.c_str(), 0, MPI_INFO_NULL, &connectId);
- }
#else
success = NCFUNC(open)(conn_fname.c_str(), 0, &connectId);
#endif
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list