Re: [deal.II] Problem with compiling in macOS sierra, version 10.12.5

2017-06-05 Thread luca.heltai
If you don’t have XCode, then you don’t have XCode tools. You can download XCode from the App store. This error: > The CMAKE_C_COMPILER: > > > > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc > > > > is not a full path to an existing

Re: [deal.II] Problem with compiling in macOS sierra, version 10.12.5

2017-06-05 Thread Sudarshan Kumar
On Monday, June 5, 2017 at 1:49:01 PM UTC+5:30, Luca Heltai wrote: > > No need to restore to the old version. I have 10.12.5 myself. > > Can you try running xcode, and see if it asks you wether you want to > upgrade the command line tools? > I have run the command "xcode-select --install"

[deal.II] Re: How to initialize PETScWrappers::SparseMatrix from a PETSc Mat

2017-06-05 Thread Juan Carlos Araujo Cabarcas
Well, now I tried to update my code ... I was using: git clone https://github.com/davydden/dealii cd dealii git checkout branch_petscscalar_complex Now, because I would like to use a few recent additions from the development version, I do instead: git clone https://github.com/dealii/dealii 1)

[deal.II] system_to_component_index for FE_RaviartThomasNodal

2017-06-05 Thread Praveen C
Dear all Is system_to_component_index not implemented for FE_RaviartThomasNodal space ? Best praveen -- 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

Re: [deal.II] Problem with compiling in macOS sierra, version 10.12.5

2017-06-05 Thread luca.heltai
Did you install xcode and xcode-tools? It looks like deal.II cannot find a lot of things… The application opens a terminal and tries to figure out if you did. Does the terminal open up with no issues? L. > On 5 Jun 2017, at 8:00, Sudarshan Kumar wrote: > > I have

Re: [deal.II] Problem with compiling in macOS sierra, version 10.12.5

2017-06-05 Thread Sudarshan Kumar
On Monday, June 5, 2017 at 11:39:28 AM UTC+5:30, Luca Heltai wrote: > > Did you install xcode and xcode-tools? > > It looks like deal.II cannot find a lot of things… > > The application opens a terminal and tries to figure out if you did. Does > the terminal open up with no issues? > >

Re: [deal.II] Problem with compiling in macOS sierra, version 10.12.5

2017-06-05 Thread luca.heltai
No need to restore to the old version. I have 10.12.5 myself. Can you try running xcode, and see if it asks you wether you want to upgrade the command line tools? L. > On 5 Jun 2017, at 8:22, Sudarshan Kumar wrote: > > > > On Monday, June 5, 2017 at 11:39:28 AM

Re: [deal.II] Re: How to initialize PETScWrappers::SparseMatrix from a PETSc Mat

2017-06-05 Thread Wolfgang Bangerth
Juan Carlos, 1) First, I get way too many warnings like: [-Wunused-variable],[-Wunused-parameter],[-Wunused-but-set-variable],etc ... Then I would like to ask if there is a clean to disable warnings of this type? maybe adding some lines to the CMakeLists? Are these warnings coming

Re: [deal.II] integrating a scalar in a vertical column (e.g. finding hydrostatic pressure at a point)

2017-06-05 Thread Wolfgang Bangerth
On 06/02/2017 07:37 AM, Sean McGovern wrote: What's a good way to integrate a quantity in the vertical direction? For example, how do I find the weight of water above a point (assuming variable density, so that the integration is necessary)? In a structured regular mesh, I would fix the x and

Re: [deal.II] system_to_component_index for FE_RaviartThomasNodal

2017-06-05 Thread Wolfgang Bangerth
On 06/05/2017 12:04 PM, Praveen C wrote: Is system_to_component_index not implemented for FE_RaviartThomasNodal space ? It is, but FE_RaviartThomasNodal is not a primitive element, and so you cannot use it. You will want to use `system_to_base_index` instead. Best W. --