Dear Konrad,

Great! thanks for your suggestions, I will get to the bottom of it.

Regards,
Budhyant

On Friday, February 19, 2021 at 3:56:56 AM UTC-6 Konrad Simon wrote:

> Dear Budhyant,, 
>
> Hard, to say what should be the paths on your system. Dealing with all 
> these large dependencies can be quite cumbersome. I would say the way you 
> install Deal.II depends on what you want to do with it. Let me tell you how 
> I would approach this.
>
> 1. If you just want to develop a parallel application (using all the 
> packages that you mention) on your local laptop it is in my opinion usually 
> enough to use the packages that are provided by the OS package manager. 
> Simply use apt install if it is your own machine and you have super user 
> permissions. Then cmake should find these packages in the PATH and you just 
> need to tell cmake to use them through, e.g., DEAL_II_WITH_P4EST = ON etc, 
> for the build of Deal.II. This is usually sufficient for development since 
> for running large 3D problems a single machine is anyway not enough. So no 
> need to optimize a build for speed
>
> 2. If you do not have root permissions (or if you want to do some larger 
> computations on a cluster, or you don't want to change the system packages) 
> installing Deal.II using spack <https://spack.io/> is quite a nice 
> option. Spack will resolve all dependencies, optimize the builds for your 
> system and can be customized nicely (you can also link against MPI 
> libraries and other stuff provided by the target system's admin). This is 
> the option that I use.
>
> Hope that helps.
> Best regards,
> Konrad
>
>
> On Friday, February 19, 2021 at 10:07:00 AM UTC+1 [email protected] 
> wrote:
>
>> Dear All:
>>
>> I would appreciate it if you could please help me with the installation 
>> on Ubuntu 20. 
>>
>> I have installed p4est, petsc, Trilinos and metis in "~/src/", they are 
>> working individually. 
>>
>> Cmake succeeds in recognizing petsc and metis, however, it fails to 
>> recognize the p4est and Trilinos installations. 
>>
>> *cmake -DDEAL_II_WITH_MPI=ON -DP4EST_DIR=~/src/p4est/build-mpi/ 
>> -DPETSC_DIR=~/src/petsc-3.14.4/ -DPETSC_ARCH=amd64 
>> -DTRILINOS_DIR=~/src/Trilinos/MY_BUILD/ -DMETIS_DIR=~/src/metis-5.1.0/ 
>> -DCMAKE_INSTALL_PREFIX=~/src/dealii-9.2.0/ ..*
>>
>> What should the path be in my case?
>>
>> Thank you.
>>
>> Regards,
>> Budhyant Venepalli
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/10e85c3b-53a0-42b8-b874-9b00649cdaean%40googlegroups.com.

Reply via email to