deal.ii installation problem

129 views
Skip to first unread message

ME20D503 NEWTON

unread,
Jun 10, 2022, 11:18:09 PM6/10/22
to deal.II User Group
Dear users,
i am facing some problem while installing deal.ii. installation has been completed upto 100% but in the last i got some error.please find the attachment.
Thank you.
IMG-3480.jpg

Alexander Kiselyov

unread,
Jun 11, 2022, 3:38:46 AM6/11/22
to dea...@googlegroups.com
Are you building deal.II manually? The default install path of manually-built software is /usr/local on Linux. It is usually write-accessible only by the root user. I recommend to use candi, it will install deal.II + dependencies in user-accessible locations, it is much easier than doing it manually. Don't forget to edit candi.cfg to specify the deal.II version and the needed features. 

Regards,
Alexander
--
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/466cb4b4-7763-46f7-ac5c-8ad723fdf638n%40googlegroups.com.

Wolfgang Bangerth

unread,
Jun 11, 2022, 6:29:11 PM6/11/22
to dea...@googlegroups.com

> i am facing some problem while installing deal.ii. installation has been
> completed upto 100% but in the last i got some error.please find the attachment.

The error message actually says everything you need to know:
cannot create directory /usr/local/... Maybe you need administrative
privileges.

What is happening is that you called cmake without saying where you wanted
deal.II to be installed (which you would do with the
-DCMAKE_INSTALL_PREFIX=... switch). The default for installation is
/usr/local
which is a directory only the 'root' user can write to, but not the iittp user
you apparently are.

Unless you are a sysadmin, people generally install deal.II into a location in
their home directory by specifying -DCMAKE_INSTALL_PREFIX=... when calling
cmake -- see also the installation instructions at
https://dealii.org/developer/readme.html

Best
W.


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

ME20D503 NEWTON

unread,
Jun 12, 2022, 5:48:31 AM6/12/22
to deal.II User Group
Thank you so much professor. I successfully installed the deal. ii in my system.
Reply all
Reply to author
Forward
0 new messages