Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2161 Discussions

How to install beta8 without it getting near home directory?

Matt_Thompson
Novice
1,346 Views

Dear Intel Gurus,

I'm trying to install the Intel oneAPI beta8 on a cluster where my home directory is *very* small (2 GB or so). It's backed up and so the admins keep it small and expect us to use other, not-backed-up disk systems instead for big work.

But, I keep having issues with the oneAPI installer trying to extract/install/etc. files in my home directory. I even tried something a la:

./l_BaseKit_b_2021.1.8.1970.sh -f /noback/temp

but that too started copying/installing hundreds of megs into my home directory blowing out my quota.

Is there a way to install oneAPI beta8 so that it avoids the home directory for anything large?

Labels (1)
0 Kudos
4 Replies
PrasanthD_intel
Moderator
1,331 Views

Hi Matthew,

After extracting basekit to the temporary folder, run the install.sh in the extracted folder as

sudo ./install.sh -a --cli

and during installation configure the path to which you want to install, the default will be /opt/intel/oneapi.

After seeing this query, I have installed basekit in one of my machines and observed the size of the home directory during installation and found no increase.

If possible you can keep checking the size of your home during installation using du -h <directory path>

and observe any new files that were created during installation and report us.

 

Regards

Prasanth

0 Kudos
Matt_Thompson
Novice
1,321 Views

Prasanth,

So, I first extracted the installer. Before I run ./install.sh I see:

$ du -hsc ~/intel/*
0	/home/mathomp4/intel/amplxe
0	/home/mathomp4/intel/intel_sdp_products.db
0	/home/mathomp4/intel/intel_sdp_products.tgz.db
0	/home/mathomp4/intel/ism
67M	/home/mathomp4/intel/ism.tar.gz
48K	/home/mathomp4/intel/licenses
67M	total

I now run:

./install.sh --cli

(I can't do sudo because I'm not an admin). After that I see:

$ ./install.sh --cli
Checking system requirements...
Done.
Wait while preparing installer...

And then I see:

  Welcome to Intel Software Installation Program | Intel® oneAPI Base Toolkit 2021.1 Beta Update 8
--------------------------------------------------------------------------------
  Unified Cross-Architecture Programming with Best-in-Class Tools & Libraries
    Review the configuration settings below. You can customize the settings or accept them and begin installation now.
...
  By continuing with this installation, you are agreeing with the terms and conditions of
  Intel(R) End User License Agreement
  Accept & install  Accept & configure installation  Decline & quit

And in a separate terminal:

$ du -hsc ~/intel/*
0	/home/mathomp4/intel/amplxe
96K	/home/mathomp4/intel/installercache
0	/home/mathomp4/intel/intel_sdp_products.db
0	/home/mathomp4/intel/intel_sdp_products.tgz.db
0	/home/mathomp4/intel/ism
67M	/home/mathomp4/intel/ism.tar.gz
48K	/home/mathomp4/intel/licenses
402M	/home/mathomp4/intel/oneapi
60M	/home/mathomp4/intel/packagemanager
529M	total

I'm not a fan of that 67 MiB ism.tar.gz but I've let it go. But just running install.sh added 462 MB of files to my home directory!

If I drill down further into oneapi/ it seems...inefficient to say the least:

$ du -hsc ~/intel/oneapi/installer/libQt5*
16M	/home/mathomp4/intel/oneapi/installer/libQt5Core.so
16M	/home/mathomp4/intel/oneapi/installer/libQt5Core.so.5
16M	/home/mathomp4/intel/oneapi/installer/libQt5Core.so.5.12
16M	/home/mathomp4/intel/oneapi/installer/libQt5Core.so.5.12.8
1.5M	/home/mathomp4/intel/oneapi/installer/libQt5DBus.so
1.5M	/home/mathomp4/intel/oneapi/installer/libQt5DBus.so.5
1.5M	/home/mathomp4/intel/oneapi/installer/libQt5DBus.so.5.12
1.5M	/home/mathomp4/intel/oneapi/installer/libQt5DBus.so.5.12.8
15M	/home/mathomp4/intel/oneapi/installer/libQt5Gui.so
15M	/home/mathomp4/intel/oneapi/installer/libQt5Gui.so.5
15M	/home/mathomp4/intel/oneapi/installer/libQt5Gui.so.5.12
15M	/home/mathomp4/intel/oneapi/installer/libQt5Gui.so.5.12.8
11M	/home/mathomp4/intel/oneapi/installer/libQt5Network.so
11M	/home/mathomp4/intel/oneapi/installer/libQt5Network.so.5
11M	/home/mathomp4/intel/oneapi/installer/libQt5Network.so.5.12
11M	/home/mathomp4/intel/oneapi/installer/libQt5Network.so.5.12.8
14M	/home/mathomp4/intel/oneapi/installer/libQt5Qml.so
14M	/home/mathomp4/intel/oneapi/installer/libQt5Qml.so.5
14M	/home/mathomp4/intel/oneapi/installer/libQt5Qml.so.5.12
14M	/home/mathomp4/intel/oneapi/installer/libQt5Qml.so.5.12.8
464K	/home/mathomp4/intel/oneapi/installer/libQt5QuickControls2.so
464K	/home/mathomp4/intel/oneapi/installer/libQt5QuickControls2.so.5
464K	/home/mathomp4/intel/oneapi/installer/libQt5QuickControls2.so.5.12
464K	/home/mathomp4/intel/oneapi/installer/libQt5QuickControls2.so.5.12.8
336K	/home/mathomp4/intel/oneapi/installer/libQt5QuickShapes.so
336K	/home/mathomp4/intel/oneapi/installer/libQt5QuickShapes.so.5
336K	/home/mathomp4/intel/oneapi/installer/libQt5QuickShapes.so.5.12
336K	/home/mathomp4/intel/oneapi/installer/libQt5QuickShapes.so.5.12.8
11M	/home/mathomp4/intel/oneapi/installer/libQt5Quick.so
11M	/home/mathomp4/intel/oneapi/installer/libQt5Quick.so.5
11M	/home/mathomp4/intel/oneapi/installer/libQt5Quick.so.5.12
11M	/home/mathomp4/intel/oneapi/installer/libQt5Quick.so.5.12.8
3.1M	/home/mathomp4/intel/oneapi/installer/libQt5QuickTemplates2.so
3.1M	/home/mathomp4/intel/oneapi/installer/libQt5QuickTemplates2.so.5
3.1M	/home/mathomp4/intel/oneapi/installer/libQt5QuickTemplates2.so.5.12
3.1M	/home/mathomp4/intel/oneapi/installer/libQt5QuickTemplates2.so.5.12.8
17M	/home/mathomp4/intel/oneapi/installer/libQt5Widgets.so
17M	/home/mathomp4/intel/oneapi/installer/libQt5Widgets.so.5
17M	/home/mathomp4/intel/oneapi/installer/libQt5Widgets.so.5.12
17M	/home/mathomp4/intel/oneapi/installer/libQt5Widgets.so.5.12.8
3.0M	/home/mathomp4/intel/oneapi/installer/libQt5XcbQpa.so
3.0M	/home/mathomp4/intel/oneapi/installer/libQt5XcbQpa.so.5
3.0M	/home/mathomp4/intel/oneapi/installer/libQt5XcbQpa.so.5.12
3.0M	/home/mathomp4/intel/oneapi/installer/libQt5XcbQpa.so.5.12.8
354M	total

It seems to have made copies of all the symlinks from the installer:

$ du -hsc /discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5*
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Core.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Core.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Core.so.5.12
16M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Core.so.5.12.8
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5DBus.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5DBus.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5DBus.so.5.12
1.5M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5DBus.so.5.12.8
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Gui.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Gui.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Gui.so.5.12
15M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Gui.so.5.12.8
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Network.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Network.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Network.so.5.12
11M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Network.so.5.12.8
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Widgets.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Widgets.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Widgets.so.5.12
17M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5Widgets.so.5.12.8
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5XcbQpa.so
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5XcbQpa.so.5
0	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5XcbQpa.so.5.12
3.0M	/discover/swdev/mathomp4/intel-src/oneapi-src/l_BaseKit_b_2021.1.8.1970/libQt5XcbQpa.so.5.12.8
62M	total
0 Kudos
Matt_Thompson
Novice
1,288 Views

More info. I downloaded the beta9 installers and when I tried to install:

Critical Prerequisites

Not enough disk space.
Not enough space available in /gpfsm/dhome. Check disk quota set for the current user. 2.3 GB is required.

 

Is there any workaround for systems where $HOME is not as large as Intel seems to assume it will be? 

0 Kudos
PrasanthD_intel
Moderator
1,272 Views

Hi Alexander,


I too observed that temporary files are being stored inside $HOME irrespective of the install directory we configure during installation. This happens only when we launch as non-sudo users.

I am transferring this issue to internal team for better support.


Thanks and Regards

Prasanth


0 Kudos
Reply