Problem in installion of deal ii with petsc using candi on WSL

34 views
Skip to first unread message

sabyasachi chatterjee

unread,
Apr 18, 2023, 3:40:11 AM4/18/23
to deal.II User Group
Dear All, 

I am trying to install deal ii on Windows Subsystem for Linux (WSL). I did the following: 

1. Install mpich. (version 4.1.1) and added the path of mpich_install to $PATH. 
2. Installed blas-lacpack using sudo apt-get install libblas-dev liblapack-dev (there was an error saying blas and lapack not found). 
2. Used candi to install deal ii (9.1.1) with parmetis, hdf5, p4est, petsc (3.16.4). 

All the dependencies are installed but candi is not able to clone deal ii through git with the following error: 

===============================================
Fetching dealii v9.1.1
Cloning into 'deal.II-v9.1.1'...
remote: Enumerating objects: 566631, done.
remote: Counting objects: 100% (509/509), done.
remote: Compressing objects: 100% (292/292), done.
error: 1178 bytes of body are still expected3 MiB | 13.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failure with exit status: 128
Exit message: candi: git clone https://github.com/dealii/dealii.git deal.II-v9.1.1 failed
==================================================

1. Please let me know how to get around this issue. Is there a way to download a deal ii tarball and use it instead? 

2. What is the simplest way to compile deal ii with MPI and PETSc (in which order do these need to be installed)? First install mpich manually and pass the path of mpich installation during installation of PETSc; then install PETSc and pass the path of PETSc to the cmake command during deal ii installation? 

Or is there any easier way? 

These are probably simple questions, however I am having a hard time understanding the installation process. 

Thanks and regards, 
Sabyasachi 

  
 

Timo Heister

unread,
Apr 18, 2023, 10:40:00 AM4/18/23
to dea...@googlegroups.com
The problem you are seeing is related to network issues in WSL2 and
unrelated to deal.II/candi. It just happens that the "git clone"
command fails. If you google for "WSL git clone failure" you will find
ample documentation and workarounds. For me it helped to adjust the
MTU, but it might be different for you.

> Or is there any easier way?

Yes, you can just install the deal.II Ubuntu/Debian packages as
described at https://github.com/dealii/dealii/wiki/Getting-deal.II

On Tue, Apr 18, 2023 at 3:40 AM sabyasachi chatterjee
<sabya...@gmail.com> wrote:
>
> Dear All, I am trying to install deal ii on Windows Subsystem for Linux (WSL). I did the following:  1. Install mpich. (version 4. 1. 1) and added the path of mpich_install to $PATH.  2. Installed blas-lacpack using sudo apt-get install libblas-dev
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> Use caution when opening links or attachments if you do not recognize the sender.
>
> ZjQcmQRYFpfptBannerEnd
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/2a36bce7-c7c2-4ad2-81c2-ca5aa4c8a73dn%40googlegroups.com.



--
Timo Heister
http://www.math.clemson.edu/~heister/
Reply all
Reply to author
Forward
0 new messages