Unable to Build Dealii on WSL Ubuntu 18.04

216 views
Skip to first unread message

SANKET KULKARNI

unread,
May 21, 2021, 2:15:56 PM5/21/21
to deal.II User Group
Hello, 
I am trying to build environment for dealii install but i am not able to build it. 

I am facing error while downloading. p4est file. Attaching the error with this file. 
Also,can you send me updated manual of downloading Dealii. 




Capture 6666.PNG

Marc Fehling

unread,
May 21, 2021, 4:45:25 PM5/21/21
to deal.II User Group
Hello,

from your error message it appears to me that you have an `openmpi` wrapper installed on your system which doesn't know anything about the `gcc` compilers. Are you sure you have them installed?

Marc

SANKET KULKARNI

unread,
May 21, 2021, 6:58:59 PM5/21/21
to dea...@googlegroups.com
Thank for your email, I tried installing and building it again but I guess the issue still exists. 

--
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/3a751acb-afd7-4706-962d-0a387c8ea291n%40googlegroups.com.
Capture -080998.PNG

Marc Fehling

unread,
May 21, 2021, 7:21:26 PM5/21/21
to dea...@googlegroups.com

Hi Sanket,

Yes, you need to install g++.

For ubuntu, I would encourage you to install a group of essential compilation packages via

```

sudo apt install build-essential

```

It contains the necessary compilers and a few more important tools.

Best,
Marc


On 5/21/21 5:10 PM, SANKET KULKARNI wrote:
Hello, 
I am attaching the screenshot. Do i need to install g++

On Fri, May 21, 2021 at 7:00 PM Marc Fehling <mafe...@gmail.com> wrote:

Hi Sanket,

what do you get if you type in `g++` in your console?

Marc

You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/yAafBZ5Yafo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAH%2B647UQKSdFvVUDbcx4azvsZV97s7ZBB1DRAA4yj0XN4NkwXg%40mail.gmail.com.

SANKET KULKARNI

unread,
May 24, 2021, 2:06:02 PM5/24/21
to dea...@googlegroups.com
Hello, 

Error after "make install". 

Regards, 
Sanket Kulkarni 

Capture-6798.PNG

Marc Fehling

unread,
May 24, 2021, 2:19:13 PM5/24/21
to deal.II User Group
Sanket,

you need to specify an installation directory with a cmake parameter as explained here.

`/PATH/TO/DEALII/INSTALLATION` is just a placeholder.

Best,
Marc

SANKET KULKARNI

unread,
May 25, 2021, 3:51:22 PM5/25/21
to dea...@googlegroups.com
Hello, 
I am not able to figure out how to resolve this issue since I am naive in the Linux environment. Please can you help with this? My CMake command is working fine. But the make install command is showing errors.

Wolfgang Bangerth

unread,
May 25, 2021, 4:04:49 PM5/25/21
to dea...@googlegroups.com
On 5/25/21 1:51 PM, SANKET KULKARNI wrote:
> I am not able to figure out how to resolve this issue since I am naive in the
> Linux environment. Please can you help with this? My CMake command is working
> fine. But the make install command is showing errors.

Sanket,
what Marc is saying is that where you call
cmake -DCMAKE_INSTALL_PREFIX=/PATH/TO/DEALII/INSTALLATION .....
you should replace /PATH/TO/DEALII/INSTALLATION by the name of the directory
in which you want to install deal.II.

That said, if you are new to linux, you would probably benefit from video
lectures 2.9 and 2.91 here:
https://www.math.colostate.edu/~bangerth/videos.html

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Matthias Maier

unread,
May 25, 2021, 6:36:27 PM5/25/21
to dea...@googlegroups.com
If you are happy with version 9.2 you could also add the following PPA:

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

and then simply install via

sudo apt install libdeal.ii-dev libdeal.ii-doc cmake make g++

See https://github.com/dealii/dealii/issues/11529

This version of deal.II-9.2.0 comes enabled with the most common
external libraries. We are in the process of releasing 9.3.0 very soon
and hope to have an updated PPA in the very near future (~1month).

Best,
Matthias



On Tue, May 25, 2021, at 14:51 CDT, SANKET KULKARNI <sanketku...@gmail.com> wrote:

> Hello,
> I am not able to figure out how to resolve this issue since I am naive in
> the Linux environment. Please can you help with this? My CMake command is
> working fine. But the make install command is showing errors.
>
> On Mon, May 24, 2021 at 2:19 PM Marc Fehling <mafe...@gmail.com> wrote:
>
>> Sanket,
>>
>> you need to specify an installation directory with a cmake parameter as
>> explained here <https://www.dealii.org/current/readme.html#configuration>.
>>>>>> <https://groups.google.com/d/msgid/dealii/3a751acb-afd7-4706-962d-0a387c8ea291n%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 a topic in the
>>>>> Google Groups "deal.II User Group" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/dealii/yAafBZ5Yafo/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> dealii+un...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/dealii/CAH%2B647UQKSdFvVUDbcx4azvsZV97s7ZBB1DRAA4yj0XN4NkwXg%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/dealii/CAH%2B647UQKSdFvVUDbcx4azvsZV97s7ZBB1DRAA4yj0XN4NkwXg%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+un...@googlegroups.com.
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/dealii/91f0de56-1627-2d3d-3f97-0934a05ed8a4%40gmail.com
>>>> <https://groups.google.com/d/msgid/dealii/91f0de56-1627-2d3d-3f97-0934a05ed8a4%40gmail.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+un...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dealii/56d0ec3f-83c9-45e9-bbce-6603f4d6e612n%40googlegroups.com
>> <https://groups.google.com/d/msgid/dealii/56d0ec3f-83c9-45e9-bbce-6603f4d6e612n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>

SANKET KULKARNI

unread,
May 26, 2021, 10:16:34 AM5/26/21
to dea...@googlegroups.com
Hello, 
dealii is installed successfully, I want to install prisms-plasticity software and it is showing the following errors.

Regards, 
Sanket.Kulkarni 

--
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.
Capture-799999.PNG

陈敏

unread,
May 26, 2021, 10:36:34 AM5/26/21
to dea...@googlegroups.com
Hi Sanket.Kulkarni,

Please check your deal.ii version, if it correspond with the deal.ii version that prisms-plasticity used.
Since the header “…/tria_boundary_lib.h” have been removed in deal.ii 9.2.0.

Best,
Chen

Wolfgang Bangerth

unread,
May 26, 2021, 11:02:30 AM5/26/21
to dea...@googlegroups.com
On 5/26/21 8:16 AM, SANKET KULKARNI wrote:
> dealii is installed successfully, I want to install prisms-plasticity software
> and it is showing the following errors.

Sanket,
that is a question you should probably ask the PRISMS people. But the proximal
cause is that PRISMS Plasticity requires a specific version of deal.II that is
several years old and doesn't work with the version of deal.II you installed.
You need to look up which version of deal.II they want, and then install that one.

Mohammad Mahtabi

unread,
Aug 14, 2021, 7:00:33 PM8/14/21
to deal.II User Group
Thank you Chen,

I had the same issue and had installed both 9.3.0 and 9.2.0 versions of dealii from the source. After seeing your comment gave a shot to 9.1.1 and the error was resolved and the installation of the PRISMS-plasticity was successful. I should mention that I was installing on CentOS 7 on a cluster (no root access). However, what I do not understand is that in the PRISMS-plasticity instructions, both ways of installing dealii (i.e. candi and compiling) are installing 9.2.0 version which was unsuccessful for me in several attempts.

Best,
Mohammad

Wolfgang Bangerth

unread,
Aug 15, 2021, 1:25:17 PM8/15/21
to dea...@googlegroups.com
On 8/14/21 5:00 PM, Mohammad Mahtabi wrote:
>
> I had the same issue and had installed both 9.3.0 and 9.2.0 versions of dealii
> from the source. After seeing your comment gave a shot to 9.1.1 and the error
> was resolved and the installation of the PRISMS-plasticity was successful. I
> should mention that I was installing on CentOS 7 on a cluster (no root
> access). However, what I do not understand is that in the PRISMS-plasticity
> instructions, both ways of installing dealii (i.e. candi and compiling) are
> installing 9.2.0 version which was unsuccessful for me in several attempts.

Mohammad,
the people who are running deal.II have no connection to the people who are
running PRISMS. We really don't know anything about their installation
instructions -- you will have to ask the PRISMS folks about this.
Reply all
Reply to author
Forward
0 new messages