Re: [deal.II] Issue with deal.ii installation on Cori

2022-02-23 Thread Vishwas Goel
Dear Daniel,

Thanks for the quick response. I am talking about storage; since my storage 
allocation is only 40GBs, the installation aborts when it runs out of disk 
space. 

Yes! The bin directory under the build directory takes most of the space, 
about 32GBs. I can try that, but just to be sure, do you mean I should add 
this flag when I use the cmake command to create the make file? 

On Wednesday, February 23, 2022 at 6:35:52 PM UTC-5 d.arnd...@gmail.com 
wrote:

> Vishwas,
>
> A deal.II installation should not use that much disk space or are you 
> talking about the memory being used while compiling? Every compilation unit 
> uses a couple GB so running with 64 threads might be too much.
> If it's the disk space, do you have any idea which directories are 
> particularly large? Maybe, try only building in Release mode via 
> CMAKE_BUILD_TYPE=Release.
>
> Best,
> Daniel
>
> Am Mi., 23. Feb. 2022 um 16:09 Uhr schrieb Vishwas Goel  >:
>
>> Hi, 
>>
>> I am trying to install deal.ii on Cori using the following commands. 
>> However, the overall installation files run over 40 Gbs. Can you please let 
>> me know what could be the issue? I suspect I might be installing everything 
>> in deal.ii, which I might not even need.
>>
>> $ wget https://dealii.43-1.org/downloads/dealii-9.2.0.tar.gz
>>
>> $ tar xvzf dealii-9.2.0.tar.gz
>>
>> $ cd dealii-9.2.0
>>
>> $ mkdir build-executable
>>
>> $ cd build-executable
>>
>> $ cmake ..
>>
>> $ make expand_instantiations_exe
>>
>> $ export PATH="$PWD/bin:$PATH"
>>
>> $ cd
>>
>> $ mkdir dealii_install
>>
>> $ mkdir build 
>>
>> $ cd build
>>
>> *$ cmake -DCMAKE_INSTALL_PREFIX=~/dealii_install \*
>>
>> * -DCMAKE_PREFIX_PATH=/opt/cray/pe/lib64 \*
>>
>> * -DWITH_MPI=ON \*
>>
>> *-DMPI_DIR=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/ \*
>>
>> *
>> -DMPI_CXX_INCLUDE_PATH=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/include/ 
>> \*
>>
>> *-DCMAKE_CXX_COMPILER=/opt/cray/pe/craype/2.6.2/bin/CC \*
>>
>> *-DCMAKE_C_COMPILER=/opt/cray/pe/craype/2.6.2/bin/cc \*
>>
>> *-DCMAKE_Fortran_COMPILER=/opt/cray/pe/craype/2.6.2/bin/ftn 
>> \*
>>
>> * -DWITH_P4EST=ON -DP4EST_DIR=~/p4est_install/ \*
>>
>> *-DCMAKE_SYSTEM_NAME=CrayLinuxEnvironment \*
>>
>> * ~/dealii-9.2.0 *
>>
>> $ make -j 64 install
>>
>> -- 
>> 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/616952b2-443f-456a-9534-cb41e6a7219bn%40googlegroups.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/9ad8cc49-3136-4ff7-843b-ed4513c4391en%40googlegroups.com.


Re: [deal.II] Issue with deal.ii installation on Cori

2022-02-23 Thread Daniel Arndt
Vishwas,

A deal.II installation should not use that much disk space or are you
talking about the memory being used while compiling? Every compilation unit
uses a couple GB so running with 64 threads might be too much.
If it's the disk space, do you have any idea which directories are
particularly large? Maybe, try only building in Release mode via
CMAKE_BUILD_TYPE=Release.

Best,
Daniel

Am Mi., 23. Feb. 2022 um 16:09 Uhr schrieb Vishwas Goel :

> Hi,
>
> I am trying to install deal.ii on Cori using the following commands.
> However, the overall installation files run over 40 Gbs. Can you please let
> me know what could be the issue? I suspect I might be installing everything
> in deal.ii, which I might not even need.
>
> $ wget https://dealii.43-1.org/downloads/dealii-9.2.0.tar.gz
>
> $ tar xvzf dealii-9.2.0.tar.gz
>
> $ cd dealii-9.2.0
>
> $ mkdir build-executable
>
> $ cd build-executable
>
> $ cmake ..
>
> $ make expand_instantiations_exe
>
> $ export PATH="$PWD/bin:$PATH"
>
> $ cd
>
> $ mkdir dealii_install
>
> $ mkdir build
>
> $ cd build
>
> *$ cmake -DCMAKE_INSTALL_PREFIX=~/dealii_install \*
>
> * -DCMAKE_PREFIX_PATH=/opt/cray/pe/lib64 \*
>
> * -DWITH_MPI=ON \*
>
> *-DMPI_DIR=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/ \*
>
> *
> -DMPI_CXX_INCLUDE_PATH=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/include/
> \*
>
> *-DCMAKE_CXX_COMPILER=/opt/cray/pe/craype/2.6.2/bin/CC \*
>
> *-DCMAKE_C_COMPILER=/opt/cray/pe/craype/2.6.2/bin/cc \*
>
> *-DCMAKE_Fortran_COMPILER=/opt/cray/pe/craype/2.6.2/bin/ftn
> \*
>
> * -DWITH_P4EST=ON -DP4EST_DIR=~/p4est_install/ \*
>
> *-DCMAKE_SYSTEM_NAME=CrayLinuxEnvironment \*
>
> * ~/dealii-9.2.0 *
>
> $ make -j 64 install
>
> --
> 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/616952b2-443f-456a-9534-cb41e6a7219bn%40googlegroups.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/CAOYDWbJ1GH8Qf%3DmLzjKqee_KHRFgMVRxkCV5usUHApay%3D3e5hw%40mail.gmail.com.


[deal.II] Issue with deal.ii installation on Cori

2022-02-23 Thread Vishwas Goel
Hi, 

I am trying to install deal.ii on Cori using the following commands. 
However, the overall installation files run over 40 Gbs. Can you please let 
me know what could be the issue? I suspect I might be installing everything 
in deal.ii, which I might not even need.

$ wget https://dealii.43-1.org/downloads/dealii-9.2.0.tar.gz

$ tar xvzf dealii-9.2.0.tar.gz

$ cd dealii-9.2.0

$ mkdir build-executable

$ cd build-executable

$ cmake ..

$ make expand_instantiations_exe

$ export PATH="$PWD/bin:$PATH"

$ cd

$ mkdir dealii_install

$ mkdir build 

$ cd build

*$ cmake -DCMAKE_INSTALL_PREFIX=~/dealii_install \*

* -DCMAKE_PREFIX_PATH=/opt/cray/pe/lib64 \*

* -DWITH_MPI=ON \*

*-DMPI_DIR=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/ \*

*
-DMPI_CXX_INCLUDE_PATH=/opt/cray/pe/mpt/default/gni/mpich-gnu/5.1/include/ 
\*

*-DCMAKE_CXX_COMPILER=/opt/cray/pe/craype/2.6.2/bin/CC \*

*-DCMAKE_C_COMPILER=/opt/cray/pe/craype/2.6.2/bin/cc \*

*-DCMAKE_Fortran_COMPILER=/opt/cray/pe/craype/2.6.2/bin/ftn 
\*

* -DWITH_P4EST=ON -DP4EST_DIR=~/p4est_install/ \*

*-DCMAKE_SYSTEM_NAME=CrayLinuxEnvironment \*

* ~/dealii-9.2.0 *

$ make -j 64 install

-- 
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/616952b2-443f-456a-9534-cb41e6a7219bn%40googlegroups.com.