Re: [deal.II] Re: Deal.ii insttallation issues
Dear Professor Bangerth, Thank you very much for your reply. Removing all and redoing everything definitely did the trick. Everything seems to work now. I only did the following changes though I am not sure how useful they are: 1. I used tar xvf instead of gunzip & tar 2. while naming directory using home/projects/deal_installed was giving an error. Shifting to ~/projects.deal_installed had success Thank you so much everyone for your kind support. On Thursday, April 9, 2020 at 5:59:15 PM UTC-4, Wolfgang Bangerth wrote: > > On 4/9/20 3:26 PM, Malik Tahiyat wrote: > > > > I am very confused what the problem is. The issue happens with the > install > > prefix line. > > Start from scratch. Delete the directory that you are currently working > in, > copy the .tar.gz file, and then write down *every* command you issue and > error > you get as a result. Then show us this list of commands + errors. Maybe > one of > us will see what the problem is! > > Best > W. > > -- > > Wolfgang Bangerth email: bang...@colostate.edu > > www: http://www.math.colostate.edu/~bangerth/ > > -- 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/d2ce3daf-954f-4cc6-8341-132801b58388%40googlegroups.com.
Re: [deal.II] Re: Deal.ii insttallation issues
On 4/9/20 3:26 PM, Malik Tahiyat wrote: I am very confused what the problem is. The issue happens with the install prefix line. Start from scratch. Delete the directory that you are currently working in, copy the .tar.gz file, and then write down *every* command you issue and error you get as a result. Then show us this list of commands + errors. Maybe one of us will see what the problem is! Best W. -- Wolfgang Bangerth email: bange...@colostate.edu www: http://www.math.colostate.edu/~bangerth/ -- 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/67349542-973f-e5ba-5d70-101b44523f2f%40colostate.edu.
Re: [deal.II] Re: Deal.ii insttallation issues
I have you tried writing the full path instead of using ~ I am not sure CMake knows how to expand it. Le jeu. 9 avr. 2020 à 17:27, Malik Tahiyat a écrit : > > I did try it actually before. Still no results. > > I am very confused what the problem is. The issue happens with the install > prefix line. > > On Thu, Apr 9, 2020, 5:18 PM Bruno Turcksin wrote: >> >> I wonder if there is a problem because of the . in the directory name. >> Can you try to rename the directories? >> >> >> Le jeu. 9 avr. 2020 à 16:27, Malik Tahiyat >> a écrit : >> > >> > Yes it does. >> > >> > On Thu, Apr 9, 2020, 2:49 PM Bruno Turcksin >> > wrote: >> >> >> >> Le jeu. 9 avr. 2020 à 14:34, Malik Tahiyat >> >> a écrit : >> >> > >> >> > I get the error : "Make Error: The source directory >> >> > "/home/malik/dealii-9.1.1" does not exist." in step 3 >> >> Does "/home/malik/dealii-9.1.1" contain a CMakeLists.txt file? >> >> >> >> Bruno >> >> >> >> -- >> >> 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/CAGVt9eNQiUPUSaYjozNx7t4KaPLfyvNu8JuypFVu62DsWHyzmw%40mail.gmail.com. >> > >> > -- >> > 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/MPtPbN7yc2k/unsubscribe. >> > To unsubscribe from this group and all its topics, send an email to >> > dealii+unsubscr...@googlegroups.com. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/dealii/CAA_-CQaoi%2BKid%3D%2B2jFQYAxpquSi-eb-zHmiT7aGPhh5uxtCHug%40mail.gmail.com. >> >> -- >> 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/CAGVt9eM6GE4tEe9qQUZ8_%2B1Pwxns_dnXdddKoxU%2Bh5praq7izA%40mail.gmail.com. > > -- > 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/MPtPbN7yc2k/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/CAA_-CQZ7rb8%3D1pKKgQZLYDjTusSmMm_viERMNBP8z1THihObOg%40mail.gmail.com. -- 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/CAGVt9ePUMwka5rYfQ8iqs7SJ3ga%3DKcvP4Z2hQHFLaGpse1kdUg%40mail.gmail.com.
Re: [deal.II] Re: Deal.ii insttallation issues
I did try it actually before. Still no results. I am very confused what the problem is. The issue happens with the install prefix line. On Thu, Apr 9, 2020, 5:18 PM Bruno Turcksin wrote: > I wonder if there is a problem because of the . in the directory name. > Can you try to rename the directories? > > > Le jeu. 9 avr. 2020 à 16:27, Malik Tahiyat > a écrit : > > > > Yes it does. > > > > On Thu, Apr 9, 2020, 2:49 PM Bruno Turcksin > wrote: > >> > >> Le jeu. 9 avr. 2020 à 14:34, Malik Tahiyat > >> a écrit : > >> > > >> > I get the error : "Make Error: The source directory > "/home/malik/dealii-9.1.1" does not exist." in step 3 > >> Does "/home/malik/dealii-9.1.1" contain a CMakeLists.txt file? > >> > >> Bruno > >> > >> -- > >> 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/CAGVt9eNQiUPUSaYjozNx7t4KaPLfyvNu8JuypFVu62DsWHyzmw%40mail.gmail.com > . > > > > -- > > 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/MPtPbN7yc2k/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/CAA_-CQaoi%2BKid%3D%2B2jFQYAxpquSi-eb-zHmiT7aGPhh5uxtCHug%40mail.gmail.com > . > > -- > 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/CAGVt9eM6GE4tEe9qQUZ8_%2B1Pwxns_dnXdddKoxU%2Bh5praq7izA%40mail.gmail.com > . > -- 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/CAA_-CQZ7rb8%3D1pKKgQZLYDjTusSmMm_viERMNBP8z1THihObOg%40mail.gmail.com.
Re: [deal.II] Re: Deal.ii insttallation issues
I wonder if there is a problem because of the . in the directory name. Can you try to rename the directories? Le jeu. 9 avr. 2020 à 16:27, Malik Tahiyat a écrit : > > Yes it does. > > On Thu, Apr 9, 2020, 2:49 PM Bruno Turcksin wrote: >> >> Le jeu. 9 avr. 2020 à 14:34, Malik Tahiyat >> a écrit : >> > >> > I get the error : "Make Error: The source directory >> > "/home/malik/dealii-9.1.1" does not exist." in step 3 >> Does "/home/malik/dealii-9.1.1" contain a CMakeLists.txt file? >> >> Bruno >> >> -- >> 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/CAGVt9eNQiUPUSaYjozNx7t4KaPLfyvNu8JuypFVu62DsWHyzmw%40mail.gmail.com. > > -- > 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/MPtPbN7yc2k/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/CAA_-CQaoi%2BKid%3D%2B2jFQYAxpquSi-eb-zHmiT7aGPhh5uxtCHug%40mail.gmail.com. -- 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/CAGVt9eM6GE4tEe9qQUZ8_%2B1Pwxns_dnXdddKoxU%2Bh5praq7izA%40mail.gmail.com.
Re: [deal.II] Re: Deal.ii insttallation issues
Yes it does. On Thu, Apr 9, 2020, 2:49 PM Bruno Turcksin wrote: > Le jeu. 9 avr. 2020 à 14:34, Malik Tahiyat > a écrit : > > > > I get the error : "Make Error: The source directory > "/home/malik/dealii-9.1.1" does not exist." in step 3 > Does "/home/malik/dealii-9.1.1" contain a CMakeLists.txt file? > > Bruno > > -- > 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/CAGVt9eNQiUPUSaYjozNx7t4KaPLfyvNu8JuypFVu62DsWHyzmw%40mail.gmail.com > . > -- 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/CAA_-CQaoi%2BKid%3D%2B2jFQYAxpquSi-eb-zHmiT7aGPhh5uxtCHug%40mail.gmail.com.
Re: [deal.II] Re: Deal.ii insttallation issues
Le jeu. 9 avr. 2020 à 14:34, Malik Tahiyat a écrit : > > I get the error : "Make Error: The source directory > "/home/malik/dealii-9.1.1" does not exist." in step 3 Does "/home/malik/dealii-9.1.1" contain a CMakeLists.txt file? Bruno -- 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/CAGVt9eNQiUPUSaYjozNx7t4KaPLfyvNu8JuypFVu62DsWHyzmw%40mail.gmail.com.
[deal.II] Re: Deal.ii insttallation issues
Hi Bruno, Thanks for your reply. But the step: cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II comes before the 'make' step, right? I am getting the issue while running the aforementioned command that wither the source directory does not contain CMakelist or the source directory does not exist. In the code sequence: 1. mkdir ~/dealii-9.1.1/build/ 2. cd ~/dealii-9.1.1/build/ 3. cmake -D CMAKE_INSTALL_PREFIX=~/dealii-9.1.1-installed/ ~/dealii-9.1.1/ 4. make -j 4 5. make install I get the error : "Make Error: The source directory "/home/malik/dealii-9.1.1" does not exist." in step 3 Any help is appreciated On Thursday, April 9, 2020 at 9:50:58 AM UTC-4, Bruno Turcksin wrote: > > Hi, > > To install deal.II, you need to first compile it using `make` which > probably happens in ~/projects/dealii-9.1.1/build and then it needs to be > installed using `make install`. That second step should move the important > files to /home/projects/deal.II It looks to me that you forgot this second > step. > > > Best, > > Bruno > > > On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: >> >> I was trying to follow this command in READ me section (after downloading >> and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II >> >> cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II >> >> >> i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ >> >> >> However, everytime I got the following error >> CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" >> does not appear to contain CMakeLists.txt. >> Specify --help for usage, or press the help button on the CMake GUI. >> >> >> The only way it worked was if i added two dots after the command: >> >> $ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ .. >> >> >> But then, the installation does not happen in the deal.II directory. THe >> program is installed in ~/projects/dealii-9.1.1/build >> >> THe deal.II folder stays empty >> >> >> ANd of course i face the error >> >> *** Could not locate a (sufficiently recent) version of deal.II. *** >> >> >> >> You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake >> >> or set an environment variable "DEAL_II_DIR" that contains this path. >> >> >> I am fairly new to linux. Can you please say what is happening wrong here? >> >> >> I will be obliged. >> >> -- 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/b099afa7-259a-43bc-beb3-21809bdb9812%40googlegroups.com.
[deal.II] Re: Deal.ii insttallation issues
Timo, Thaks for your reply. I did the exact same thing you asked. It gives an error: CMake Error: The source directory "/home/malik/dealii-9.1.1" does not exist. Specify --help for usage, or press the help button on the CMake GUI. when I run the following line: cmake -D CMAKE_INSTALL_PREFIX=~/dealii-9.1.1-installed/ ~/dealii-9.1.1/ in this directory: ~/dealii-9.1.1/build/ But the directory exists!! How do I solve this error? On Thursday, April 9, 2020 at 11:34:53 AM UTC-4, Timo Heister wrote: > > Malik, > > There is three different directories at play: > 1. build directory (this is where you run cmake in) > 2. the source directory (this is the deal.II download and contains > CMakeLists.txt and source/ include/, etc.) > 3. the install directory > > All three directories can be anything you want. For example I might use: > 1. ~/dealii-9.1.1/build/ > 2. ~/dealii-9.1.1/ > 3. ~/dealii-9.1.1-installed/ > > In that case I would: > mkdir ~/dealii-9.1.1/build/ > cd ~/dealii-9.1.1/build/ > cmake -D CMAKE_INSTALL_PREFIX=~/dealii-9.1.1-installed/ ~/dealii-9.1.1/ > make -j 4 > make install > > If that doesn't work for you, tell us exactly what command you run in > which directory. > > > On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: >> >> I was trying to follow this command in READ me section (after downloading >> and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II >> >> cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II >> >> >> i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ >> >> >> However, everytime I got the following error >> CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" >> does not appear to contain CMakeLists.txt. >> Specify --help for usage, or press the help button on the CMake GUI. >> >> >> The only way it worked was if i added two dots after the command: >> >> $ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ .. >> >> >> But then, the installation does not happen in the deal.II directory. THe >> program is installed in ~/projects/dealii-9.1.1/build >> >> THe deal.II folder stays empty >> >> >> ANd of course i face the error >> >> *** Could not locate a (sufficiently recent) version of deal.II. *** >> >> >> >> You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake >> >> or set an environment variable "DEAL_II_DIR" that contains this path. >> >> >> I am fairly new to linux. Can you please say what is happening wrong here? >> >> >> I will be obliged. >> >> -- 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/50f70139-29df-4fe3-acfb-ea07622ff5ed%40googlegroups.com.
[deal.II] Re: Deal.ii insttallation issues
Timo, THanks for your reply. I did the exact same thing you asked. It gives an error: CMake Error: The source directory "/home/malik/dealii-9.1.1" does not exist. Specify --help for usage, or press the help button on the CMake GUI. But the directory exists!! How do I solve this error? On Thursday, April 9, 2020 at 11:34:53 AM UTC-4, Timo Heister wrote: > > Malik, > > There is three different directories at play: > 1. build directory (this is where you run cmake in) > 2. the source directory (this is the deal.II download and contains > CMakeLists.txt and source/ include/, etc.) > 3. the install directory > > All three directories can be anything you want. For example I might use: > 1. ~/dealii-9.1.1/build/ > 2. ~/dealii-9.1.1/ > 3. ~/dealii-9.1.1-installed/ > > In that case I would: > mkdir ~/dealii-9.1.1/build/ > cd ~/dealii-9.1.1/build/ > cmake -D CMAKE_INSTALL_PREFIX=~/dealii-9.1.1-installed/ ~/dealii-9.1.1/ > make -j 4 > make install > > If that doesn't work for you, tell us exactly what command you run in > which directory. > > > On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: >> >> I was trying to follow this command in READ me section (after downloading >> and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II >> >> cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II >> >> >> i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ >> >> >> However, everytime I got the following error >> CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" >> does not appear to contain CMakeLists.txt. >> Specify --help for usage, or press the help button on the CMake GUI. >> >> >> The only way it worked was if i added two dots after the command: >> >> $ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ .. >> >> >> But then, the installation does not happen in the deal.II directory. THe >> program is installed in ~/projects/dealii-9.1.1/build >> >> THe deal.II folder stays empty >> >> >> ANd of course i face the error >> >> *** Could not locate a (sufficiently recent) version of deal.II. *** >> >> >> >> You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake >> >> or set an environment variable "DEAL_II_DIR" that contains this path. >> >> >> I am fairly new to linux. Can you please say what is happening wrong here? >> >> >> I will be obliged. >> >> -- 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/7f8c35a1-9e3c-4717-a700-f949ecbeb7d6%40googlegroups.com.
[deal.II] Re: Deal.ii insttallation issues
Malik, There is three different directories at play: 1. build directory (this is where you run cmake in) 2. the source directory (this is the deal.II download and contains CMakeLists.txt and source/ include/, etc.) 3. the install directory All three directories can be anything you want. For example I might use: 1. ~/dealii-9.1.1/build/ 2. ~/dealii-9.1.1/ 3. ~/dealii-9.1.1-installed/ In that case I would: mkdir ~/dealii-9.1.1/build/ cd ~/dealii-9.1.1/build/ cmake -D CMAKE_INSTALL_PREFIX=~/dealii-9.1.1-installed/ ~/dealii-9.1.1/ make -j 4 make install If that doesn't work for you, tell us exactly what command you run in which directory. On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: > > I was trying to follow this command in READ me section (after downloading > and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II > > cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II > > > i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ > > > However, everytime I got the following error > CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" > does not appear to contain CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > > > The only way it worked was if i added two dots after the command: > > $ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ .. > > > But then, the installation does not happen in the deal.II directory. THe > program is installed in ~/projects/dealii-9.1.1/build > > THe deal.II folder stays empty > > > ANd of course i face the error > > *** Could not locate a (sufficiently recent) version of deal.II. *** > > > > You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake > > or set an environment variable "DEAL_II_DIR" that contains this path. > > > I am fairly new to linux. Can you please say what is happening wrong here? > > > I will be obliged. > > -- 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/213bb19e-aa8e-49e5-a416-cf0bc31bb9ab%40googlegroups.com.
[deal.II] Re: Deal.ii insttallation issues
Hi, To install deal.II, you need to first compile it using `make` which probably happens in ~/projects/dealii-9.1.1/build and then it needs to be installed using `make install`. That second step should move the important files to /home/projects/deal.II It looks to me that you forgot this second step. Best, Bruno On Thursday, April 9, 2020 at 4:38:52 AM UTC-4, Malik Tahiyat wrote: > > I was trying to follow this command in READ me section (after downloading > and unpacking the dealii-9.1.1.tar.gz to set install directory of deal.II > > cmake -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ../deal.II > > > i had changed it to cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ > > > However, everytime I got the following error > CMake Error: The source directory "/home/malik/projects/dealii-9.1.1/build" > does not appear to contain CMakeLists.txt. > Specify --help for usage, or press the help button on the CMake GUI. > > > The only way it worked was if i added two dots after the command: > > $ cmake -DCMAKE_INSTALL_PREFIX=/home/projects/deal.II/ .. > > > But then, the installation does not happen in the deal.II directory. THe > program is installed in ~/projects/dealii-9.1.1/build > > THe deal.II folder stays empty > > > ANd of course i face the error > > *** Could not locate a (sufficiently recent) version of deal.II. *** > > > > You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake > > or set an environment variable "DEAL_II_DIR" that contains this path. > > > I am fairly new to linux. Can you please say what is happening wrong here? > > > I will be obliged. > > -- 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/fd647210-bfd5-46d1-acdb-f31c9e36d7e3%40googlegroups.com.