Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Wolfgang Bangerth
On 12/19/2016 09:19 PM, Praveen C wrote: I removed all the libraries and do /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/bin/mpic++ -DDEAL_II_HAVE_USABLE_FLAGS_DEBUG -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsynt

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
On Tuesday, December 20, 2016 at 5:20:20 AM UTC+1, Praveen C wrote: > > I removed all the libraries and do > > /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/bin/mpic++ > > -DDEAL_II_HAVE_USABLE_FLAGS_DEBUG -pedantic -fPIC -Wall -Wextra

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Praveen C
I removed all the libraries and do /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/openmpi-2.0.1-asdjmd22cnyktv2athcx3ouhrozknk22/bin/mpic++ -DDEAL_II_HAVE_USABLE_FLAGS_DEBUG -pedantic -fPIC -Wall -Wextra -Wpointer-arith -Wwrite-strings -Wsynth -Wsign-compare -Wswitch -Woverloaded-virt

Re: [deal.II] Vector Value Problem Solution initialization

2016-12-19 Thread Timo Heister
You need to give the whole "previous_solution" to interpolate(), not an individual block. You can use the component_mask argument to only interpolate on some components of your solution (x velocity for example). On Mon, Dec 19, 2016 at 2:02 PM, Jaekwang Kim wrote: > Hi all. > > I have a question

[deal.II] Vector Value Problem Solution initialization

2016-12-19 Thread Jaekwang Kim
Hi all. I have a question on the solution initialization for iterative methods, in vector valued problem. For example, I want to solve 2D flow, where my solution consist of two block, one is for velocities and the other is for pressure. First, I construct my initial solution as below *-

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
I second Wolfagng’s suggestion to remove flags one-by-one from the command line and see which one make ld hang. That’s also bisection in a sense, instead of working out which commit breaks it, you investigate which flag breaks it. My best guess is that some extra checks have been added to CMake

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Praveen C
I replace mpic++ with /usr/bin/g++ but the command goes on forever. mpi is also from spack and I have only one mpi on this machine. gcc/g++ are from suse. Best praveen On Mon, Dec 19, 2016 at 10:39 PM, Wolfgang Bangerth wrote: > On 12/19/2016 07:26 AM, Praveen C wrote: > >> >> [ 50%] Linking CX

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
> On 19 Dec 2016, at 18:09, Wolfgang Bangerth wrote: > > On 12/19/2016 07:26 AM, Praveen C wrote: >> >> [ 50%] Linking CXX executable cmTC_4e156 >> >> /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/cmake-3.7.1-erobxw7bh6cbnaqfzaqwvzk6crnj5ojy/bin/cmake >> -E cmake_link_script CMakeF

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Wolfgang Bangerth
On 12/19/2016 07:26 AM, Praveen C wrote: [ 50%] Linking CXX executable cmTC_4e156 /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/cmake-3.7.1-erobxw7bh6cbnaqfzaqwvzk6crnj5ojy/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e156.dir/link.txt --verbose=1 /home/spack/opt/spack/linux-ope

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
> On 19 Dec 2016, at 17:39, Praveen C wrote: > > Since the test DEAL_II_HAVE_USABLE_FLAGS_DEBUG does not finish, does not give > error, will git-bisect be able to help ? sure, you just do bisect between current develop and 8.4.2. (which works for you) to see at which point DEAL_II_HAVE_USABL

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Praveen C
Disabling Trilinos spack install dealii@develop~trilinos I am getting past the "cmake" stage and onto "build". But I need Trilinos :-( Since the test DEAL_II_HAVE_USABLE_FLAGS_DEBUG does not finish, does not give error, will git-bisect be able to help ? Best praveen On Mon, Dec 19, 2016 at 9:4

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
Another suggestion, build from source under Git and do `git bisect` https://git-scm.com/docs/git-bisect to find out which commit breaks it for you. The history of `macro_check_compiler_setup` is here https://github.com/dealii/dealii/commits/master/cmake/macros/macro_check_compiler_setup.cmake

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
> On 19 Dec 2016, at 17:02, Praveen C wrote: > > > On Mon, Dec 19, 2016 at 8:05 PM, Denis Davydov > wrote: > spack install dealii@develop~gsl > > and also > > spack install dealii@develop~python+mpi^boost+python > > No luck with both of these, same problem as bef

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Praveen C
On Mon, Dec 19, 2016 at 8:05 PM, Denis Davydov wrote: > spack install dealii@develop~gsl > > and also > > spack install dealii@develop~python+mpi^boost+python > No luck with both of these, same problem as before. Best praveen -- The deal.II project is located at http://www.dealii.org/ For mai

Re: [deal.II] Re: make test

2016-12-19 Thread Timo Heister
Can you go into /home/sudarshan/dealii-8.4.1/build/tests/quick_tests and try mpirun -n 2 ./mpi.debug mpiexec -n 2 ./mpi.debug which mpirun which mpiexec and report back the results? It could be that you have the wrong launcher (coming from a different MPI installation). On Fri, Dec 16,

Re: [deal.II] Re: internal compiler error: recipe for target 'source/numerics/CMakeFiles/obj_numerics.debug.dir/all

2016-12-19 Thread Tobi Young
As JP says, this looks like a memory issue. Try allocating 4GB (or more). Best, Toby 19.12.2016 14:30 "Jean-Paul Pelteret" napisał(a): Dear ExcitingDDT, It may be possible that you've run out of system resources on the VM during compilation. How much RAM have you allocated to this VM image, an

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
Hi Praveen, that output looks reasonable. I hope that other developers with more experience in this area can comment on this topic. Meanwhile, what comes to mind is you can try building spack install dealii@develop~gsl and also spack install dealii@develop~python+mpi^boost+python Both com

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Praveen C
Denis, I am here $ pwd /home/spack/var/spack/stage/dealii-develop-hrrbqysxwyuio7nj3aqsdpgkk7zrbkiz/dealii/spack-build/CMakeFiles/CMakeTmp $ ls CMakeCache.txt *CMakeFiles* cmake_install.cmake CMakeLists.txt macro_configure_feature.tmp Makefile src.cxx $ ls CMakeFiles/ cmake.check_cache C

Re: [deal.II] Re: deal.II cmake stuck at "Performing Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG"

2016-12-19 Thread Denis Davydov
That’s obviously a linking stage of a simple “int main(){ return0;}”, see https://github.com/dealii/dealii/blob/master/cmake/macros/macro_check_compiler_setup.cmake # This macro tries to compile and lin

[deal.II] Re: internal compiler error: recipe for target 'source/numerics/CMakeFiles/obj_numerics.debug.dir/all

2016-12-19 Thread Jean-Paul Pelteret
Dear ExcitingDDT, It may be possible that you've run out of system resources on the VM during compilation. How much RAM have you allocated to this VM image, and are you compiling with multiple threads? Regards, Jean-Paul On Monday, December 19, 2016 at 2:17:03 PM UTC+1, exciting...@gmail.com

[deal.II] internal compiler error: recipe for target 'source/numerics/CMakeFiles/obj_numerics.debug.dir/all

2016-12-19 Thread excitingddt
Hi, I'm a new learner for dealii. I have successfully installed dealii package on my desktop, following the steps on the page http://dealii.org/8.4.1/readme.html. However, I encountered an compilation problem when I did the same steps on my vmware virtual machine of my laptop. The Linux version

[deal.II] Re: Computation of B-operator

2016-12-19 Thread Jean-Paul Pelteret
Its no problem. I'm glad you found the bug! On Monday, December 19, 2016 at 10:49:55 AM UTC+1, mohsengineer...@gmail.com wrote: > > Got it ;) Thanks to Jean-Paul Pelteret I found the problem. I tried to get > the jacobians without being inside the cell loop, silly and embarrassingly > parallel

[deal.II] Re: Computation of B-operator

2016-12-19 Thread mohsengineering
Got it ;) Thanks to Jean-Paul Pelteret I found the problem. I tried to get the jacobians without being inside the cell loop, silly and embarrassingly parallel mistake of me I did there. Next time I will search more thoroughly before posting here, sorry. Kind regards, Seyed Ali Mohseni -- The