Hello there,

Sorry for the long delay in the reply. If you didn't figure this out yet: look 
under

https://launchpad.net/~ginggs/+archive/ubuntu/deal.ii-9.3.0-backports

that is linked to from the 'ubuntu' section of 
https://www.dealii.org/download.html . A PPA contains packages outside the 
normal distribution channel. You can follow the directions at the first link to 
add the new PPA and download deal.II.


@keassyguang did those instructions work for you?

Best,
Davd
________________________________
From: dealii@googlegroups.com <dealii@googlegroups.com> on behalf of Jiang Hu 
<jiangh...@gmail.com>
Sent: Friday, January 28, 2022 8:09 PM
To: dealii@googlegroups.com <dealii@googlegroups.com>
Subject: Re: [deal.II] Re: Cannot find the header files when compiling with WSL 
Linux distributive in VS code

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<mailto: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.

[1.png][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.

[3.png][4.png][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<mailto: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<mailto:dealii+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CA%2BFpyQFbXHmbXAbCzbxSfFPVuWp4ke88m8WuHrA8rJekCpcHyg%40mail.gmail.com<https://groups.google.com/d/msgid/dealii/CA%2BFpyQFbXHmbXAbCzbxSfFPVuWp4ke88m8WuHrA8rJekCpcHyg%40mail.gmail.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/MN2PR03MB48792C82642A1C0D0CD0A605ED0A9%40MN2PR03MB4879.namprd03.prod.outlook.com.

Reply via email to