Hi Raghunandan,

what is PPA? I am trying to set up in vscode, would like to know.

Thanks

Martin


On Mon, 17 Jan 2022 at 00:21, Raghunandan Pratoori <r...@iastate.edu> wrote:

> Hi,
>
> I use VS Code with WSL. I followed the instructions on these 2 pages and
> was able to get it to work -
> https://code.visualstudio.com/docs/cpp/config-wsl
> https://code.visualstudio.com/docs/cpp/cmake-linux
>
> Also, how did you install deal.ii in wsl? I used the PPA and it took care
> of all the paths to be added.
>
> Best,
> Raghunandan.
>
>
>
> On Sunday, January 16, 2022 at 2:13:26 AM UTC-6 keassyguang wrote:
>
>> Hi, everyone. I'm interested in deal.ii, but I did have trouble
>> configuring the deal.ii.
>>
>> I am trying to compile the program for Linux in VS code (version 1.63.2)
>> using WSL (Windows Subsystem for Linux) ubuntu 20.04.3. I successfully
>> compile the "Hello, World!" program, but when I try to compile the tutorial
>> programs shown in dell.ii documentation, such as the step-1, the
>> compilation terminated with an error message "No such file or directory".
>> Then, the system includePath in VS code has been set to "/usr/include/**"
>> and other libs as shown in the below figures, however, it dosenot work.
>>
>> [image: 1.png][image: 2.png]
>>
>> Later, I manually edit some head files. For example, as shown in the
>> below figure, I know the "Kokkos_MasterLock.hpp" file is in the directory
>> of "/usr/include/trilinos", so I modified the 55th line of
>> "Kokkos_Core_fwd.hpp" file by adding the "trilions" directory into the path
>> "#include <trilinos/Kokkos_MasterLock.hpp>" (the original is "#include
>> <Kokkos_MasterLock.hpp>"). After that, the compiler can find the
>> "Kokkos_MasterLock.hpp" file, however, the compilation terminated with
>> another new file named "Kokkos_Macros.hpp". Truly, I can edit the path as
>> the aforementioned method, it is impossible to edit all the files using
>> this way. So, can someone tell me how to compile the program for Linux in
>> VS code using WSL? It will be of great help to me.
>>
>> [image: 3.png][image: 4.png][image: 5.png]
>>
> --
> 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/48537997-41c2-41b5-a260-18e7f320aef5n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/48537997-41c2-41b5-a260-18e7f320aef5n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2BFpyQFbXHmbXAbCzbxSfFPVuWp4ke88m8WuHrA8rJekCpcHyg%40mail.gmail.com.

Reply via email to