Re: [petsc-users] MPI_AllReduce error with -xcore-avx2 flags

2016-01-27 Thread Jose E. Roman
> El 28 ene 2016, a las 8:32, Bikash Kanungo escribió: > > Hi, > > I was trying to use BVOrthogonalize() function in SLEPc. For smaller problems > (10-20 vectors of length < 20,000) I'm able to use it without any trouble. > For larger problems ( > 150 vectors of length > 400,000) the code abo

[petsc-users] MPI_AllReduce error with -xcore-avx2 flags

2016-01-27 Thread Bikash Kanungo
Hi, I was trying to use BVOrthogonalize() function in SLEPc. For smaller problems (10-20 vectors of length < 20,000) I'm able to use it without any trouble. For larger problems ( > 150 vectors of length > 400,000) the code aborts citing an MPI_AllReduce error with following message: Scalar value

Re: [petsc-users] repartition for dynamic load balancing

2016-01-27 Thread Jed Brown
Xiangdong writes: > I have a question on dynamic load balance in petsc. I started running a > simulation with one partition. As the simulation goes on, that partition > may lead to load imbalance since it is a non-steady problem. If it is worth > to perform the load balance, is there an easy way

[petsc-users] repartition for dynamic load balancing

2016-01-27 Thread Xiangdong
Hello everyone, I have a question on dynamic load balance in petsc. I started running a simulation with one partition. As the simulation goes on, that partition may lead to load imbalance since it is a non-steady problem. If it is worth to perform the load balance, is there an easy way to re-parti

Re: [petsc-users] Basic vector calculation question

2016-01-27 Thread h...@aspiritech.org
Salazar: Use VecGetArray()/VecRestoreArray(). They access arrays, do not create any temporary sequential vectors. Hong Hello > > Suppose I have four vectors A,B, C and D with the same number of > components. I would like to do the following component wise vector > operation: > > (A – B) / (C +

[petsc-users] Basic vector calculation question

2016-01-27 Thread Salazar De Troya, Miguel
Hello Suppose I have four vectors A,B, C and D with the same number of components. I would like to do the following component wise vector operation: (A – B) / (C + D) I could calculate A-B and C+D and store the results in temporary PETSc vector temp_result1 and temp_result2 (I need to keep