kftsehk / phy-clusters

11 stars 2 forks source link

Software under /opt is removed by conda #3

Closed caicairay closed 6 years ago

caicairay commented 6 years ago

Seems like anaconda3 would clean up the install directory if specified -p /opt

List of TODOs

Installs

Configs

Items to check

Log of the incident

[zcao@mu01 hjjiang]$ showq
ACTIVE JOBS--------------------
JOBNAME            USERNAME      STATE  PROC   REMAINING            STARTTIME

29422                  zcao    Running   960     3:33:39  Mon Aug 20 14:52:17

     1 Active Job      960 of 1032 Processors Active (93.02%)
                        40 of   42 Nodes Active      (95.24%)

IDLE JOBS----------------------
JOBNAME            USERNAME      STATE  PROC     WCLIMIT            QUEUETIME

27534                wygong       Idle    72  2:11:00:00  Thu Aug 16 21:38:54
27536                wygong       Idle    72  2:11:00:00  Fri Aug 17 10:55:23
27436                gyding       Idle    96  2:00:00:00  Mon Aug 13 09:43:44
27455                 kjbao       Idle    96  2:02:00:00  Tue Aug 14 11:01:37
27468               jzzhang       Idle    72  2:11:00:00  Wed Aug 15 10:48:57
27469               ylchong       Idle   120  2:11:00:00  Wed Aug 15 10:55:37
27470               ylchong       Idle   120  2:11:00:00  Wed Aug 15 10:55:45
27475                wjzhao       Idle    48  2:11:00:00  Wed Aug 15 11:41:46
27476                wjzhao       Idle    48  2:00:00:00  Wed Aug 15 11:42:18
27527                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:01:22
27528                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:01:34
27529                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:01:54
27530                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:02:15
27531                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:02:22
27532                 sylau       Idle    48  2:00:00:00  Thu Aug 16 21:02:29
27533                 cksin       Idle    48  2:11:00:00  Thu Aug 16 21:33:11
27538                 cksin       Idle    48  2:11:00:00  Fri Aug 17 13:12:04
27535               jzzhang       Idle    72  2:11:00:00  Fri Aug 17 10:11:23
27537               jzzhang       Idle    72  2:11:00:00  Fri Aug 17 11:36:38
27541               jzzhang       Idle    48  2:11:00:00  Fri Aug 17 16:21:33
28709                wygong       Idle    72  2:00:00:00  Mon Aug 20 12:00:23
28710                wygong       Idle    72  2:00:00:00  Mon Aug 20 12:00:34
27544                 cksin       Idle    48  2:11:00:00  Fri Aug 17 23:49:59
27548                 kjbao       Idle    48  1:00:00:00  Sat Aug 18 10:14:22
28603                 whsze       Idle    24    10:00:00  Mon Aug 20 02:40:20
28604                 whsze       Idle    24    10:00:00  Mon Aug 20 02:53:04
28707                 kjbao       Idle    24     8:00:00  Mon Aug 20 11:08:03
29423                 kjbao       Idle    48  1:06:00:00  Mon Aug 20 15:45:32
29424                 kjbao       Idle    48  1:06:00:00  Mon Aug 20 15:47:28
29425                 kjbao       Idle    48  1:06:00:00  Mon Aug 20 15:54:00
29015                gyding       Idle    96  2:00:00:00  Mon Aug 20 12:44:54
29016                gyding       Idle    96  2:00:00:00  Mon Aug 20 12:45:27
29017                gyding       Idle    96  2:00:00:00  Mon Aug 20 12:45:51
29118                gyding       Idle    96  2:00:00:00  Mon Aug 20 12:50:06
29120                gyding       Idle    96  2:00:00:00  Mon Aug 20 13:18:38
29121                gyding       Idle    96  2:00:00:00  Mon Aug 20 13:23:30

36 Idle Jobs

BLOCKED JOBS----------------
JOBNAME            USERNAME      STATE  PROC     WCLIMIT            QUEUETIME

Total Jobs: 37   Active Jobs: 1   Idle Jobs: 36   Blocked Jobs: 0
[zcao@mu01 hjjiang]$ ^C
[zcao@mu01 hjjiang]$ ls
basic.R  cGibs1.R  cRGibs1.R  data.txt  Gibbs.R  loglik1.c  loglik1.dll  loglik1.o  loglik1.so  simR_sub.R  simuR_server.R
[zcao@mu01 hjjiang]$ sudo -i
[sudo] password for zcao: 
[root@mu01 ~]# cd /opt/anaconda3/
[root@mu01 anaconda3]# cd bin/
[root@mu01 bin]# conda uninstall R -p /opt
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.5.9
  latest version: 4.5.10

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: /opt

  removed specs: 
    - r

The following packages will be REMOVED:

    r: 3.5.0-mro350_0 r

Proceed ([y]/n)? n

CondaSystemExit: Exiting.

[root@mu01 bin]# conda uninstall --all R -p /opt

Remove all packages in environment /opt:

## Package Plan ##

  environment location: /opt

The following packages will be REMOVED:

    _r-mutex:               1.0.0-mro_2        r
    binutils_impl_linux-64: 2.28.1-had2808c_3   
    binutils_linux-64:      7.2.0-had2808c_27   
    ca-certificates:        2018.03.07-0        
    cairo:                  1.14.12-h8948797_3  
    curl:                   7.61.0-h84994c4_0   
    fontconfig:             2.13.0-h9420a91_0   
    freetype:               2.9.1-h8a8886c_0    
    fribidi:                1.0.4-h14c3975_0    
    gcc_impl_linux-64:      7.2.0-habb00fd_3    
    gcc_linux-64:           7.2.0-h550dcbe_27   
    gfortran_impl_linux-64: 7.2.0-hdf63c60_3    
    gfortran_linux-64:      7.2.0-h550dcbe_27   
    glib:                   2.56.1-h000015b_0   
    graphite2:              1.3.11-h16798f4_2   
    gxx_impl_linux-64:      7.2.0-hdf63c60_3    
    gxx_linux-64:           7.2.0-h550dcbe_27   
    harfbuzz:               1.8.4-hec2c2bc_0    
    icu:                    58.2-h9c2bf20_1     
    libcurl:                7.61.0-h1ad7b7a_0   
    libffi:                 3.2.1-hd88cf55_4    
    libgcc-ng:              8.2.0-hdf63c60_1    
    libgfortran-ng:         7.2.0-hdf63c60_3    
    libpng:                 1.6.34-hb9fc6fc_0   
    libssh2:                1.8.0-h9cfc8f7_4    
    libstdcxx-ng:           8.2.0-hdf63c60_1    
    libuuid:                1.0.3-h1bed415_2    
    libxcb:                 1.13-h1bed415_1     
    libxml2:                2.9.8-h26e45fe_1    
    make:                   4.2.1-h1bed415_1    
    mro-base:               3.5.0-h1c2f66e_0   r
    mro-basics:             3.5.0-0            r
    openssl:                1.0.2p-h14c3975_0   
    pango:                  1.42.3-h8589676_0   
    pcre:                   8.42-h439df22_0     
    pixman:                 0.34.0-hceecf20_3   
    r:                      3.5.0-mro350_0     r
    r-boot:                 1.3_20-mro350_0    r
    r-checkpoint:           0.4.4-mro350_0     r
    r-class:                7.3_14-mro350_0    r
    r-cluster:              2.0.7_1-mro350_0   r
    r-codetools:            0.2_15-mro350_0    r
    r-curl:                 3.2-mro350_0       r
    r-deployrrserve:        9.0.0-mro350_0     r
    r-doparallel:           1.0.13-mro350_0    r
    r-foreach:              1.5.0-mro350_0     r
    r-foreign:              0.8_70-mro350_0    r
    r-iterators:            1.0.10-mro350_0    r
    r-jsonlite:             1.5-mro350_0       r
    r-kernsmooth:           2.23_15-mro350_0   r
    r-lattice:              0.20_35-mro350_0   r
    r-mass:                 7.3_49-mro350_0    r
    r-matrix:               1.2_14-mro350_0    r
    r-mgcv:                 1.8_23-mro350_0    r
    r-microsoftr:           3.5.0.108-mro350_0 r
    r-nlme:                 3.1_137-mro350_0   r
    r-nnet:                 7.3_12-mro350_0    r
    r-png:                  0.1_7-mro350_0     r
    r-r6:                   2.2.2-mro350_0     r
    r-recommended:          3.5.0-mro350_0     r
    r-revoioq:              10.0.0-mro350_0    r
    r-revomods:             11.0.0-mro350_0    r
    r-revoutilsmath:        11.0.0-mro350_0    r
    r-rpart:                4.1_13-mro350_0    r
    r-runit:                0.4.26-mro350_0    r
    r-spatial:              7.3_11-mro350_0    r
    r-survival:             2.41_3-mro350_0    r
    xz:                     5.2.4-h14c3975_4    
    zlib:                   1.2.11-ha838bed_2   

Proceed ([y]/n)? n

CondaSystemExit: Exiting.

[root@mu01 bin]# ls
2to3                curl-config                         flask                   h5repack                  libtool            ptrepack              qtattributionsscanner    tiffcmp
2to3-3.6            curve_keygen                        freetype-config         h5repart                  libtoolize         pttree                qt.conf                  tiffcp
activate            cwutil                              fribidi                 h5stat                    linguist           pyami_sendmail        qtdiag                   tiffcrop
anaconda            cygdb                               from-template           h5unjam                   list_instances     pybabel               qtpaths                  tiffdither
anaconda-navigator  cython                              futurize                h5watch                   lrelease           pycc                  qtplugininfo             tiffdump
anaconda-project    cythonize                           gapplication            hb-ot-shape-closure       lss3               pycodestyle           qwebengine_convert_dict  tiffinfo
asadmin             dask-mpi                            gdbus                   hb-shape                  lupdate            pydoc                 raw2tiff                 tiffmedian
assistant           dask-remote                         gdbus-codegen           hb-subset                 lzcat              pydoc3                rcc                      tiffset
automat-visualize   dask-scheduler                      genbrk                  hb-view                   lzcmp              pydoc3.6              rdjpgcom                 tiffsplit
binstar             dask-ssh                            gencfu                  icu-config                lzdiff             pyflakes              repc                     tkconch
blaze-server        dask-submit                         gencnval                icuinfo                   lzegrep            pygmentize            reset                    toe
bokeh               dask-worker                         gendict                 idle3                     lzfgrep            pyhtmlizer            route53                  tput
bundle_image        dbus-cleanup-sockets                genrb                   idle3.6                   lzgrep             pylint                rst2html4.py             trial
bunzip2             dbus-daemon                         gif2h5                  infocmp                   lzless             pylupdate5            rst2html5.py             tset
bzcat               dbus-launch                         gio                     infotocap                 lzma               pyrcc5                rst2html.py              twist
bzcmp               dbus-monitor                        gio-querymodules        instance_events           lzmadec            pyreverse             rst2latex.py             twistd
bzdiff              dbus-run-session                    glacier                 iptest                    lzmainfo           pytest                rst2man.py               uic
bzegrep             dbus-send                           glib-compile-resources  iptest3                   lzmore             py.test               rst2odt_prepstyles.py    unlzma
bzfgrep             dbus-test-tool                      glib-compile-schemas    ipython                   mailmail           python                rst2odt.py               unxz
bzgrep              dbus-update-activation-environment  glib-genmarshal         ipython3                  makeconv           python3               rst2pseudoxml.py         vba_extract.py
bzip2               dbus-uuidgen                        glib-gettextize         isort                     moc                python3.6             rst2s5.py                volint
bzip2recover        deactivate                          glib-mkenums            isql                      mturk              python3.6-config      rst2xetex.py             wcslint
bzless              derb                                gobject-query           isympy                    navigator-updater  python3.6m            rst2xml.py               wheel
bzmore              designer                            gresource               iusql                     ncursesw6-config   python3.6m-config     rstpep2html.py           wish
cairo-trace         djpeg                               gsettings               jlpm                      nosetests          python3-config        runxlrd.py               wish8.6
canbusutil          dltest                              gst-device-monitor-1.0  jpegtran                  numba              pyuic5                s3put                    wrjpgcom
captoinfo           dynamodb_dump                       gst-discoverer-1.0      jsonschema                odbc_config        pyvenv                samp_hub                 xml2-config
cfadmin             dynamodb_load                       gst-inspect-1.0         jupyter                   odbcinst           pyvenv-3.6            sdbadmin                 xmlcatalog
cftp                easy_install                        gst-launch-1.0          jupyter-bundlerextension  odo                qcollectiongenerator  showtable                xmllint
chardetect          elbadmin                            gst-play-1.0            jupyter-console           openssl            qdbus                 sip                      xmlpatterns
cjpeg               epylint                             gst-stats-1.0           jupyter-kernel            pal2rgb            qdbuscpp2xml          skivi                    xmlpatternsvalidator
ckeygen             f2py                                gst-typefind-1.0        jupyter-kernelspec        pandoc             qdbusviewer           slencheck                xmlwf
clear               fax2ps                              gtester                 jupyter-lab               pandoc-citeproc    qdbusxml2cpp          sphinx-apidoc            xslt-config
conch               fax2tiff                            gtester-report          jupyter-labextension      pango-list         qdoc                  sphinx-autogen           xsltproc
conda               fc-cache                            h52gif                  jupyter-labhub            pango-view         qgltf                 sphinx-build             xz
conda-build         fc-cat                              h5c++                   jupyter-migrate           pasteurize         qhelpconverter        sphinx-quickstart        xzcat
conda-convert       fc-conflist                         h5cc                    jupyter-nbconvert         patchelf           qhelpgenerator        spyder                   xzcmp
conda-develop       fc-list                             h5clear                 jupyter-nbextension       pcre-config        qlalr                 sqlite3                  xzdec
conda-env           fc-match                            h5copy                  jupyter-notebook          pcregrep           qmake                 sqlite3_analyzer         xzdiff
conda-index         fc-pattern                          h5debug                 jupyter-qtconsole         pcretest           qml                   symilar                  xzegrep
conda-inspect       fc-query                            h5diff                  jupyter-run               pep8               qmlcachegen           syncqt.pl                xzfgrep
conda-metapackage   fc-scan                             h5dump                  jupyter-serverextension   pip                qmleasing             tabs                     xzgrep
conda-render        fc-validate                         h5fc                    jupyter-troubleshoot      pixeltool          qmlimportscanner      taskadmin                xzless
conda-server        fetch_file                          h5format_convert        jupyter-trust             pkgdata            qmllint               tclsh                    xzmore
conda-skeleton      fits2bitmap                         h5import                keyring                   pkginfo            qmlmin                tclsh8.6
conda-verify        fitscheck                           h5jam                   kill_instance             pngfix             qmlplugindump         tic
conv-template       fitsdiff                            h5ls                    launch_instance           png-fix-itxt       qmlprofiler           tiff2bw
cq                  fitsheader                          h5mkgrp                 lconvert                  ppm2tiff           qmlscene              tiff2pdf
c_rehash            fitsinfo                            h5perf_serial           libpng16-config           pt2to3             qmltestrunner         tiff2ps
curl                fixqt4headers.pl                    h5redeploy              libpng-config             ptdump             qscxmlc               tiff2rgba
[root@mu01 bin]# ls |grep libcurl
[root@mu01 bin]# whereis libcurl
libcurl: /usr/lib64/libcurl.so /usr/share/man/man3/libcurl.3.gz
[root@mu01 bin]# which libcurl
/usr/bin/which: no libcurl in (/opt/gcc-7.2.0/bin:/opt/anaconda3/bin:/opt/jdk1.8.0_144/bin:/opt/jdk1.8.0_144/jre/bin:/opt/tar-1.29/bin:/opt/make-4.2/bin:/opt/gawk-4.1.4/bin:/opt/binutils-2.29/bin:/opt/sed-4.4/bin:/opt/coreutils-8.28/bin:/opt/automake-1.15.1/bin:/opt/cmake-3.9.4/bin:/opt/autoconf-2.69/bin:/opt/intel/parallel_studio_xe_2018.1.038/bin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/bin:/opt/pdsh-2.29/bin:/usr/local/maui/sbin:/usr/local/maui/bin:/opt/tsce/share/bin:/opt/tsce/share/sbin:/opt/tsce/share/jdk1.6.0_10/bin:/opt/tsce/share/jdk1.6.0_10/jre/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/ibutils/bin:.:/opt/tsce/share/bin:/root/bin)
[root@mu01 bin]# ls /opt/bin
bin/           binutils-2.29/ 
[root@mu01 bin]# ls /opt/bin
bin/           binutils-2.29/ 
[root@mu01 bin]# ls /opt/bin/ |grep libcurl
[root@mu01 bin]# ls /opt/bin/ |grep curl
curl
curl-config
[root@mu01 bin]# pwd
/opt/anaconda3/bin
[root@mu01 bin]# conda uninstall --all R -p /opt

Remove all packages in environment /opt:

## Package Plan ##

  environment location: /opt

The following packages will be REMOVED:

    _r-mutex:               1.0.0-mro_2        r
    binutils_impl_linux-64: 2.28.1-had2808c_3   
    binutils_linux-64:      7.2.0-had2808c_27   
    ca-certificates:        2018.03.07-0        
    cairo:                  1.14.12-h8948797_3  
    curl:                   7.61.0-h84994c4_0   
    fontconfig:             2.13.0-h9420a91_0   
    freetype:               2.9.1-h8a8886c_0    
    fribidi:                1.0.4-h14c3975_0    
    gcc_impl_linux-64:      7.2.0-habb00fd_3    
    gcc_linux-64:           7.2.0-h550dcbe_27   
    gfortran_impl_linux-64: 7.2.0-hdf63c60_3    
    gfortran_linux-64:      7.2.0-h550dcbe_27   
    glib:                   2.56.1-h000015b_0   
    graphite2:              1.3.11-h16798f4_2   
    gxx_impl_linux-64:      7.2.0-hdf63c60_3    
    gxx_linux-64:           7.2.0-h550dcbe_27   
    harfbuzz:               1.8.4-hec2c2bc_0    
    icu:                    58.2-h9c2bf20_1     
    libcurl:                7.61.0-h1ad7b7a_0   
    libffi:                 3.2.1-hd88cf55_4    
    libgcc-ng:              8.2.0-hdf63c60_1    
    libgfortran-ng:         7.2.0-hdf63c60_3    
    libpng:                 1.6.34-hb9fc6fc_0   
    libssh2:                1.8.0-h9cfc8f7_4    
    libstdcxx-ng:           8.2.0-hdf63c60_1    
    libuuid:                1.0.3-h1bed415_2    
    libxcb:                 1.13-h1bed415_1     
    libxml2:                2.9.8-h26e45fe_1    
    make:                   4.2.1-h1bed415_1    
    mro-base:               3.5.0-h1c2f66e_0   r
    mro-basics:             3.5.0-0            r
    openssl:                1.0.2p-h14c3975_0   
    pango:                  1.42.3-h8589676_0   
    pcre:                   8.42-h439df22_0     
    pixman:                 0.34.0-hceecf20_3   
    r:                      3.5.0-mro350_0     r
    r-boot:                 1.3_20-mro350_0    r
    r-checkpoint:           0.4.4-mro350_0     r
    r-class:                7.3_14-mro350_0    r
    r-cluster:              2.0.7_1-mro350_0   r
    r-codetools:            0.2_15-mro350_0    r
    r-curl:                 3.2-mro350_0       r
    r-deployrrserve:        9.0.0-mro350_0     r
    r-doparallel:           1.0.13-mro350_0    r
    r-foreach:              1.5.0-mro350_0     r
    r-foreign:              0.8_70-mro350_0    r
    r-iterators:            1.0.10-mro350_0    r
    r-jsonlite:             1.5-mro350_0       r
    r-kernsmooth:           2.23_15-mro350_0   r
    r-lattice:              0.20_35-mro350_0   r
    r-mass:                 7.3_49-mro350_0    r
    r-matrix:               1.2_14-mro350_0    r
    r-mgcv:                 1.8_23-mro350_0    r
    r-microsoftr:           3.5.0.108-mro350_0 r
    r-nlme:                 3.1_137-mro350_0   r
    r-nnet:                 7.3_12-mro350_0    r
    r-png:                  0.1_7-mro350_0     r
    r-r6:                   2.2.2-mro350_0     r
    r-recommended:          3.5.0-mro350_0     r
    r-revoioq:              10.0.0-mro350_0    r
    r-revomods:             11.0.0-mro350_0    r
    r-revoutilsmath:        11.0.0-mro350_0    r
    r-rpart:                4.1_13-mro350_0    r
    r-runit:                0.4.26-mro350_0    r
    r-spatial:              7.3_11-mro350_0    r
    r-survival:             2.41_3-mro350_0    r
    xz:                     5.2.4-h14c3975_4    
    zlib:                   1.2.11-ha838bed_2   

Proceed ([y]/n)? y

^C[root@mu01 bin]# conda install -c r r -p /opt
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.5.9
  latest version: 4.5.10

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: /opt

  added / updated specs: 
    - r

The following NEW packages will be INSTALLED:

    _r-mutex:               1.0.0-mro_2        r
    binutils_impl_linux-64: 2.28.1-had2808c_3   
    binutils_linux-64:      7.2.0-had2808c_27   
    ca-certificates:        2018.03.07-0        
    cairo:                  1.14.12-h8948797_3  
    curl:                   7.61.0-h84994c4_0   
    fontconfig:             2.13.0-h9420a91_0   
    freetype:               2.9.1-h8a8886c_0    
    fribidi:                1.0.4-h14c3975_0    
    gcc_impl_linux-64:      7.2.0-habb00fd_3    
    gcc_linux-64:           7.2.0-h550dcbe_27   
    gfortran_impl_linux-64: 7.2.0-hdf63c60_3    
    gfortran_linux-64:      7.2.0-h550dcbe_27   
    glib:                   2.56.1-h000015b_0   
    graphite2:              1.3.11-h16798f4_2   
    gxx_impl_linux-64:      7.2.0-hdf63c60_3    
    gxx_linux-64:           7.2.0-h550dcbe_27   
    harfbuzz:               1.8.4-hec2c2bc_0    
    icu:                    58.2-h9c2bf20_1     
    libcurl:                7.61.0-h1ad7b7a_0   
    libffi:                 3.2.1-hd88cf55_4    
    libgcc-ng:              8.2.0-hdf63c60_1    
    libgfortran-ng:         7.2.0-hdf63c60_3    
    libpng:                 1.6.34-hb9fc6fc_0   
    libssh2:                1.8.0-h9cfc8f7_4    
    libstdcxx-ng:           8.2.0-hdf63c60_1    
    libuuid:                1.0.3-h1bed415_2    
    libxcb:                 1.13-h1bed415_1     
    libxml2:                2.9.8-h26e45fe_1    
    make:                   4.2.1-h1bed415_1    
    mro-base:               3.5.0-h1c2f66e_0   r
    mro-basics:             3.5.0-0            r
    openssl:                1.0.2p-h14c3975_0   
    pango:                  1.42.3-h8589676_0   
    pcre:                   8.42-h439df22_0     
    pixman:                 0.34.0-hceecf20_3   
    r:                      3.5.0-mro350_0     r
    r-boot:                 1.3_20-mro350_0    r
    r-checkpoint:           0.4.4-mro350_0     r
    r-class:                7.3_14-mro350_0    r
    r-cluster:              2.0.7_1-mro350_0   r
    r-codetools:            0.2_15-mro350_0    r
    r-curl:                 3.2-mro350_0       r
    r-deployrrserve:        9.0.0-mro350_0     r
    r-doparallel:           1.0.13-mro350_0    r
    r-foreach:              1.5.0-mro350_0     r
    r-foreign:              0.8_70-mro350_0    r
    r-iterators:            1.0.10-mro350_0    r
    r-jsonlite:             1.5-mro350_0       r
    r-kernsmooth:           2.23_15-mro350_0   r
    r-lattice:              0.20_35-mro350_0   r
    r-mass:                 7.3_49-mro350_0    r
    r-matrix:               1.2_14-mro350_0    r
    r-mgcv:                 1.8_23-mro350_0    r
    r-microsoftr:           3.5.0.108-mro350_0 r
    r-nlme:                 3.1_137-mro350_0   r
    r-nnet:                 7.3_12-mro350_0    r
    r-png:                  0.1_7-mro350_0     r
    r-r6:                   2.2.2-mro350_0     r
    r-recommended:          3.5.0-mro350_0     r
    r-revoioq:              10.0.0-mro350_0    r
    r-revomods:             11.0.0-mro350_0    r
    r-revoutilsmath:        11.0.0-mro350_0    r
    r-rpart:                4.1_13-mro350_0    r
    r-runit:                0.4.26-mro350_0    r
    r-spatial:              7.3_11-mro350_0    r
    r-survival:             2.41_3-mro350_0    r
    xz:                     5.2.4-h14c3975_4    
    zlib:                   1.2.11-ha838bed_2   

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: - 
SafetyError: The package for mro-base located at /opt/anaconda3/pkgs/mro-base-3.5.0-h1c2f66e_0
appears to be corrupted. The path 'lib/R/doc/html/packages.html'
has a sha256 mismatch.
  reported sha256: 672d87274441be881f411756aa9f15eea6bd8ffd06ee6b43c045d19de6fa2911
  actual sha256: ddcf9c8aafa48c7496d12da5064a12fc0a469114bb052cf4bb64dbb687db33e4

ClobberError: This transaction has incompatible packages due to a shared path.
  packages: defaults::binutils_impl_linux-64-2.28.1-had2808c_3, defaults::gcc_impl_linux-64-7.2.0-habb00fd_3
  path: 'share/info/dir'

done
Executing transaction: done
[root@mu01 bin]# showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[root@mu01 bin]# exit
logout
[zcao@mu01 hjjiang]$ showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[zcao@mu01 hjjiang]$ ls
basic.R  cGibs1.R  cRGibs1.R  data.txt  Gibbs.R  loglik1.c  loglik1.dll  loglik1.o  loglik1.so  simR_sub.R  simuR_server.R
[zcao@mu01 hjjiang]$ whereis libtorque
libtorque:
[zcao@mu01 hjjiang]$ torque
-bash: torque: command not found
[zcao@mu01 hjjiang]$ showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[zcao@mu01 hjjiang]$ qstat
-bash: qstat: command not found
[zcao@mu01 hjjiang]$ qstat -a
-bash: qstat: command not found
[zcao@mu01 hjjiang]$ sudo -i
[sudo] password for zcao: 
null(21):ERROR:105: Unable to locate a modulefile for 'parallel_studio_xe_2018'
null(21):ERROR:105: Unable to locate a modulefile for 'gnu-utils-latest'
null(21):ERROR:105: Unable to locate a modulefile for 'jdk-8u144'
null(21):ERROR:105: Unable to locate a modulefile for 'anaconda3'
null(21):ERROR:105: Unable to locate a modulefile for 'gcc-7.2.0'
[root@mu01 ~]# ls
adduser          ClusterEngineV3.2-20141022.tar.gz  ClusterEngineV3.3-20150409.tar.gz  Documents  hold.log  idle.log     install.log.syslog  Music     Public         Templates  Videos
anaconda-ks.cfg  ClusterEngineV3.3-20150409         Desktop                            Downloads  host      install.log  ljdr                Pictures  set_ssh_no_pw  test.log
[root@mu01 ~]# cd ..
[root@mu01 /]# ls
backup  bin  boot  cgroup  dev  etc  home  lib  lib64  lost+found  media  misc  mnt  net  opt  proc  root  sbin  selinux  srv  sys  tftpboot  tmp  usr  var
[root@mu01 /]# cd /opt/anaconda3/
[root@mu01 anaconda3]# cd bin/
[root@mu01 bin]# conda install more-base
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - more-base

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/linux-64
  - https://repo.anaconda.com/pkgs/pro/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

[root@mu01 bin]# conda install mro-base
Solving environment: done

## Package Plan ##

  environment location: /opt/anaconda3

  added / updated specs: 
    - mro-base

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _r-mutex-1.0.0             |            mro_2           2 KB
    certifi-2018.8.13          |           py36_0         138 KB
    conda-4.5.10               |           py36_0         1.0 MB
    mro-base-3.5.0             |       h1c2f66e_0        47.4 MB
    ------------------------------------------------------------
                                           Total:        48.6 MB

The following NEW packages will be INSTALLED:

    _r-mutex:               1.0.0-mro_2      
    binutils_impl_linux-64: 2.28.1-had2808c_3
    binutils_linux-64:      7.2.0-had2808c_27
    gcc_impl_linux-64:      7.2.0-habb00fd_3 
    gcc_linux-64:           7.2.0-h550dcbe_27
    gfortran_impl_linux-64: 7.2.0-hdf63c60_3 
    gfortran_linux-64:      7.2.0-h550dcbe_27
    gxx_impl_linux-64:      7.2.0-hdf63c60_3 
    gxx_linux-64:           7.2.0-h550dcbe_27
    make:                   4.2.1-h1bed415_1 
    mro-base:               3.5.0-h1c2f66e_0 

The following packages will be UPDATED:

    certifi:                2018.4.16-py36_0  --> 2018.8.13-py36_0 
    conda:                  4.5.9-py36_0      --> 4.5.10-py36_0    
    openssl:                1.0.2o-h14c3975_1 --> 1.0.2p-h14c3975_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
_r-mutex-1.0.0       |    2 KB | ##################################################################################################################################################################### | 100% 
certifi-2018.8.13    |  138 KB | ##################################################################################################################################################################### | 100% 
conda-4.5.10         |  1.0 MB | ##################################################################################################################################################################### | 100% 
mro-base-3.5.0       | 47.4 MB | ##################################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
[root@mu01 bin]# conda install mro-basics
Solving environment: done

## Package Plan ##

  environment location: /opt/anaconda3

  added / updated specs: 
    - mro-basics

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    r-jsonlite-1.5             |         mro350_0         5.8 MB
    r-iterators-1.0.10         |         mro350_0         5.0 MB
    r-runit-0.4.26             |         mro350_0         4.9 MB
    r-revomods-11.0.0          |         mro350_0         4.7 MB
    r-cluster-2.0.7_1          |         mro350_0         5.3 MB
    r-codetools-0.2_15         |         mro350_0         4.8 MB
    r-rpart-4.1_13             |         mro350_0         5.6 MB
    r-microsoftr-3.5.0.108     |         mro350_0         5.4 MB
    r-checkpoint-0.4.4         |         mro350_0         4.8 MB
    r-class-7.3_14             |         mro350_0         4.8 MB
    r-r6-2.2.2                 |         mro350_0         5.0 MB
    r-foreign-0.8_70           |         mro350_0         5.0 MB
    r-mgcv-1.8_23              |         mro350_0         7.3 MB
    r-revoioq-10.0.0           |         mro350_0         6.5 MB
    r-nnet-7.3_12              |         mro350_0         4.8 MB
    r-lattice-0.20_35          |         mro350_0         5.8 MB
    r-kernsmooth-2.23_15       |         mro350_0         4.8 MB
    r-doparallel-1.0.13        |         mro350_0         4.9 MB
    r-matrix-1.2_14            |         mro350_0         8.8 MB
    mro-basics-3.5.0           |                0         4.7 MB
    r-foreach-1.5.0            |         mro350_0         5.1 MB
    r-boot-1.3_20              |         mro350_0         5.3 MB
    r-curl-3.2                 |         mro350_0         6.2 MB
    r-deployrrserve-9.0.0      |         mro350_0         4.9 MB
    r-mass-7.3_49              |         mro350_0         5.8 MB
    r-revoutilsmath-11.0.0     |         mro350_0       178.3 MB
    r-nlme-3.1_137             |         mro350_0         6.9 MB
    r-png-0.1_7                |         mro350_0         4.9 MB
    r-survival-2.41_3          |         mro350_0         9.5 MB
    r-spatial-7.3_11           |         mro350_0         4.9 MB
    ------------------------------------------------------------
                                           Total:       340.7 MB

The following NEW packages will be INSTALLED:

    mro-basics:      3.5.0-0           
    r-boot:          1.3_20-mro350_0   
    r-checkpoint:    0.4.4-mro350_0    
    r-class:         7.3_14-mro350_0   
    r-cluster:       2.0.7_1-mro350_0  
    r-codetools:     0.2_15-mro350_0   
    r-curl:          3.2-mro350_0      
    r-deployrrserve: 9.0.0-mro350_0    
    r-doparallel:    1.0.13-mro350_0   
    r-foreach:       1.5.0-mro350_0    
    r-foreign:       0.8_70-mro350_0   
    r-iterators:     1.0.10-mro350_0   
    r-jsonlite:      1.5-mro350_0      
    r-kernsmooth:    2.23_15-mro350_0  
    r-lattice:       0.20_35-mro350_0  
    r-mass:          7.3_49-mro350_0   
    r-matrix:        1.2_14-mro350_0   
    r-mgcv:          1.8_23-mro350_0   
    r-microsoftr:    3.5.0.108-mro350_0
    r-nlme:          3.1_137-mro350_0  
    r-nnet:          7.3_12-mro350_0   
    r-png:           0.1_7-mro350_0    
    r-r6:            2.2.2-mro350_0    
    r-revoioq:       10.0.0-mro350_0   
    r-revomods:      11.0.0-mro350_0   
    r-revoutilsmath: 11.0.0-mro350_0   
    r-rpart:         4.1_13-mro350_0   
    r-runit:         0.4.26-mro350_0   
    r-spatial:       7.3_11-mro350_0   
    r-survival:      2.41_3-mro350_0   

Proceed ([y]/n)? y

Downloading and Extracting Packages
r-jsonlite-1.5       | 5.8 MB    | ################################################################################################################################################################### | 100% 
r-iterators-1.0.10   | 5.0 MB    | ################################################################################################################################################################### | 100% 
r-runit-0.4.26       | 4.9 MB    | ################################################################################################################################################################### | 100% 
r-revomods-11.0.0    | 4.7 MB    | ################################################################################################################################################################### | 100% 
r-cluster-2.0.7_1    | 5.3 MB    | ################################################################################################################################################################### | 100% 
r-codetools-0.2_15   | 4.8 MB    | ################################################################################################################################################################### | 100% 
r-rpart-4.1_13       | 5.6 MB    | ################################################################################################################################################################### | 100% 
r-microsoftr-3.5.0.1 | 5.4 MB    | ################################################################################################################################################################### | 100% 
r-checkpoint-0.4.4   | 4.8 MB    | ################################################################################################################################################################### | 100% 
r-class-7.3_14       | 4.8 MB    | ################################################################################################################################################################### | 100% 
r-r6-2.2.2           | 5.0 MB    | ################################################################################################################################################################### | 100% 
r-foreign-0.8_70     | 5.0 MB    | ################################################################################################################################################################### | 100% 
r-mgcv-1.8_23        | 7.3 MB    | ################################################################################################################################################################### | 100% 
r-revoioq-10.0.0     | 6.5 MB    | ################################################################################################################################################################### | 100% 
r-nnet-7.3_12        | 4.8 MB    | ################################################################################################################################################################### | 100% 
r-lattice-0.20_35    | 5.8 MB    | ################################################################################################################################################################### | 100% 
r-kernsmooth-2.23_15 | 4.8 MB    | ################################################################################################################################################################### | 100% 
r-doparallel-1.0.13  | 4.9 MB    | ################################################################################################################################################################### | 100% 
r-matrix-1.2_14      | 8.8 MB    | ################################################################################################################################################################### | 100% 
mro-basics-3.5.0     | 4.7 MB    | ################################################################################################################################################################### | 100% 
r-foreach-1.5.0      | 5.1 MB    | ################################################################################################################################################################### | 100% 
r-boot-1.3_20        | 5.3 MB    | ################################################################################################################################################################### | 100% 
r-curl-3.2           | 6.2 MB    | ################################################################################################################################################################### | 100% 
r-deployrrserve-9.0. | 4.9 MB    | ################################################################################################################################################################### | 100% 
r-mass-7.3_49        | 5.8 MB    | ################################################################################################################################################################### | 100% 
r-revoutilsmath-11.0 | 178.3 MB  | ################################################################################################################################################################### | 100% 
r-nlme-3.1_137       | 6.9 MB    | ################################################################################################################################################################### | 100% 
r-png-0.1_7          | 4.9 MB    | ################################################################################################################################################################### | 100% 
r-survival-2.41_3    | 9.5 MB    | ################################################################################################################################################################### | 100% 
r-spatial-7.3_11     | 4.9 MB    | ################################################################################################################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
[root@mu01 bin]# showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[root@mu01 bin]# torque
-bash: torque: command not found
[root@mu01 bin]# ls
2to3                dask-mpi                            glacier                   jupyter-kernel           pixeltool                raw2tiff               toe
2to3-3.6            dask-remote                         glib-compile-resources    jupyter-kernelspec       pkgdata                  rcc                    tput
activate            dask-scheduler                      glib-compile-schemas      jupyter-lab              pkginfo                  Rcmd                   trial
anaconda            dask-ssh                            glib-genmarshal           jupyter-labextension     pngfix                   Rd2pdf                 tset
anaconda-navigator  dask-submit                         glib-gettextize           jupyter-labhub           png-fix-itxt             Rdconv                 twist
anaconda-project    dask-worker                         glib-mkenums              jupyter-migrate          ppm2tiff                 Rdiff                  twistd
ar                  dbus-cleanup-sockets                gobject-query             jupyter-nbconvert        pt2to3                   rdjpgcom               uic
asadmin             dbus-daemon                         gresource                 jupyter-nbextension      ptdump                   REMOVE                 unlzma
assistant           dbus-launch                         gsettings                 jupyter-notebook         ptrepack                 repc                   unxz
automat-visualize   dbus-monitor                        gst-device-monitor-1.0    jupyter-qtconsole        pttree                   reset                  vba_extract.py
BATCH               dbus-run-session                    gst-discoverer-1.0        jupyter-run              pyami_sendmail           route53                volint
binstar             dbus-send                           gst-inspect-1.0           jupyter-serverextension  pybabel                  Rprof                  wcslint
blaze-server        dbus-test-tool                      gst-launch-1.0            jupyter-troubleshoot     pycc                     Rscript                wheel
bokeh               dbus-update-activation-environment  gst-play-1.0              jupyter-trust            pycodestyle              rst2html4.py           wish
build               dbus-uuidgen                        gst-stats-1.0             keyring                  pydoc                    rst2html5.py           wish8.6
bundle_image        deactivate                          gst-typefind-1.0          kill_instance            pydoc3                   rst2html.py            wrjpgcom
bunzip2             derb                                gtester                   launch_instance          pydoc3.6                 rst2latex.py           x86_64-conda_cos6-linux-gnu-addr2line
bzcat               designer                            gtester-report            lconvert                 pyflakes                 rst2man.py             x86_64-conda_cos6-linux-gnu-ar
bzcmp               djpeg                               h52gif                    libpng16-config          pygmentize               rst2odt_prepstyles.py  x86_64-conda_cos6-linux-gnu-as
bzdiff              dltest                              h5c++                     libpng-config            pyhtmlizer               rst2odt.py             x86_64-conda_cos6-linux-gnu-c++
bzegrep             dynamodb_dump                       h5cc                      libtool                  pylint                   rst2pseudoxml.py       x86_64-conda_cos6-linux-gnu-cc
bzfgrep             dynamodb_load                       h5clear                   libtoolize               pylupdate5               rst2s5.py              x86_64-conda_cos6-linux-gnu-c++filt
bzgrep              easy_install                        h5copy                    linguist                 pyrcc5                   rst2xetex.py           x86_64-conda_cos6-linux-gnu-cpp
bzip2               elbadmin                            h5debug                   LINK                     pyreverse                rst2xml.py             x86_64-conda_cos6-linux-gnu-ct-ng.config
bzip2recover        epylint                             h5diff                    list_instances           pytest                   rstpep2html.py         x86_64-conda_cos6-linux-gnu-dwp
bzless              f2py                                h5dump                    lrelease                 py.test                  rtags                  x86_64-conda_cos6-linux-gnu-elfedit
bzmore              f77                                 h5fc                      lss3                     python                   runxlrd.py             x86_64-conda_cos6-linux-gnu-f95
c++                 f77_f2c                             h5format_convert          lupdate                  python3                  s3put                  x86_64-conda_cos6-linux-gnu-g++
c89                 fax2ps                              h5import                  lzcat                    python3.6                samp_hub               x86_64-conda_cos6-linux-gnu-gcc
c99                 fax2tiff                            h5jam                     lzcmp                    python3.6-config         sdbadmin               x86_64-conda_cos6-linux-gnu-gcc-ar
cairo-trace         fc                                  h5ls                      lzdiff                   python3.6m               SHLIB                  x86_64-conda_cos6-linux-gnu-gcc-nm
canbusutil          fc-cache                            h5mkgrp                   lzegrep                  python3.6m-config        showtable              x86_64-conda_cos6-linux-gnu-gcc-ranlib
captoinfo           fc-cat                              h5perf_serial             lzfgrep                  python3-config           sip                    x86_64-conda_cos6-linux-gnu-gfortran
cc                  fc-conflist                         h5redeploy                lzgrep                   pyuic5                   skivi                  x86_64-conda_cos6-linux-gnu-gfortran.bin
cfadmin             fc-list                             h5repack                  lzless                   pyvenv                   slencheck              x86_64-conda_cos6-linux-gnu-gprof
cftp                fc-match                            h5repart                  lzma                     pyvenv-3.6               sphinx-apidoc          x86_64-conda_cos6-linux-gnu-ld
chardetect          fc-pattern                          h5stat                    lzmadec                  qcollectiongenerator     sphinx-autogen         x86_64-conda_cos6-linux-gnu-ld.bfd
check               fc-query                            h5unjam                   lzmainfo                 qdbus                    sphinx-build           x86_64-conda_cos6-linux-gnu-ld.gold
cjpeg               fc-scan                             h5watch                   lzmore                   qdbuscpp2xml             sphinx-quickstart      x86_64-conda_cos6-linux-gnu-nm
ckeygen             fc-validate                         hb-ot-shape-closure       mailmail                 qdbusviewer              spyder                 x86_64-conda_cos6-linux-gnu-objcopy
clear               fetch_file                          hb-shape                  make                     qdbusxml2cpp             sqlite3                x86_64-conda_cos6-linux-gnu-objdump
COMPILE             fits2bitmap                         hb-subset                 makeconv                 qdoc                     sqlite3_analyzer       x86_64-conda_cos6-linux-gnu-ranlib
conch               fitscheck                           hb-view                   mkinstalldirs            qgltf                    Stangle                x86_64-conda_cos6-linux-gnu-readelf
conda               fitsdiff                            icu-config                moc                      qhelpconverter           strip                  x86_64-conda_cos6-linux-gnu-size
conda-build         fitsheader                          icuinfo                   mturk                    qhelpgenerator           Sweave                 x86_64-conda_cos6-linux-gnu-strings
conda-convert       fitsinfo                            idle3                     navigator-updater        qlalr                    symilar                x86_64-conda_cos6-linux-gnu-strip
conda-develop       fixqt4headers.pl                    idle3.6                   ncursesw6-config         qmake                    syncqt.pl              xml2-config
conda-env           flask                               infocmp                   nosetests                qml                      tabs                   xmlcatalog
conda-index         freetype-config                     infotocap                 numba                    qmlcachegen              taskadmin              xmllint
conda-inspect       fribidi                             INSTALL                   odbc_config              qmleasing                tclsh                  xmlpatterns
conda-metapackage   from-template                       instance_events           odbcinst                 qmlimportscanner         tclsh8.6               xmlpatternsvalidator
conda-render        futurize                            iptest                    odo                      qmllint                  tic                    xmlwf
conda-server        g++                                 iptest3                   openssl                  qmlmin                   tiff2bw                xslt-config
conda-skeleton      gapplication                        ipython                   pager                    qmlplugindump            tiff2pdf               xsltproc
conda-verify        gcc                                 ipython3                  pal2rgb                  qmlprofiler              tiff2ps                xz
config              gdbus                               isort                     pandoc                   qmlscene                 tiff2rgba              xzcat
conv-template       gdbus-codegen                       isql                      pandoc-citeproc          qmltestrunner            tiffcmp                xzcmp
cq                  genbrk                              isympy                    pango-list               qscxmlc                  tiffcp                 xzdec
c_rehash            gencfu                              iusql                     pango-view               qtattributionsscanner    tiffcrop               xzdiff
curl                gencnval                            javareconf                pasteurize               qt.conf                  tiffdither             xzegrep
curl-config         gendict                             jlpm                      patchelf                 qtdiag                   tiffdump               xzfgrep
curve_keygen        genrb                               jpegtran                  pcre-config              qtpaths                  tiffinfo               xzgrep
cwutil              gfortran                            jsonschema                pcregrep                 qtplugininfo             tiffmedian             xzless
cygdb               gif2h5                              jupyter                   pcretest                 qwebengine_convert_dict  tiffset                xzmore
cython              gio                                 jupyter-bundlerextension  pep8                     R                        tiffsplit
cythonize           gio-querymodules                    jupyter-console           pip                      ranlib                   tkconch
[root@mu01 bin]# cd ..
[root@mu01 anaconda3]# ls
bin  compiler_compat  conda-meta  doc  etc  include  lib  lib64  libexec  LICENSE.txt  man  mkspecs  phrasebooks  pkgs  plugins  qml  resources  share  ssl  translations  var  x86_64-conda_cos6-linux-gnu
[root@mu01 anaconda3]# cd ..
[root@mu01 opt]# ls
anaconda2        bak            conda-meta      gawk-4.1.4  gcc-7.2.0  intel         knem-1.1.1.90mlnx  make-4.2     mpc-1.0.3      python-3.6.3  share     ssl       var
anaconda3        bin            coreutils-8.28  gcc-4.9.4   gmp-6.1.2  isl-0.15      lib                MegaRAID     mpfr-3.1.6     R-3.5.1       software  tar-1.29  x86_64-conda_cos6-linux-gnu
autoconf-2.69    binutils-2.29  etc             gcc-5.5.0   ibutils    jdk1.8.0_144  lib64              mellanox     pcre-8.39      rh            src       test.pbs  yp.conf
automake-1.15.1  cmake-3.9.4    fdtd            gcc-6.4.0   include    jdk-9         libexec            modulefiles  python-2.7.14  sed-4.4       ssh       tsce
[root@mu01 opt]# exit
logout
[zcao@mu01 hjjiang]$ showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[zcao@mu01 hjjiang]$ ls
basic.R  cGibs1.R  cRGibs1.R  data.txt  Gibbs.R  loglik1.c  loglik1.dll  loglik1.o  loglik1.so  simR_sub.R  simuR_server.R
[zcao@mu01 hjjiang]$ exit
logout
Connection to mu01 closed.
[zcao@gateway ~]$ ssh mu01
Last login: Mon Aug 20 14:04:04 2018 from gateway
      ###          Reservation Schedule ###

HBLi Group  Every Sunday 0:0 - Monday 23:59

Announcement:

Environment Module is in use now, modules available are

advisor_xe_2015.1.10.380555        impi_5.0.2.044
anaconda2                          inspector_xe_2015.1.2.379161
anaconda3                          isl-0.15
composer_xe_2015.1.133             mpc-1.0.3
gcc-4.9.4                          mpfr-3.1.6
gcc-5.5.0                          parallel_studio_xe_2015
gcc-6.4.0                          python-2.7.14
gcc-7.2.0                          python-3.6.3
gmp-6.1.2                          vtune_amplifier_xe_2015.1.1.380310

module load <module name> # to load a module

To load some default modules everytime you login
1. add "module add null" to ~/.bashrc (or your shell's rc)
2. module initadd <module name>

* You can make available other software packages used in your group,
* send your request to kftse@phy.cuhk.edu.hk
[zcao@mu01 ~]$ showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[zcao@mu01 ~]$ sudo -s
[sudo] password for zcao: 
null(21):ERROR:105: Unable to locate a modulefile for 'parallel_studio_xe_2018'
null(21):ERROR:105: Unable to locate a modulefile for 'gnu-utils-latest'
null(21):ERROR:105: Unable to locate a modulefile for 'jdk-8u144'
null(21):ERROR:105: Unable to locate a modulefile for 'anaconda3'
null(21):ERROR:105: Unable to locate a modulefile for 'gcc-7.2.0'
[root@mu01 zcao]# showq
bash: showq: command not found
[root@mu01 zcao]# showq
bash: showq: command not found
[root@mu01 zcao]# ssh mu01
Last login: Thu Aug 16 14:07:52 2018 from mu01
      ###          Reservation Schedule ###

HBLi Group  Every Sunday 0:0 - Monday 23:59

Announcement:

Environment Module is in use now, modules available are

advisor_xe_2015.1.10.380555        impi_5.0.2.044
anaconda2                          inspector_xe_2015.1.2.379161
anaconda3                          isl-0.15
composer_xe_2015.1.133             mpc-1.0.3
gcc-4.9.4                          mpfr-3.1.6
gcc-5.5.0                          parallel_studio_xe_2015
gcc-6.4.0                          python-2.7.14
gcc-7.2.0                          python-3.6.3
gmp-6.1.2                          vtune_amplifier_xe_2015.1.1.380310

module load <module name> # to load a module

To load some default modules everytime you login
1. add "module add null" to ~/.bashrc (or your shell's rc)
2. module initadd <module name>

* You can make available other software packages used in your group,
* send your request to kftse@phy.cuhk.edu.hk
null(21):ERROR:105: Unable to locate a modulefile for 'parallel_studio_xe_2018'
null(21):ERROR:105: Unable to locate a modulefile for 'gnu-utils-latest'
null(21):ERROR:105: Unable to locate a modulefile for 'jdk-8u144'
null(21):ERROR:105: Unable to locate a modulefile for 'anaconda3'
null(21):ERROR:105: Unable to locate a modulefile for 'gcc-7.2.0'
[root@mu01 ~]# showq
showq: error while loading shared libraries: libtorque.so.2: cannot open shared object file: No such file or directory
[root@mu01 ~]# 
kftsehk commented 6 years ago

Checked that icc can pass license check on cluster1 and cluster3 Checked that maui is not deleted, hopefully reconfigure is not required

caicairay commented 6 years ago

Log of the torque-server installation

[zcao@mu01 ~]$ sudo yum install torque-server.x86_64
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo,
              : verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package torque-server.x86_64 0:4.2.10-9.el6 will be installed
--> Processing Dependency: torque-libs = 4.2.10-9.el6 for package: torque-server-4.2.10-9.el6.x86_64
--> Processing Dependency: munge for package: torque-server-4.2.10-9.el6.x86_64
--> Processing Dependency: libtorque.so.2()(64bit) for package: torque-server-4.2.10-9.el6.x86_64
--> Processing Dependency: libmunge.so.2()(64bit) for package: torque-server-4.2.10-9.el6.x86_64
--> Running transaction check
---> Package munge.x86_64 0:0.5.10-1.el6 will be installed
---> Package munge-libs.x86_64 0:0.5.10-1.el6 will be installed
---> Package torque-libs.x86_64 0:4.2.10-9.el6 will be installed
--> Processing Dependency: torque = 4.2.10-9.el6 for package: torque-libs-4.2.10-9.el6.x86_64
--> Running transaction check
---> Package torque.x86_64 0:4.2.10-9.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================= Package                              Arch                          Version                                Repository                   Size
=============================================================================================================================================Installing:
 torque-server                        x86_64                        4.2.10-9.el6                           epel                        303 k
Installing for dependencies:
 munge                                x86_64                        0.5.10-1.el6                           epel                        111 k
 munge-libs                           x86_64                        0.5.10-1.el6                           epel                         32 k
 torque                               x86_64                        4.2.10-9.el6                           epel                         82 k
 torque-libs                          x86_64                        4.2.10-9.el6                           epel                        127 k

Transaction Summary
=============================================================================================================================================Install       5 Package(s)

Total download size: 655 k
Installed size: 1.5 M
Is this ok [y/N]: y     
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 655 k
(1/5): munge-0.5.10-1.el6.x86_64.rpm                                                                                  | 111 kB     00:00     (2/5): munge-libs-0.5.10-1.el6.x86_64.rpm                                                                             |  32 kB     00:00     (3/5): torque-4.2.10-9.el6.x86_64.rpm                                                                                 |  82 kB     00:00     (4/5): torque-libs-4.2.10-9.el6.x86_64.rpm                                                                            | 127 kB     00:00     (5/5): torque-server-4.2.10-9.el6.x86_64.rpm                                                                          | 303 kB     00:00     ---------------------------------------------------------------------------------------------------------------------------------------------Total                                                                                                        1.8 MB/s | 655 kB     00:00     Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : munge-libs-0.5.10-1.el6.x86_64                                                                                            1/5   Installing : munge-0.5.10-1.el6.x86_64                                                                                                 2/5   Installing : torque-4.2.10-9.el6.x86_64                                                                                                3/5   Installing : torque-libs-4.2.10-9.el6.x86_64                                                                                           4/5   Installing : torque-server-4.2.10-9.el6.x86_64                                                                                         5/5   Verifying  : torque-server-4.2.10-9.el6.x86_64                                                                                         1/5   Verifying  : munge-libs-0.5.10-1.el6.x86_64                                                                                            2/5   Verifying  : torque-4.2.10-9.el6.x86_64                                                                                                3/5   Verifying  : torque-libs-4.2.10-9.el6.x86_64                                                                                           4/5   Verifying  : munge-0.5.10-1.el6.x86_64                                                                                                 5/5 
Installed:
  torque-server.x86_64 0:4.2.10-9.el6                                                                                                        
Dependency Installed:
  munge.x86_64 0:0.5.10-1.el6     munge-libs.x86_64 0:0.5.10-1.el6     torque.x86_64 0:4.2.10-9.el6     torque-libs.x86_64 0:4.2.10-9.el6    
Complete!

File location:

[zcao@mu01 torque]$ rpm -ql torque
/etc/rc.d/init.d/trqauthd
/etc/torque/pbs_environment
/etc/torque/server_name
/usr/sbin/trqauthd
/usr/share/doc/torque-4.2.10
/usr/share/doc/torque-4.2.10/CHANGELOG
/usr/share/doc/torque-4.2.10/PBS_License.txt
/usr/share/doc/torque-4.2.10/PBS_License_2.3.txt
/usr/share/doc/torque-4.2.10/README.Fedora
/usr/share/doc/torque-4.2.10/README.torque
/usr/share/doc/torque-4.2.10/Release_Notes
/usr/share/doc/torque-4.2.10/torque.setup
/usr/share/man/man1/pbs.1.gz
/var/lib/torque
/var/lib/torque/aux
/var/lib/torque/checkpoint
/var/lib/torque/pbs_environment
/var/lib/torque/server_name
/var/lib/torque/spool
/var/lib/torque/undelivered
caicairay commented 6 years ago

Log of torque-mom installation on computing nodes

[zcao@mu01 ~]$ sudo yum install torque-mom.x86_64
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package torque-mom.x86_64 0:4.2.10-9.el6 will be installed
--> Processing Dependency: torque-libs = 4.2.10-9.el6 for package: torque-mom-4.2.10-9.el6.x86_64
--> Processing Dependency: munge for package: torque-mom-4.2.10-9.el6.x86_64
--> Processing Dependency: libtorque.so.2()(64bit) for package: torque-mom-4.2.10-9.el6.x86_64
--> Processing Dependency: libmunge.so.2()(64bit) for package: torque-mom-4.2.10-9.el6.x86_64
--> Running transaction check
---> Package munge.x86_64 0:0.5.10-1.el6 will be installed
---> Package munge-libs.x86_64 0:0.5.10-1.el6 will be installed
---> Package torque-libs.x86_64 0:4.2.10-9.el6 will be installed
--> Processing Dependency: torque = 4.2.10-9.el6 for package: torque-libs-4.2.10-9.el6.x86_64
--> Running transaction check
---> Package torque.x86_64 0:4.2.10-9.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                             Arch                                           Version                                                Repository                                    Size
==============================================================================================================================================================================================================
Installing:
 torque-mom                                          x86_64                                         4.2.10-9.el6                                           epel                                         253 k
Installing for dependencies:
 munge                                               x86_64                                         0.5.10-1.el6                                           epel                                         111 k
 munge-libs                                          x86_64                                         0.5.10-1.el6                                           epel                                          32 k
 torque                                              x86_64                                         4.2.10-9.el6                                           epel                                          82 k
 torque-libs                                         x86_64                                         4.2.10-9.el6                                           epel                                         127 k

Transaction Summary
==============================================================================================================================================================================================================
Install       5 Package(s)

Total download size: 605 k
Installed size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
epel/prestodelta                                                                                                                                                                       | 2.2 kB     00:00     
Processing delta metadata
Package(s) data still to download: 605 k
(1/5): munge-0.5.10-1.el6.x86_64.rpm                                                                                                                                                   | 111 kB     00:00     
(2/5): munge-libs-0.5.10-1.el6.x86_64.rpm                                                                                                                                              |  32 kB     00:00     
(3/5): torque-4.2.10-9.el6.x86_64.rpm                                                                                                                                                  |  82 kB     00:00     
(4/5): torque-libs-4.2.10-9.el6.x86_64.rpm                                                                                                                                             | 127 kB     00:00     
(5/5): torque-mom-4.2.10-9.el6.x86_64.rpm                                                                                                                                              | 253 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                         831 kB/s | 605 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : munge-libs-0.5.10-1.el6.x86_64                                                                                                                                                             1/5 
  Installing : munge-0.5.10-1.el6.x86_64                                                                                                                                                                  2/5 
  Installing : torque-libs-4.2.10-9.el6.x86_64                                                                                                                                                            3/5 
  Installing : torque-4.2.10-9.el6.x86_64                                                                                                                                                                 4/5 
  Installing : torque-mom-4.2.10-9.el6.x86_64                                                                                                                                                             5/5 
  Verifying  : torque-mom-4.2.10-9.el6.x86_64                                                                                                                                                             1/5 
  Verifying  : torque-4.2.10-9.el6.x86_64                                                                                                                                                                 2/5 
  Verifying  : torque-libs-4.2.10-9.el6.x86_64                                                                                                                                                            3/5 
  Verifying  : munge-libs-0.5.10-1.el6.x86_64                                                                                                                                                             4/5 
  Verifying  : munge-0.5.10-1.el6.x86_64                                                                                                                                                                  5/5 

Installed:
  torque-mom.x86_64 0:4.2.10-9.el6                                                                                                                                                                            

Dependency Installed:
  munge.x86_64 0:0.5.10-1.el6                     munge-libs.x86_64 0:0.5.10-1.el6                     torque.x86_64 0:4.2.10-9.el6                     torque-libs.x86_64 0:4.2.10-9.el6                    

Complete!

File location:

[root@cu01 local]# rpm -ql torque-mom
/etc/rc.d/init.d/pbs_mom
/etc/torque/mom
/etc/torque/mom/config
/usr/bin/pbs_track
/usr/sbin/momctl
/usr/sbin/pbs_demux
/usr/sbin/pbs_mom
/usr/sbin/qnoded
/usr/share/man/man8/pbs_mom.8.gz
/var/lib/torque/mom_logs
/var/lib/torque/mom_priv
/var/lib/torque/mom_priv/config
/var/lib/torque/mom_priv/jobs
/var/log/torque
/var/log/torque/mom_logs

Failed to install torque-mom on cu30,39.

The reason is found to be the lacking of epel of yum

epel is installed on cu30,39. According to https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/


torque-mom is installed on all the computing nodes.

caicairay commented 6 years ago

Log of configuration of pbs_server (Management Node)

[zcao@mu01 ~]$ sudo pbs_server -t create

You have selected to start pbs_server in create mode.
If the server database exists it will be overwritten.
do you wish to continue y/(n)?y
[zcao@mu01 server_priv]$ sudo service trqauthd restart
Shutting down TORQUE Authorization Daemon:                 [  OK  ]
Starting TORQUE Authorization Daemon: hostname: localhost
Active server name: localhost  pbs_server port is: 15001
trqauthd daemonized - port /tmp/trqauthd-unix              [  OK  ]
[zcao@mu01 server_priv]$ sudo service pbs_server restart
Shutting down TORQUE Server: munge_encode failed: Unable to access "/var/run/munge/munge.socket.2": No such file or directory (6)
Unable to communicate with localhost(127.0.0.1)
Communication failure.
qterm: could not connect to server '' (15009) munge executable not found, unable to authenticate
                                                           [  OK  ]
pbs_server is already running.

Found Error: Shutting down TORQUE Server: munge_encode failed: Unable to access "/var/run/munge/munge.socket.2": No such file or directory (6)

[zcao@mu01 usr]$ /etc/init.d/munge status
munged is stopped

Message from Kin Fai

Dear Zhuo,

I have solved this, it is a problem of permission to cause munge fail to start, need to chown all files involved in error message to be owned by munge:munge

https://github.com/dun/munge/issues/32

Also, afterwards, need to edit /etc/torque/server_name and /var/lib/torque/server_name to be the same as $HOSTNAME

https://bugzilla.redhat.com/show_bug.cgi?id=1227003

and then restart both pbs_server and trqauthd.

I think you can try continue the config.

Bests, Kin Fai

Problem Solved.


caicairay commented 6 years ago

Log of configuration of pbs_mom (Computing Nodes)

[zcao@mu01 ~]$ sudo pdsh -w cu[03-44] 'sed -ie 's/localhost/mu01/g' /var/lib/torque/mom_priv/config'
#Same operation has been done on cu01,02 manually.
[root@cu01 mom_priv]# service pbs_mom restart
Shutting down TORQUE Mom: pbs_mom already stopped          [  OK  ]
Starting TORQUE Mom: pbs_mom: LOG_ERROR::No such file or directory (2) in read_layout_file, Unable to read the layout file in /var/lib/torque/mom_priv/mom.layout

pbs_mom: LOG_ERROR::setup_nodeboards, Could not read layout file!

                                                           [FAILED]

Found Error:

Starting TORQUE Mom: pbs_mom: LOG_ERROR::No such file or directory (2) in read_layout_file, Unable to read the layout file in /var/lib/torque/mom_priv/mom.layout

Similar issues: https://bugzilla.redhat.com/show_bug.cgi?id=1321154 https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=LCG-ROLLOUT;bad59b20.1604


echo 'nodes=0,1' > /var/lib/torque/mom_priv/mom.layout

Problem Solved


Below are logs recording the output of service pbs_mom restart and pbsnodes commands.

TSCE deamon is still running on some of the nodes. Thus failed to restart.

Need to kill TSCE and restart.

[zcao@mu01 ~]$ sudo pdsh -w cu[01-44] 'service pbs_mom restart'
cu02: Shutting down TORQUE Mom: pbs_mom already stopped[  OK  ]
cu02: server port = 15002, errno = 98 (Address already in use), already in use
cu02: Starting TORQUE Mom: [FAILED]
pdsh@mu01: cu02: ssh exited with exit code 1
# Same for 3-22, 24-37, 39-44
[zcao@mu01 ~]$ pbsnodes
cu01-0
     state = free
     np = 24
     ntype = cluster
     status = rectime=1534840541,varattr=,jobs=,state=free,netload=? 0,gres=,loadave=0.00,ncpus=24,physmem=134059420kb,availmem=130532752kb,totmem=134059420kb,idletime=19885,nusers=0,nsessions=0,uname=Linux cu01 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64,opsys=linux
     mom_service_port = 15002
     mom_manager_port = 15003

cu02-0
     state = down
     np = 24
     ntype = cluster
     mom_service_port = 15002
     mom_manager_port = 15003
# cu[03-22]
#    state = down
#    np = 24
#    ntype = cluster
#    mom_service_port = 15002
#    mom_manager_port = 15003
cu23-0
     state = free
     np = 24
     ntype = cluster
     status = rectime=1534840540,varattr=,jobs=,state=free,netload=? 0,gres=,loadave=0.00,ncpus=24,physmem=134059420kb,availmem=130467624kb,totmem=134059420kb,idletime=9489312,nusers=0,nsessions=0,uname=Linux cu23 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64,opsys=linux
     mom_service_port = 15002
     mom_manager_port = 15003

# cu[24-37]
#    state = down
#    np = 24
#    ntype = cluster
#    mom_service_port = 15002
#    mom_manager_port = 15003

cu38-0
     state = free
     np = 24
     ntype = cluster
     status = rectime=1534840542,varattr=,jobs=,state=free,netload=? 0,gres=,loadave=0.00,ncpus=24,physmem=268277148kb,availmem=254353684kb,totmem=268277148kb,idletime=9489290,nusers=0,nsessions=0,uname=Linux cu38 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64,opsys=linux
     mom_service_port = 15002
     mom_manager_port = 15003
# cu[39-44]
#    state = down
#    np = 24 (48 for cu39)
#    ntype = cluster
#    mom_service_port = 15002
#    mom_manager_port = 15003