Re: [deal.II] Discrete Galekin with periodic boundary condition

2018-11-07 Thread Praveen C
You have to do some extra work to use periodic bc with MeshWorker. I have a Euler DG code here which can do that https://github.com/cpraveen/dflo/tree/master/src_mpi The periodic bc is setup in these files (not my code, authors are mentione

Re: [deal.II] Modelling Anistropic materials for electrostatic simulations

2018-11-07 Thread phillip mobley
I almost forgot: 6) I am starting to get the feeling that the difference between the isotropic and the anisotropic material is the stiffness matrix. This might be a long shot but would it be possible for me to utilize the same weak form as in the paper but change the code on the stiffness matri

Re: [deal.II] Modelling Anistropic materials for electrostatic simulations

2018-11-07 Thread phillip mobley
Hello Dr. Bangerth, Thank you stating this! I was able to go through the paper from Jean-Paul more thoroughly a few times. I do have a few questions regarding the paper. 1) On equation 23, where do the subscripts ijkl come from? I understand that subscripts ij are from equation 5. But I do no

Re: [deal.II] Re: Installation of deal.II with CUDA

2018-11-07 Thread Chih-Che Chueh
Hi Bruno, When I install deal.II with CUDA, I do turn off Trilinos completely by typing this: /usr/bin/cmake3 \ -DCMAKE_INSTALL_PREFIX=/work1/chueh5851a/software/dealii \ -DP4EST_DIR=/work1/chueh5851a/software/p4est-2.0/FAST \ -D DEAL_II_WITH_MPI:BOOL=ON \ -D DEAL_II_WITH_THREADS:BOOL=ON \ -

Re: [deal.II] Strange results when using MPI

2018-11-07 Thread Wolfgang Bangerth
On 11/07/2018 10:35 AM, Ki-Tae Kim wrote: > > So, what should I do? I cannot use that kind of mesh with MPI? Could you > please suggest other solution? First, running in debug mode is always a useful thing if you are not yet convinced of the correctness of a program. Second, I've reduced your

Re: [deal.II] Re: Trouble building from source on MacOS

2018-11-07 Thread Jonathan Matthews
Thanks Denis, I'll give spack a try too. On Tue, Nov 6, 2018 at 1:07 AM Denis Davydov wrote: > > > On Monday, November 5, 2018 at 9:20:21 PM UTC, mrjonm...@gmail.com wrote: >> >> Thanks for the suggestion. I tried building with candi today, but it >> failed somewhere during the p4est-2.0/FAST bu

Re: [deal.II] Strange results when using MPI

2018-11-07 Thread Ki-Tae Kim
Thank you, Praveen! So, what should I do? I cannot use that kind of mesh with MPI? Could you please suggest other solution? Best, Ki-Tae On Wednesday, November 7, 2018 at 12:26:20 PM UTC-5, Praveen C wrote: > > Running your code in debug mode gives an error, says error is in the > library not

Re: [deal.II] Strange results when using MPI

2018-11-07 Thread Praveen C
Running your code in debug mode gives an error, says error is in the library not your code $ mpirun -np 4 ./step-1 Cycle 0: Number of active cells: 24 Number of degrees of freedom: 889 = Cycle 1: Number of active cells: 192 Number of de

[deal.II] Strange results when using MPI

2018-11-07 Thread Ki-Tae Kim
The results of the code listed below are very strange. Using a single core the degrees of freedom is: mpirun -np 1 ./untitled Cycle 0: Number of active cells: 24 Number of degrees of freedom: 889 = Cycle 1: Number of active cells: 192 N

[deal.II] Re: Installation of deal.II with CUDA

2018-11-07 Thread Bruno Turcksin
Chih-Che On Wednesday, November 7, 2018 at 3:15:25 AM UTC-5, Chih-Che Chueh wrote: > > Hi all, > > I am trying installing dealII with CUDA in a GPG machine by following > this: https://www.dealii.org/9.0.0/external-libs/cuda.html > > But I get this error in terms of matrix_tools.cc.o. Is this bec

[deal.II] Installation of deal.II with CUDA

2018-11-07 Thread Chih-Che Chueh
Hi all, I am trying installing dealII with CUDA in a GPG machine by following this: https://www.dealii.org/9.0.0/external-libs/cuda.html But I get this error in terms of matrix_tools.cc.o. Is this because I don't turn off Trilinos stuff while cmaking deal.II for successful installation with CUDA?