Installation Problem

153 views
Skip to first unread message

DANISH KHAN

unread,
Oct 10, 2021, 8:51:06 AM10/10/21
to Prisms-CPFE-users
Hi  Reza,

My name is Danish Khan and I am a PhD researcher at TU/e Eindhoven, Netherlands. I intend to use PRISMS Plasticity for my PhD project for CPFE simulations for fatigue. I am currently trying to install PRISMS plasticity on my ubuntu 16.04. I am following your installation video on youtube. While compiling deal ii using ./candi.sh, I get the following error after about 64% completion of the process:

...
[ 60%] Built target obj_dofs_release
[ 64%] Built target obj_lac_release
[ 64%] Building CXX object source/base/CMakeFiles/obj_base_release.dir/symmetric_tensor.cc.o
In file included from /home/danish/dealii-candi/tmp/unpack/deal.II-v9.3.1/source/base/symmetric_tensor.cc:20:0:
/home/danish/dealii-candi/tmp/unpack/deal.II-v9.3.1/include/deal.II/base/symmetric_tensor.templates.h: In instantiation of ‘std::array<Number, 3ul> dealii::eigenvalues(const dealii::SymmetricTensor<2, 3, Number>&) [with Number = float]’:
/home/danish/dealii-candi/tmp/build/deal.II-v9.3.1/source/base/symmetric_tensor.inst:85:42:   required from here
/home/danish/dealii-candi/tmp/unpack/deal.II-v9.3.1/include/deal.II/base/symmetric_tensor.templates.h:113:39:   in constexpr expansion of ‘dealii::determinant<3, float>(B)’
/home/danish/dealii-candi/tmp/unpack/deal.II-v9.3.1/include/deal.II/base/symmetric_tensor.templates.h:113:43: internal compiler error: Segmentation fault
       const Number tmp_2 = determinant(B) / 2.0;
                                           ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
source/base/CMakeFiles/obj_base_release.dir/build.make:2030: recipe for target 'source/base/CMakeFiles/obj_base_release.dir/symmetric_tensor.cc.o' failed
make[2]: *** [source/base/CMakeFiles/obj_base_release.dir/symmetric_tensor.cc.o] Error 1
CMakeFiles/Makefile2:1941: recipe for target 'source/base/CMakeFiles/obj_base_release.dir/all' failed
make[1]: *** [source/base/CMakeFiles/obj_base_release.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building dealii v9.3.1.

I am also attaching the snapshot for the problem. I tried to search for the problem but couldnt get any solution. Kindly see the error and let me know how can I install deal ii to use PRISMS plasticity.

Screenshot from 2021-10-10 18-18-34.png

Regards,

Danish

Mohammadreza Yaghoobi

unread,
Oct 11, 2021, 1:00:03 PM10/11/21
to DANISH KHAN, Prisms-CPFE-users
Hi Danish,

Since deal.ii 9.3 is newly released, I have not fully tested the compatibility between deal.ii and PRISMS. Please clean everything and use the candi for deal.ii 9.2 and try to recompile.
This should work without any issues
Here is the link for candi for deal.ii 9.2:

Be careful, if you're pulling the candi using git clone, you need to use the branch editor to get candi for dealii 9.2. 
To check this, after you get candi, check the candi.cfg line  88, it should say "DEAL_II_VERSION=v9.2.0".

Please let me know how it goes.

Also, on a different note, if you're using PRISMS-Plasticity for fatigue application, try to use the rate-dependent model.

Thanks
Reza

--
You received this message because you are subscribed to the Google Groups "Prisms-CPFE-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-cpfe-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-cpfe-users/f1ad6c54-72a5-48a0-b58c-a8fb83cb6f9bn%40googlegroups.com.

DANISH KHAN

unread,
Oct 11, 2021, 4:51:36 PM10/11/21
to Mohammadreza Yaghoobi, Prisms-CPFE-users
Hi Reza,

Many thanks for your reply. I found out the issue and resolved it. I am installing on Ubuntu 16.04 and it seems that it needs exact gcc version 5.5 to compile deal ii on it. So i changed my gcc compiler to exact 5.5 using one of the tutorials, and was finally able to compile deal ii. More so, i was even able to compile prisms plasticity and crystalplasticity as well. 

Thanks for the suggestion of rate dependent model for fatigue modelling. I shall keep that in mind. Will keep coming back to you guys in case of any issue :)

Regards,

Danish
--
Danish Khan

gazi tanvir

unread,
Mar 10, 2025, 12:19:27 PMMar 10
to Prisms-CPFE-users
Hello Reza,

I was trying to install the PRISMS-plasticity in my virtual box using ubuntu 20.04. I did everything according to the documentation, but every time I get stuck at the same place. The dealii version is 9.6.0. Please take a look at the picture. Should i change the dealii version? I get this error while I use the "make" command in the plasticity directory after using "cmake .". Can you please let me know what I can do?

PRISMS-Plasticity installation issues.PNG


Thanks,
Gazi

Michael Pilipchuk

unread,
May 17, 2025, 12:14:27 PMMay 17
to Prisms-CPFE-users
Hi Gazi, 

I don't believe that 9.6 is compatible yet. Could you please try deal.II-v9.5.2?

-Michael
Reply all
Reply to author
Forward
0 new messages