[deal.II] Re: Why some indices are out of range in the file output by sparsity_pattern.print_gnuplot(outfile)

2022-07-21 Thread Wolfgang Bangerth

On 7/21/22 03:34, 王昆 wrote:


    I am a dealii amateur from China. Recently, I encouter a problem when 
programing with the dealii lib (version 9.2.0). When I output the sparsity 
pattern using method BlockSparsityPattern:: print_gnuplot(), it can 
successfully output a data file. But we found that some indices are out of the 
range allowed either for the row or column. I don't known why. I guess that 
this may be caused by the constraint arising from the periodic boundary 
condition applied. But I have no ideal how to fix it. Could you provide me 
some tips on how to solve this problem? Thank you very much.


K. Wang:
It's hard to tell what is going wrong because we don't know from your message 
at what point during the program's execution you are outputting the sparsity 
pattern, or which specific entries you are trying to write to but that you 
can't. Can you create a small program that illustrates the issue you are facing?


Best
 W.


--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d8049958-725f-b9fd-21e8-cb75c5dc76b7%40colostate.edu.


[deal.II] deal.II Newsletter #220

2022-07-21 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone!

This is deal.II newsletter #220.
It automatically reports recently merged features and discussions about the 
deal.II finite element library.


## Below you find a list of recently proposed or merged features:

#14156: [9.4] Make ConsensusAlgorithm deprecations early-deprecated instead. 
(proposed by drwells) https://github.com/dealii/dealii/pull/14156

#14155: Make all template specialization of FPE compile for float (proposed by 
peterrum) https://github.com/dealii/dealii/pull/14155

#14154: FEEvaluation: Fix two places where the address sanitizer complained 
(proposed by kronbichler; merged) https://github.com/dealii/dealii/pull/14154

#14153: MatrixFree: Use separate data arrays for two separate evaluators 
(proposed by kronbichler; merged) https://github.com/dealii/dealii/pull/14153

#14152: matrix-free FEEvaluation: initialize with nan (proposed by tjhei) 
https://github.com/dealii/dealii/pull/14152

#14151: The number of faces for anisotropic grids (in 3d) is wrong. (proposed 
by luca-heltai) https://github.com/dealii/dealii/pull/14151

#14150: Fix tria::has_hanging_nodes for anisotropically refined meshes 
(proposed by luca-heltai) https://github.com/dealii/dealii/pull/14150

#14149: Declare 'enable_if_all_t' in analogy to std::enable_if_t. (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/14149

#14148: Replace std::enable_if by std::enable_if_t throughout. (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/14148

#14147: Do not use 'typename' where not necessary. (proposed by bangerth; 
merged) https://github.com/dealii/dealii/pull/14147

#14146: Show a formula. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/14146

#14145: Added quicktests to Intel workflow. (proposed by marcfehling; merged) 
https://github.com/dealii/dealii/pull/14145

#14144: Expand a discussion in step-58. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/14144

#14143: Add some functions to convert active cell iterators (proposed by 
jppelteret; merged) https://github.com/dealii/dealii/pull/14143

#14142: Fix type in FPE (proposed by peterrum; merged) 
https://github.com/dealii/dealii/pull/14142

#14141: p:d:GridRefinement: actually accept other types of triangulations 
(proposed by peterrum; merged) https://github.com/dealii/dealii/pull/14141

#14140: Generalized VT::point_gradients() for multiple components (proposed by 
peterrum) https://github.com/dealii/dealii/pull/14140

#14139: Use pre-increment operator. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/14139

#14138: Reduce the volume of communication somewhat. (proposed by bangerth; 
merged) https://github.com/dealii/dealii/pull/14138

#14137: Use only enough bits in an enum as necessary. (proposed by bangerth; 
merged) https://github.com/dealii/dealii/pull/14137

#14136: Clarify documentation of p::s::T. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/14136

#14135: Add some assertions about hypercube reference cells. (proposed by 
bangerth; merged) https://github.com/dealii/dealii/pull/14135

#14134: Fix a reference. (proposed by bangerth; merged) 
https://github.com/dealii/dealii/pull/14134

#14132: MatrixFree: Implement get_affine_constraints() (proposed by bergbauer) 
https://github.com/dealii/dealii/pull/14132

#14126: Ensure to look at square of tolerances (proposed by kronbichler; 
merged) https://github.com/dealii/dealii/pull/14126

#14125: Fix reference entry (proposed by gfcas; merged) 
https://github.com/dealii/dealii/pull/14125

#14123: parallel intermediate out: compression levels (proposed by tjhei; 
merged) https://github.com/dealii/dealii/pull/14123

#14115: MatrixFree DoFInfo: Break out from some expensive loops (proposed by 
kronbichler; merged) https://github.com/dealii/dealii/pull/14115

#14114: DoFHandlerPolicy: Avoid one write access to an array (proposed by 
kronbichler; merged) https://github.com/dealii/dealii/pull/14114

#14089: Added explicit instantiations of 
DoFTools::distribute_cell_to_dof_vector (proposed by a-shahba; merged) 
https://github.com/dealii/dealii/pull/14089

#14073: Communicate refinement flags in p:s:T (proposed by peterrum; merged) 
https://github.com/dealii/dealii/pull/14073

#14072: p:d:GridRefinement: accept other types of triangulations (proposed by 
peterrum; merged) https://github.com/dealii/dealii/pull/14072

#13990: Non-affine piola transformation for mf RaviartThomas (proposed by 
NiklasWik; merged) https://github.com/dealii/dealii/pull/13990


## And this is a list of recently opened or closed discussions:

#14133: Is `point_inside()` failing with an hyper_ball? (opened) 
https://github.com/dealii/dealii/issues/14133

#13639: build fail on riscv64 arch (closed) 
https://github.com/dealii/dealii/issues/13639

#13574: deal.II Release 9.4 - post-release tasks (closed) 
https://github.com/dealii/dealii/issues/13574

#13477: Quicktests fail with Intel oneAPI suite. (closed) 

Re: [deal.II] Re: error while installing dealii using candi

2022-07-21 Thread Ahmad Shahba
By using the -j1 argument, you are requesting candi to use 1 process for
compilation. If you are interested to engage, say 2 processes, you should
pass -j2 to the candi shell script. Something like

./candi.sh -j2

If you visit the github homepage of candi, you’ll see a whole bunch of
options for controlling the way candi goes about compiling and installing
deal.ii and its dependencies.

On Thu, Jul 21, 2022 at 11:11 AM erkin yildiz  wrote:

> Thank you for your suggestion. JOBS = 1 is the default in candi.sh and
> passing -j1 does not make any difference. Could it be related to the flag
> -std=c++17? How can I impose it?
>
> Thanks for your help
> Erkin
>
> Wolfgang Bangerth , 21 Tem 2022 Per, 16:55
> tarihinde şunu yazdı:
>
>> On 7/21/22 06:00, erkin yildiz wrote:
>> > **
>> >
>> > Can you please suggest me how to use only one or two cores? Please find
>> > attached the log file
>>
>> Use the flag -j1 or -j2 on the command line.
>>
>> Best
>>   W.
>>
>> --
>> 
>> Wolfgang Bangerth  email: bange...@colostate.edu
>> www: http://www.math.colostate.edu/~bangerth/
>>
>> --
>> The deal.II project is located at http://www.dealii.org/
>> For mailing list/forum options, see
>> https://groups.google.com/d/forum/dealii?hl=en
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "deal.II User Group" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/dealii/4BtarO4PVnU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> dealii+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dealii/f4f5522b-dfcb-4d3a-b372-231416d4c609%40colostate.edu
>> .
>>
>
>
> Informativa sulla Privacy: https://www.unibs.it/it/node/1452
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/CAP3xP0pn2Oz_ErACZQO4NNduMgzOWZSMFFgTS6bKVgx%3DF560nw%40mail.gmail.com
> 
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGCgw4DYTCwnhOCHMLaVrGJV3C3_tiZAtS%3DqFhE02k286ONpJg%40mail.gmail.com.


Re: [deal.II] Re: error while installing dealii using candi

2022-07-21 Thread erkin yildiz
Thank you for your suggestion. JOBS = 1 is the default in candi.sh and
passing -j1 does not make any difference. Could it be related to the flag
-std=c++17? How can I impose it?

Thanks for your help
Erkin

Wolfgang Bangerth , 21 Tem 2022 Per, 16:55
tarihinde şunu yazdı:

> On 7/21/22 06:00, erkin yildiz wrote:
> > **
> >
> > Can you please suggest me how to use only one or two cores? Please find
> > attached the log file
>
> Use the flag -j1 or -j2 on the command line.
>
> Best
>   W.
>
> --
> 
> Wolfgang Bangerth  email: bange...@colostate.edu
> www: http://www.math.colostate.edu/~bangerth/
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dealii/4BtarO4PVnU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/f4f5522b-dfcb-4d3a-b372-231416d4c609%40colostate.edu
> .
>

-- 


Informativa sulla Privacy: https://www.unibs.it/it/node/1452 


-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAP3xP0pn2Oz_ErACZQO4NNduMgzOWZSMFFgTS6bKVgx%3DF560nw%40mail.gmail.com.


Re: [deal.II] Re: error while installing dealii using candi

2022-07-21 Thread Wolfgang Bangerth

On 7/21/22 06:00, erkin yildiz wrote:

**

Can you please suggest me how to use only one or two cores? Please find 
attached the log file


Use the flag -j1 or -j2 on the command line.

Best
 W.

--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/f4f5522b-dfcb-4d3a-b372-231416d4c609%40colostate.edu.