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 <[email protected]>
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/cm
>> ake-3.7.1-erobxw7bh6cbnaqfzaqwvzk6crnj5ojy/bin/cmake
>> -E cmake_link_script CMakeFiles/cmTC_4e156.dir/link.txt --verbose=1
>>
>> /home/spack/opt/spack/linux-opensuse20161217-x86_64/gcc-6/op
>> enmpi-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-virtual -Wno-long-long -Wno-placement-new
>> -Wno-deprecated-declarations -Wno-literal-suffix -fopenmp-simd -std=c++14
>> -Wno-unused-local-typedefs -Og -ggdb -Wa,--compress-debug-sections
>> CMakeFiles/cmTC_4e156.dir/src.cxx.o  -o cmTC_4e156 ......
>>
>>
>> and never finishes.
>>
>
> I've only been following this thread with half an eye, but this seems like
> the key to your problem. I you type this command onto the command line (or
> better, copy-paste), does it hang as well? That would give you an
> indication that the problem is actually with your mpic++ compiler, not with
> deal.II's cmake command.
>
> If it does hang for more than just a couple seconds, remove one flag after
> the other until you've found what the problem is. That should relatively
> easy to do on the command line.
>
> Best
>  W>
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth          email:                 [email protected]
>                            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/fo
> rum/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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to