Hi Jean-Paul,

Thanks for referring me to the github issue (
https://github.com/dealii/dealii/issues/7204 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdealii%2Fdealii%2Fissues%2F7204&sa=D&sntz=1&usg=AFQjCNFWFhH2gmvYaboY3_Dm_fEIvD4wxQ>).
 
It does seem they are related issues.
I will keep following the github issue.

Thank you,
Sambit

On Tuesday, September 18, 2018 at 11:53:17 AM UTC-5, Jean-Paul Pelteret 
wrote:
>
> Hi Sambit,
>
> Your new error looks like the same one reported (
> https://github.com/dealii/dealii/issues/7204 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdealii%2Fdealii%2Fissues%2F7204&sa=D&sntz=1&usg=AFQjCNFWFhH2gmvYaboY3_Dm_fEIvD4wxQ>)
>  yesterday 
> so I don’t think that using another version of CMake will fix it. I’m not 
> quite sure what the answer to the problem is, since the discussion is 
> ongoing.
>
> Best,
> Jean-Paul
>
> On 18 Sep 2018, at 18:47, Sambit Das <dsa...@umich.edu <javascript:>> 
> wrote:
>
> Hi Bruno,
>
> Thank you for your reply. Now I tried CMake 3.9.6 but got the following 
> compilation error
>
> [ 54%] Building CUDA object 
> source/base/CMakeFiles/obj_base_debug.dir/cuda.cu.o
> In file included from 
> /gpfs/gpfs0/software/rhel72/packages/cuda/9.2/include/crt/math_functions.h:8853:0,
>                  from 
> /gpfs/gpfs0/software/rhel72/packages/cuda/9.2/include/crt/common_functions.h:257,
>                  from 
> /gpfs/gpfs0/software/rhel72/packages/cuda/9.2/include/common_functions.h:50,
>                  from 
> /gpfs/gpfs0/software/rhel72/packages/cuda/9.2/include/cuda_runtime.h:115,
>                  from <command-line>:0:
> /gpfs/gpfs0/software/rhel72/packages/gcc/7.2.0/include/c++/7.2.0/cmath:45:15: 
> fatal error: math.h: No such file or directory
>  #include_next <math.h>
>                ^~~~~~~~
> compilation terminated.
>
> Should I try CMake 3.10/11?
>
> Thank you,
> Sambit
>
> On Tuesday, September 18, 2018 at 7:27:38 AM UTC-5, Bruno Turcksin wrote:
>>
>> Sambit,
>>
>> Can you try with a different version of CMake. We do not support CMake 
>> 3.12 with CUDA at the moment.
>>
>> Best,
>>
>> Bruno
>>
>> On Monday, September 17, 2018 at 8:56:31 PM UTC-4, Sambit Das wrote:
>>>
>>> Dear all,
>>>
>>> I am trying to compile the latest development version of dealii 
>>> (9.1.0-pre, shortrev c6b7876) using gcc/7.2.0, 
>>> openmpi/3.0.0/gcc/7.2.0,  cuda/9.2 and cmake-3.12.2. <http://3.10.0.2/>
>>>
>>> During compilation I get the following error:
>>>
>>> [ 57%] Building CUDA object 
>>> source/base/CMakeFiles/obj_base_debug.dir/cuda.cu.o
>>> In file included from 
>>> /gpfs/gpfs0/groups/gavini/dsambit/software/dealii/dealii/include/deal.II/base/cuda.h:19:0,
>>>                  from 
>>> /gpfs/gpfs0/groups/gavini/dsambit/software/dealii/dealii/source/base/
>>> cuda.cu:16:
>>> /gpfs/gpfs0/groups/gavini/dsambit/software/dealii/build/include/deal.II/base/config.h:421:12:
>>>  
>>> fatal error: mpi.h: No such file or directory
>>>  #  include <mpi.h>
>>>             ^~~~~~~
>>> compilation terminated.
>>>
>>>
>>> I have attached the detailed.log file. 
>>>
>>> I have used the following configuration line:
>>> cmake  -DDEAL_II_CXX_FLAGS_RELEASE="-O3" -DDEAL_II_WITH_CXX17=OFF 
>>> -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx 
>>>  -DCMAKE_Fortran_COMPILER=mpif90 -DDEAL_II_WITH_CUDA=ON 
>>> -DDEAL_II_COMPONENT_EXAMPLES=OFF
>>>  -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_64BIT_INDICES=ON
>>>  
>>> -DP4EST_DIR="/gpfs/gpfs0/groups/gavini/dsambit/software/p4est/installGcc7.2.0"
>>>   
>>> ../dealii
>>>
>>>  Interestingly, if I remove -DDEAL_II_WITH_CUDA=ON, compilation is 
>>> successful. I am wondering if I am missing any cuda related compilation 
>>> flags.
>>>
>>> Thanks a lot in advance,
>>>
>>> Best,
>>> Sambit
>>>
>>
> -- 
> 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+un...@googlegroups.com <javascript:>.
> 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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to