[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] branch master updated: Minor fix
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] [getfem-commits] branch master updated: Minor fix |
Date: |
Sun, 28 Apr 2024 04:35:54 -0400 |
This is an automated email from the git hooks/post-receive script.
logari81 pushed a commit to branch master
in repository getfem.
The following commit(s) were added to refs/heads/master by this push:
new 04b6aac6 Minor fix
04b6aac6 is described below
commit 04b6aac6c9edd78c3ba2b38879af02807013a57a
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Sun Apr 28 10:35:45 2024 +0200
Minor fix
---
src/getfem_models.cc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/getfem_models.cc b/src/getfem_models.cc
index 81d015cd..36979703 100644
--- a/src/getfem_models.cc
+++ b/src/getfem_models.cc
@@ -2337,7 +2337,7 @@ namespace getfem {
GMM_ASSERT1(version != BUILD_WITH_INTERNAL,
"Invalid assembly version BUILD_WITH_INTERNAL");
int nbp=1;
-#if GETFEM_PARA_LEVEL > 1
+#if GETFEM_PARA_LEVEL > 0
double t_ref = MPI_Wtime();
int rk=0;
MPI_Comm_rank(MPI_COMM_WORLD, &rk);
@@ -2878,8 +2878,7 @@ namespace getfem {
MPI_BCAST0_SCALAR(approx_external_load_);
}
- #if GETFEM_PARA_LEVEL > 1
- // int rk; MPI_Comm_rank(MPI_COMM_WORLD, &rk);
+ #if GETFEM_PARA_LEVEL > 0
if (MPI_IS_MASTER()) cout << "Assembly time " << MPI_Wtime()-t_ref << endl;
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] [getfem-commits] branch master updated: Minor fix,
Konstantinos Poulios <=