Issue with deal.ii installation on Cori

23 views
Skip to first unread message

Vishwas Goel

unread,
Feb 23, 2022, 4:09:51 PM2/23/22
to deal.II User Group
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


Daniel Arndt

unread,
Feb 23, 2022, 6:35:52 PM2/23/22
to dea...@googlegroups.com
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

--
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.

Vishwas Goel

unread,
Feb 23, 2022, 6:43:02 PM2/23/22
to deal.II User Group
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? 

Reply all
Reply to author
Forward
0 new messages