Checking Disk Usage Examples

Point 1: To check and list disk usage of /var/log directory is given below

# du -hx /var/log --max-depth=1
0 /var/log/ntpstats
57M /var/log/sa
288K /var/log/tuned
39M /var/log/audit
0 /var/log/chrony
112K /var/log/xcat
3.2M /var/log/anaconda
0 /var/log/rhsm
12K /var/log/Lenovo_Support

Point 2: Sort out and list disk usage in /var/log is given below

# du -hx /var/log --max-depth=1 |sort -h
0 /var/log/chrony
0 /var/log/ntpstats
0 /var/log/rhsm
12K /var/log/Lenovo_Support
112K /var/log/xcat
288K /var/log/tuned
3.2M /var/log/anaconda
39M /var/log/audit
57M /var/log/sa
108M /var/log

Point 3: Show last modification time and sort it by usage

# du -hx /var/log -d 1 --time -a --max-depth=1 |sort -h
0 2017-04-13 05:24 /var/log/ntpstats
0 2017-08-04 05:27 /var/log/chrony
0 2018-03-30 03:21 /var/log/tallylog
0 2018-03-30 03:27 /var/log/rhsm
0 2018-03-30 06:21 /var/log/opensm-activity.dump
0 2019-05-07 18:39 /var/log/opensm.log
0 2019-09-30 03:36 /var/log/spooler-20191006
0 2019-10-01 03:17 /var/log/btmp-20191101
0 2019-10-06 03:41 /var/log/spooler-20191013
0 2019-10-13 03:43 /var/log/maillog-20191021
0 2019-10-13 03:43 /var/log/spooler-20191021
0 2019-10-21 03:28 /var/log/maillog-20191027
0 2019-10-21 03:28 /var/log/spooler-20191027
0 2019-10-24 03:30 /var/log/boot.log-20191024
0 2019-10-25 03:30 /var/log/boot.log-20191025
0 2019-10-26 03:11 /var/log/boot.log-20191026
0 2019-10-27 03:07 /var/log/boot.log-20191027
0 2019-10-27 03:07 /var/log/spooler
0 2019-10-28 03:48 /var/log/boot.log-20191028
0 2019-10-29 03:28 /var/log/boot.log-20191029
0 2019-11-01 10:29 /var/log/boot.log
0 2019-11-01 10:29 /var/log/boot.log-20191101
0 2019-11-01 10:29 /var/log/btmp
4.0K 2018-03-30 03:21 /var/log/grubby_prune_debug
4.0K 2018-03-30 05:08 /var/log/grubby
4.0K 2019-02-25 03:06 /var/log/opensm.log-20190225.gz
4.0K 2019-02-25 19:31 /var/log/opensm.log-20190303.gz
4.0K 2019-04-07 23:25 /var/log/opensm.log-20190408.gz
4.0K 2019-05-07 17:10 /var/log/opensm.log-20190507.gz
4.0K 2019-10-14 17:30 /var/log/secure-20191021
4.0K 2019-10-24 20:06 /var/log/yum.log
4.0K 2019-11-01 15:41 /var/log/secure
8.0K 2018-09-10 15:01 /var/log/centrifydc-install.log
8.0K 2019-10-02 12:02 /var/log/secure-20191006
8.0K 2019-10-24 22:24 /var/log/secure-20191027
8.0K 2019-11-01 15:30 /var/log/maillog
12K 2018-03-30 13:41 /var/log/Lenovo_Support
.....
.....
.....
39M 2019-10-29 06:00 /var/log/audit
57M 2019-11-01 16:20 /var/log/sa
108M 2019-11-01 16:20 /var/log

IBM Community Compilers for Power

Compiler options:

– GNU Compiler Collection (GCC) for Linux on Power:
https://developer.ibm.com/linuxonpower/2018/06/28/gnu-compiler-collection-gcc-linux-power/

– IBM Advance Toolchain for Linux on Power:
https://developer.ibm.com/linuxonpower/advance-toolchain/

– IBM XL C/C++ for Linux Community Edition:
https://www.ibm.com/us-en/marketplace/xl-cpp-linux-compiler-power

– IBM XL Fortran for Linux Community Edition:
https://www.ibm.com/us-en/marketplace/xl-fortran-linux-compiler-power

Libraries:

– IBM ESSL Community Edition:
https://epwt-www.mybluemix.net/software/support/trial/cst/welcomepage.wss?siteId=589&tabId=1174&w=1

AI platform:

– IBM WML Community Edition:
https://www.ibm.com/support/knowledgecenter/en/SS5SF7_1.6.1/navigation/wmlce_download.html

MPI:

– It can be found at MPI IBM WML Community Conda Channel. It is found at spectrum-mpi for linux-ppc64le.
https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/#/

 

Testing for license checkout for MATLAB_Distrib_Comp_Engine

If you need to check whether you can check out the distributing computer

[user1@hpc-gekko1 ~]# /usr/local/MATLAB/R2019a/bin/matlab -dmlworker =r "license, exit"
X11 connection rejected because of wrong authentication.
MATLAB is selecting SOFTWARE OPENGL rendering.
======BEGIN LICENSE MANAGER ERROR======
License checkout failed.
License Manager Error -5
Cannot find a license for MATLAB_Distrib_Comp_Engine.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/5

Diagnostic Information:
Feature: MATLAB_Distrib_Comp_Engine
License path: /root/.matlab/R2019a_licenses:/usr/local/MATLAB/R2019a/licenses/license.dat:/usr/local/MATLAB/R2019a
/licenses/network.lic
Licensing error: -5,147. System Error: 2======END LICENSE MANAGER ERROR======

2. Check the “normal MATLAB License Server”

$ /usr/local/MATLAB/R2019a/etc/glnxa64/lmutil lmstat -a -c ../../licenses/network.lic -f MATLAB_Distr_Comp_Engine
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 10/24/2019 12:31

License server status: 27000@xxx.xxx.xxx.xxx
License file(s) on xxx.xxx.xxx.xxx: C:\Program Files\MATLAB\R2019b\etc\license.dat:

xxx.xxx.xxx.xxx: license server UP v11.16.2

Vendor daemon status (on N4SAP0048):

MLM: UP v11.16.2
Feature usage info:

Compiling STAR 2.7 with Intel Compiler 2018 on CentOS 7

What is STAR 2.7?
Spliced Transcripts Alignment to a Reference
https://www.ncbi.nlm.nih.gov/pubmed/23104886


Hardware/Software Requirements
x86-64 compatible processors


Manual

https://github.com/alexdobin/STAR/blob/master/doc/STARmanual.pdf


Compiling for Source
# Source Intel Compilers

source /usr/local/intel/2018u3/bin/compilervars.sh intel64
source /usr/local/intel/2018u3/impi/2018.3.222/bin64/mpivars.sh intel64
source /usr/local/intel/2018u3/mkl/bin/mklvars.sh intel64
source /usr/local/intel/2018u3/parallel_studio_xe_2018/bin/psxevars.sh intel64
MKLROOT=/usr/local/intel/2018u3/mkl
# wget https://github.com/alexdobin/STAR/archive/2.7.1a.tar.gz
# tar -xvzf 2.7.1a.tar.gz
# cd STAR-2.7.1a/source
# mkdir /usr/local/STAR-2.7.1a
# cp STAR /usr/local/STAR-2.7.1a/
# cp STARlong /usr/local/STAR-2.7.1a/
# cp -r htslib /usr/local/STAR-2.7.1a/