From e3bf472281ba2f9a7e0a7890e312a6f1fc48cd7a Mon Sep 17 00:00:00 2001
From: lche0021 <lche0021@student.monash.edu>
Date: Mon, 27 Jul 2020 17:07:48 +1000
Subject: [PATCH] added application_report script which generate the usage of
 module logging for past 180 days and the list of softwares that depend on it

---
 smoke_test/application_report                 |  17 ++
 smoke_test/generate_bin_test                  |  11 +-
 smoke_test/listdeps                           |  10 +-
 smoke_test/openmpi_1.10.7-mlx.txt             | 251 ++++++++++++++++
 .../anaconda/2019.03-Python3.7-gcc5           | 278 +++++++++++++++++-
 .../output_dir/anaconda/5.1.0-Python3.6-gcc5  | 267 ++++++++++++++++-
 smoke_test/output_dir/cuda/10.1               |  16 +
 smoke_test/output_dir/cuda/7.5                |  16 +
 smoke_test/output_dir/cuda/8.0.61             |  16 +
 smoke_test/output_dir/cuda/9.1                |  11 +
 smoke_test/output_dir/fftw/3.3.4-gcc          |   4 +-
 smoke_test/output_dir/fftw/3.3.5-gcc          |   4 +-
 smoke_test/output_dir/fftw/3.3.5-gcc5         |   4 +-
 smoke_test/output_dir/gmp/6.1.2               |   4 +-
 smoke_test/output_dir/hdf5/1.10.0-patch1      |  46 +--
 smoke_test/output_dir/mpfr/3.1.5              |   4 +-
 smoke_test/output_dir/openblas/0.2.20         |   7 +-
 .../output_dir/openmpi/1.10.3-gcc4-mlx-verbs  |  12 -
 smoke_test/output_dir/openmpi/1.10.7-mlx      |  12 -
 smoke_test/output_dir/report.txt              |  16 +-
 smoke_test/output_dir/samtools/1.7            |   4 +-
 smoke_test/output_dir/samtools/1.9            |   4 +-
 smoke_test/output_dir/samtools/1.9-gcc5       |   4 +-
 smoke_test/output_dir/singularity/3.2.1       |   3 +-
 smoke_test/smoke_test                         |   7 +-
 smoke_test/tests/anaconda/bintest             |  11 +-
 smoke_test/tests/atlas/bintest                |  11 +
 smoke_test/tests/bedtools/bintest             |  11 +-
 smoke_test/tests/bintest                      |  11 +-
 smoke_test/tests/bismark/bintest              |  11 +-
 smoke_test/tests/bowtie2/bintest              |  11 +-
 smoke_test/tests/cuda/bintest                 |  11 +-
 smoke_test/tests/cutadapt/bintest             |  11 +-
 smoke_test/tests/deeptools/bintest            |  11 +-
 smoke_test/tests/deeptools/pythoncmd          |   3 +
 smoke_test/tests/fastqc/bintest               |  11 +-
 smoke_test/tests/fftw/bashcmd                 |   4 +
 smoke_test/tests/fftw/bintest                 |  11 +-
 smoke_test/tests/fftw/fftw_example.c          |  64 ++++
 smoke_test/tests/fsl/bintest                  |  11 +-
 smoke_test/tests/gcc/bintest                  |  11 +-
 smoke_test/tests/geos/bintest                 |  11 +-
 smoke_test/tests/gmp/bashcmd                  |   4 +
 smoke_test/tests/gmp/bintest                  |  11 +-
 smoke_test/tests/gmp/fact                     | Bin 0 -> 8776 bytes
 smoke_test/tests/gmp/fact.c                   |  37 +++
 smoke_test/tests/gsl/bintest                  |  11 +-
 smoke_test/tests/hdf5/bashcmd                 |   8 +-
 smoke_test/tests/hdf5/bintest                 |  11 +-
 smoke_test/tests/htseq/bintest                |  11 +-
 smoke_test/tests/htslib/bintest               |  11 +-
 smoke_test/tests/java/bintest                 |  11 +-
 smoke_test/tests/lapack/bintest               |  11 +-
 smoke_test/tests/libjpeg-turbo/bintest        |  11 +-
 smoke_test/tests/libtiff/bintest              |  11 +-
 smoke_test/tests/mpfr/bashcmd                 |   1 +
 smoke_test/tests/mpfr/bintest                 |  11 +-
 smoke_test/tests/openblas/bashcmd             |   2 +
 smoke_test/tests/openblas/bintest             |  11 +-
 smoke_test/tests/openblas/test_cblas_open     | Bin 8552 -> 0 bytes
 smoke_test/tests/openblas/timeDGEMM.txt       |   1 +
 smoke_test/tests/openblas/time_dgemm          | Bin 13080 -> 0 bytes
 smoke_test/tests/openmpi/bashcmd              |   3 -
 smoke_test/tests/openmpi/bintest              |  11 +-
 smoke_test/tests/picard/bintest               |  11 +-
 smoke_test/tests/python/bintest               |  11 +-
 smoke_test/tests/samtools/bashcmd             |   2 -
 smoke_test/tests/samtools/bintest             |  11 +-
 smoke_test/tests/singularity/bashcmd          |   4 +-
 smoke_test/tests/singularity/bintest          |  11 +-
 smoke_test/tests/tigervnc/bintest             |  11 +-
 smoke_test/tests/virtualgl/bintest            |  11 +-
 smoke_test/tests/wxwidgets/bintest            |  11 +-
 smoke_test/usage_stat                         |  21 ++
 74 files changed, 1296 insertions(+), 249 deletions(-)
 create mode 100755 smoke_test/application_report
 create mode 100644 smoke_test/openmpi_1.10.7-mlx.txt
 create mode 100755 smoke_test/tests/atlas/bintest
 create mode 100755 smoke_test/tests/deeptools/pythoncmd
 create mode 100755 smoke_test/tests/fftw/bashcmd
 create mode 100644 smoke_test/tests/fftw/fftw_example.c
 create mode 100755 smoke_test/tests/gmp/bashcmd
 create mode 100755 smoke_test/tests/gmp/fact
 create mode 100644 smoke_test/tests/gmp/fact.c
 delete mode 100755 smoke_test/tests/openblas/test_cblas_open
 delete mode 100755 smoke_test/tests/openblas/time_dgemm
 delete mode 100755 smoke_test/tests/samtools/bashcmd
 create mode 100755 smoke_test/usage_stat

diff --git a/smoke_test/application_report b/smoke_test/application_report
new file mode 100755
index 00000000..e27e34f4
--- /dev/null
+++ b/smoke_test/application_report
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Generate report for applications that are to be deprecated 
+name=$1
+ver=$2
+report=./${name}_${ver}.txt
+echo 'module logging stat: ' > $report
+./usage_stat $name $ver 2>&1 | tee -a $report
+echo '' >> $report
+echo 'softwares that depend on '$name/$ver >> $report
+./listdeps $name $ver 
+cat $name/$ver  >> $report
+rm $name/$ver
+rmdir $name
+
+
+
diff --git a/smoke_test/generate_bin_test b/smoke_test/generate_bin_test
index bea00e26..9dbeb56c 100755
--- a/smoke_test/generate_bin_test
+++ b/smoke_test/generate_bin_test
@@ -12,11 +12,12 @@ echo '#!/bin/bash
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 ' > $TESTCASE_DIR/bintest
 
 IFS_orig=$IFS
diff --git a/smoke_test/listdeps b/smoke_test/listdeps
index 7f1d74d1..06394baa 100755
--- a/smoke_test/listdeps
+++ b/smoke_test/listdeps
@@ -11,18 +11,18 @@ if [ -z $1 ]; then
 fi
 version=$2
 
-if [ -z $version ]; then
-    version=( $(ls /usr/local/Modules/modulefiles/$software) )
-else 
+if [ ${version+_} ]; then
     version=( $version )
+else 
+    version=( $(ls /usr/local/Modules/modulefiles/$software) )
 fi 
 mkdir -p $software
 
-for i in $version; do touch $software/$ver; done
+for ver in $version; do touch $software/$ver; done
 for i in $(ls -d /usr/local/*/); do
     name=$(basename $i)
     load_ver=$(module show $name 2>&1 | sed -n "s/module.*load\ ${software}\/\(.*\)/\1/p")
-    if [ ! -z $load_ver ]; then 
+    if [ ! -z $load_ver ] && [ -f $software/$load_ver ]; then 
         echo $name >> $software/$load_ver
     fi
 done
diff --git a/smoke_test/openmpi_1.10.7-mlx.txt b/smoke_test/openmpi_1.10.7-mlx.txt
new file mode 100644
index 00000000..bc1d20d8
--- /dev/null
+++ b/smoke_test/openmpi_1.10.7-mlx.txt
@@ -0,0 +1,251 @@
+module logging stat: 
+bsun --- 3
+mvelasqu --- 16
+vidurt --- 1
+bmoffat --- 1
+ipincus --- 5
+dlee0035 --- 2
+sheikhug --- 8
+michaelr --- 9
+besser --- 2
+ldipnall --- 26
+aand0008 --- 7
+xvuthith --- 3
+vlbal1 --- 2
+smichnow --- 38
+asan0008 --- 16
+cpen0001 --- 4
+jmobbs --- 7
+pmace --- 7
+yzhang1 --- 35
+arthp --- 4
+scohen1 --- 4
+ska565 --- 6
+willk --- 16
+sgaj0003 --- 1
+govindap1 --- 6
+muckelma --- 12
+yannyinc --- 1
+pt5684 --- 1
+fairuzhh --- 2
+mbernhar --- 3
+yyue --- 1
+kwong --- 11
+phoebeimms --- 16
+jjn696 --- 12
+esomayeh --- 2
+huiw --- 17
+jinmingz --- 2
+ljia110 --- 1
+yfujii --- 7
+sarahsyh --- 5
+brianc --- 5
+pzaremoo --- 4
+bm571 --- 12
+wcao0006 --- 1
+nandiv --- 23
+kirkn --- 2
+chalmers --- 10
+gmeric --- 1
+rbeare --- 1
+dduke --- 8
+swatts --- 1
+andrewc --- 2
+bche132 --- 7
+mervyns --- 29
+aher0013 --- 2
+pleu0005 --- 4
+mbelouso --- 14
+amehnert --- 2
+training32 --- 1
+lwan0025 --- 3
+tomy --- 2
+jianc --- 8
+mwaltham --- 2
+hengr --- 2
+klow12 --- 40
+peterl --- 1
+dsubedi --- 7
+aper0034 --- 11
+cbritto --- 3
+philipc --- 10
+gfullers --- 1
+zhiqianx --- 7
+phalat --- 2
+changt --- 1
+eyk --- 1
+dmpar7 --- 7
+zdyson --- 24
+vpam0001 --- 2
+skie0002 --- 6
+rfro0003 --- 4
+yyer0001 --- 3
+ekan0003 --- 5
+bgully --- 14
+drob0006 --- 2
+a1058400 --- 8
+nmacesic --- 1
+dillonf --- 1
+ctiw0001 --- 3
+asin124 --- 2
+zhuy --- 1
+gahun3 --- 1
+eeka0002 --- 1
+hata0001 --- 2
+njcol7 --- 4
+angu0022 --- 3
+kira0001 --- 2
+jingl --- 4
+mjavaid --- 7
+training39 --- 1
+samjad --- 9
+rwic0002 --- 16
+zseeger --- 12
+tercy004 --- 15
+amaligg --- 2
+rjoh0016 --- 11
+louisec1 --- 2
+bmajor --- 1
+rgomi --- 10
+creboul --- 3
+osoriogarcia --- 2
+tnewing --- 17
+hven0001 --- 15
+sgwe0001 --- 6
+fboo0001 --- 3
+kholt --- 18
+lper0012 --- 4
+wwarnaku --- 3
+amire --- 1
+petersen --- 9
+yoge0001 --- 39
+snzai1 --- 1
+damienl --- 13
+lzhang --- 7
+jodib --- 3
+zmaa0010 --- 2
+shibow --- 2
+storestar2 --- 2
+land --- 2
+spiper --- 16
+siewpang --- 1
+root --- 20
+mlam0012 --- 20
+lancew --- 1
+hbhukya1 --- 1
+evelynd --- 2
+szhong --- 10
+mold0001 --- 6
+galisa --- 10
+apradhan --- 7
+rkai0001 --- 7
+jafarl --- 13
+kdainty --- 2
+yji --- 2
+hayleyjm --- 2
+seyedm --- 1
+trsma2 --- 4
+mhpre2 --- 1
+ctan --- 1
+ktran --- 2
+uqnyate1 --- 1
+jzhou --- 2
+joshuamhardy --- 9
+nickr --- 18
+jueqingl --- 3
+training29 --- 20
+claudiak --- 4
+pab07 --- 2
+aafo0001 --- 4
+kcorbett --- 5
+mfarrell --- 1
+ssoman --- 2
+hhartono --- 1
+billyjow --- 2
+simonb --- 5
+ljf509 --- 2
+scamp --- 1
+tday0002 --- 11
+louisec --- 5
+yqiu0012 --- 2
+tmalcolm --- 9
+sergiys --- 1
+kwyr0001 --- 26
+mhan0035 --- 2
+debopris --- 1
+jinxinz --- 1
+mkam0016 --- 2
+jdomingu --- 7
+bluc0001 --- 1
+bharwood --- 2
+xzha0043 --- 6
+marionb --- 4
+trungn --- 2
+gmonahan --- 1
+ctan1 --- 3
+ctav0001 --- 24
+grayminl --- 1
+ganjq --- 7
+pdaniel --- 1
+ademarco --- 1
+djov5 --- 2
+andrewpe --- 1
+msch0014 --- 14
+jaszczur --- 5
+msuman --- 12
+mwilce --- 3
+xjia0032 --- 2
+slandry --- 4
+rgom0001 --- 9
+bseewoo --- 1
+scottk --- 3
+pthomson --- 38
+uman0002 --- 3
+luhanc --- 117
+kamul4 --- 8
+abdellaa --- 13
+icostello --- 1
+clementeadam --- 7
+mdimmock --- 7
+davide --- 4
+tmason1 --- 4
+jcao0011 --- 26
+jhawkey --- 32
+handreas --- 7
+hcot0002 --- 9
+morrisa --- 1
+nmar0003 --- 3
+dbw --- 2
+zqi1 --- 8
+ec2-user --- 4
+jvanschy --- 15
+halmana --- 7
+dthal --- 21
+clau --- 8
+abhilass --- 5
+Total 1627 use in past 180 days
+
+softwares that depend on openmpi/1.10.7-mlx
+abinit
+chimera
+cp2k
+cpmd
+dense3dcrf
+exciting
+gamess
+geant4
+gromacs
+hypre
+lammps
+mpifileutils
+namd
+openfoam
+otpo
+petsc
+plumed
+rings
+rosetta
+scipion
+suitesparse
+vasp
+zoltan
diff --git a/smoke_test/output_dir/anaconda/2019.03-Python3.7-gcc5 b/smoke_test/output_dir/anaconda/2019.03-Python3.7-gcc5
index 8b137891..e305cc10 100644
--- a/smoke_test/output_dir/anaconda/2019.03-Python3.7-gcc5
+++ b/smoke_test/output_dir/anaconda/2019.03-Python3.7-gcc5
@@ -1 +1,277 @@
-
+# packages in environment at /usr/local/anaconda/2019.03-Python3.7-gcc5:
+#
+# Name                    Version                   Build  Channel
+_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0  
+alabaster                 0.7.12                   py37_0  
+anaconda                  2019.03                  py37_0  
+anaconda-client           1.7.2                    py37_0  
+anaconda-navigator        1.9.7                    py37_0  
+anaconda-project          0.8.2                    py37_0  
+asn1crypto                0.24.0                   py37_0  
+astroid                   2.2.5                    py37_0  
+astropy                   3.1.2            py37h7b6447c_0  
+atomicwrites              1.3.0                    py37_1  
+attrs                     19.1.0                   py37_1  
+babel                     2.6.0                    py37_0  
+backcall                  0.1.0                    py37_0  
+backports                 1.0                      py37_1  
+backports.os              0.1.1                    py37_0  
+backports.shutil_get_terminal_size 1.0.0                    py37_2  
+beautifulsoup4            4.7.1                    py37_1  
+bitarray                  0.8.3            py37h14c3975_0  
+bkcharts                  0.2                      py37_0  
+blas                      1.0                         mkl  
+bleach                    3.1.0                    py37_0  
+blosc                     1.15.0               hd408876_0  
+bokeh                     1.0.4                    py37_0  
+boto                      2.49.0                   py37_0  
+bottleneck                1.2.1            py37h035aef0_1  
+bzip2                     1.0.6                h14c3975_5  
+ca-certificates           2019.1.23                     0  
+cairo                     1.14.12              h8948797_3  
+certifi                   2019.3.9                 py37_0  
+cffi                      1.12.2           py37h2e261b9_1  
+chardet                   3.0.4                    py37_1  
+click                     7.0                      py37_0  
+cloudpickle               0.8.0                    py37_0  
+clyent                    1.2.2                    py37_1  
+colorama                  0.4.1                    py37_0  
+conda                     4.6.12                   py37_1  
+conda-build               3.17.8                   py37_0  
+conda-env                 2.6.0                         1  
+conda-verify              3.1.1                    py37_0  
+contextlib2               0.5.5                    py37_0  
+cryptography              2.6.1            py37h1ba5d50_0  
+curl                      7.64.0               hbc83047_2  
+cycler                    0.10.0                   py37_0  
+cython                    0.29.6           py37he6710b0_0  
+cytoolz                   0.9.0.1          py37h14c3975_1  
+dask                      1.1.4                    py37_1  
+dask-core                 1.1.4                    py37_1  
+dbus                      1.13.6               h746ee38_0  
+decorator                 4.4.0                    py37_1  
+defusedxml                0.5.0                    py37_1  
+distributed               1.26.0                   py37_1  
+docutils                  0.14                     py37_0  
+entrypoints               0.3                      py37_0  
+et_xmlfile                1.0.1                    py37_0  
+expat                     2.2.6                he6710b0_0  
+fastcache                 1.0.2            py37h14c3975_2  
+filelock                  3.0.10                   py37_0  
+flask                     1.0.2                    py37_1  
+fontconfig                2.13.0               h9420a91_0  
+freetype                  2.9.1                h8a8886c_1  
+fribidi                   1.0.5                h7b6447c_0  
+future                    0.17.1                   py37_0  
+get_terminal_size         1.0.0                haa9412d_0  
+gevent                    1.4.0            py37h7b6447c_0  
+glib                      2.56.2               hd408876_0  
+glob2                     0.6                      py37_1  
+gmp                       6.1.2                h6c8ec71_1  
+gmpy2                     2.0.8            py37h10f8cd9_2  
+graphite2                 1.3.13               h23475e2_0  
+greenlet                  0.4.15           py37h7b6447c_0  
+gst-plugins-base          1.14.0               hbbd80ab_1  
+gstreamer                 1.14.0               hb453b48_1  
+h5py                      2.9.0            py37h7918eee_0  
+harfbuzz                  1.8.8                hffaf4a1_0  
+hdf5                      1.10.4               hb1b8bf9_0  
+heapdict                  1.0.0                    py37_2  
+html5lib                  1.0.1                    py37_0  
+icu                       58.2                 h9c2bf20_1  
+idna                      2.8                      py37_0  
+imageio                   2.5.0                    py37_0  
+imagesize                 1.1.0                    py37_0  
+importlib_metadata        0.8                      py37_0  
+intel-openmp              2019.3                      199  
+ipykernel                 5.1.0            py37h39e3cac_0  
+ipython                   7.4.0            py37h39e3cac_0  
+ipython_genutils          0.2.0                    py37_0  
+ipywidgets                7.4.2                    py37_0  
+isort                     4.3.16                   py37_0  
+itsdangerous              1.1.0                    py37_0  
+jbig                      2.1                  hdba287a_0  
+jdcal                     1.4                      py37_0  
+jedi                      0.13.3                   py37_0  
+jeepney                   0.4                      py37_0  
+jinja2                    2.10                     py37_0  
+jpeg                      9b                   h024ee3a_2  
+jsonschema                3.0.1                    py37_0  
+jupyter                   1.0.0                    py37_7  
+jupyter_client            5.2.4                    py37_0  
+jupyter_console           6.0.0                    py37_0  
+jupyter_core              4.4.0                    py37_0  
+jupyterlab                0.35.4           py37hf63ae98_0  
+jupyterlab_server         0.2.0                    py37_0  
+keyring                   18.0.0                   py37_0  
+kiwisolver                1.0.1            py37hf484d3e_0  
+krb5                      1.16.1               h173b8e3_7  
+lazy-object-proxy         1.3.1            py37h14c3975_2  
+libarchive                3.3.3                h5d8350f_5  
+libcurl                   7.64.0               h20c2e04_2  
+libedit                   3.1.20181209         hc058e9b_0  
+libffi                    3.2.1                hd88cf55_4  
+libgcc-ng                 8.2.0                hdf63c60_1  
+libgfortran-ng            7.3.0                hdf63c60_0  
+liblief                   0.9.0                h7725739_2  
+libpng                    1.6.36               hbc83047_0  
+libsodium                 1.0.16               h1bed415_0  
+libssh2                   1.8.0                h1ba5d50_4  
+libstdcxx-ng              8.2.0                hdf63c60_1  
+libtiff                   4.0.10               h2733197_2  
+libtool                   2.4.6                h7b6447c_5  
+libuuid                   1.0.3                h1bed415_2  
+libxcb                    1.13                 h1bed415_1  
+libxml2                   2.9.9                he19cac6_0  
+libxslt                   1.1.33               h7d1a2b0_0  
+llvmlite                  0.28.0           py37hd408876_0  
+locket                    0.2.0                    py37_1  
+lxml                      4.3.2            py37hefd8a0e_0  
+lz4-c                     1.8.1.2              h14c3975_0  
+lzo                       2.10                 h49e0be7_2  
+markupsafe                1.1.1            py37h7b6447c_0  
+matplotlib                3.0.3            py37h5429711_0  
+mccabe                    0.6.1                    py37_1  
+mistune                   0.8.4            py37h7b6447c_0  
+mkl                       2019.3                      199  
+mkl-service               1.1.2            py37he904b0f_5  
+mkl_fft                   1.0.10           py37ha843d7b_0  
+mkl_random                1.0.2            py37hd81dba3_0  
+more-itertools            6.0.0                    py37_0  
+mpc                       1.1.0                h10f8cd9_1  
+mpfr                      4.0.1                hdf1c602_3  
+mpmath                    1.1.0                    py37_0  
+msgpack-python            0.6.1            py37hfd86e86_1  
+multipledispatch          0.6.0                    py37_0  
+navigator-updater         0.2.1                    py37_0  
+nbconvert                 5.4.1                    py37_3  
+nbformat                  4.4.0                    py37_0  
+ncurses                   6.1                  he6710b0_1  
+networkx                  2.2                      py37_1  
+nltk                      3.4                      py37_1  
+nose                      1.3.7                    py37_2  
+notebook                  5.7.8                    py37_0  
+numba                     0.43.1           py37h962f231_0  
+numexpr                   2.6.9            py37h9e4a6bb_0  
+numpy                     1.16.2           py37h7e9f1db_0  
+numpy-base                1.16.2           py37hde5b4d6_0  
+numpydoc                  0.8.0                    py37_0  
+olefile                   0.46                     py37_0  
+openpyxl                  2.6.1                    py37_1  
+openssl                   1.1.1b               h7b6447c_1  
+packaging                 19.0                     py37_0  
+pandas                    0.24.2           py37he6710b0_0  
+pandoc                    2.2.3.2                       0  
+pandocfilters             1.4.2                    py37_1  
+pango                     1.42.4               h049681c_0  
+parso                     0.3.4                    py37_0  
+partd                     0.3.10                   py37_1  
+patchelf                  0.9                  he6710b0_3  
+path.py                   11.5.0                   py37_0  
+pathlib2                  2.3.3                    py37_0  
+patsy                     0.5.1                    py37_0  
+pcre                      8.43                 he6710b0_0  
+pep8                      1.7.1                    py37_0  
+pexpect                   4.6.0                    py37_0  
+pickleshare               0.7.5                    py37_0  
+pillow                    5.4.1            py37h34e0f95_0  
+pip                       19.0.3                   py37_0  
+pixman                    0.38.0               h7b6447c_0  
+pkginfo                   1.5.0.1                  py37_0  
+pluggy                    0.9.0                    py37_0  
+ply                       3.11                     py37_0  
+prometheus_client         0.6.0                    py37_0  
+prompt_toolkit            2.0.9                    py37_0  
+psutil                    5.6.1            py37h7b6447c_0  
+ptyprocess                0.6.0                    py37_0  
+py                        1.8.0                    py37_0  
+py-lief                   0.9.0            py37h7725739_2  
+pycodestyle               2.5.0                    py37_0  
+pycosat                   0.6.3            py37h14c3975_0  
+pycparser                 2.19                     py37_0  
+pycrypto                  2.6.1            py37h14c3975_9  
+pycurl                    7.43.0.2         py37h1ba5d50_0  
+pyflakes                  2.1.1                    py37_0  
+pygments                  2.3.1                    py37_0  
+pylint                    2.3.1                    py37_0  
+pyodbc                    4.0.26           py37he6710b0_0  
+pyopenssl                 19.0.0                   py37_0  
+pyparsing                 2.3.1                    py37_0  
+pyqt                      5.9.2            py37h05f1152_2  
+pyrsistent                0.14.11          py37h7b6447c_0  
+pysocks                   1.6.8                    py37_0  
+pytables                  3.5.1            py37h71ec239_0  
+pytest                    4.3.1                    py37_0  
+pytest-arraydiff          0.3              py37h39e3cac_0  
+pytest-astropy            0.5.0                    py37_0  
+pytest-doctestplus        0.3.0                    py37_0  
+pytest-openfiles          0.3.2                    py37_0  
+pytest-remotedata         0.3.1                    py37_0  
+python                    3.7.3                h0371630_0  
+python-dateutil           2.8.0                    py37_0  
+python-libarchive-c       2.8                      py37_6  
+pytz                      2018.9                   py37_0  
+pywavelets                1.0.2            py37hdd07704_0  
+pyyaml                    5.1              py37h7b6447c_0  
+pyzmq                     18.0.0           py37he6710b0_0  
+qt                        5.9.7                h5867ecd_1  
+qtawesome                 0.5.7                    py37_1  
+qtconsole                 4.4.3                    py37_0  
+qtpy                      1.7.0                    py37_1  
+readline                  7.0                  h7b6447c_5  
+requests                  2.21.0                   py37_0  
+rope                      0.12.0                   py37_0  
+ruamel_yaml               0.15.46          py37h14c3975_0  
+scikit-image              0.14.2           py37he6710b0_0  
+scikit-learn              0.20.3           py37hd81dba3_0  
+scipy                     1.2.1            py37h7c811a0_0  
+seaborn                   0.9.0                    py37_0  
+secretstorage             3.1.1                    py37_0  
+send2trash                1.5.0                    py37_0  
+setuptools                40.8.0                   py37_0  
+simplegeneric             0.8.1                    py37_2  
+singledispatch            3.4.0.3                  py37_0  
+sip                       4.19.8           py37hf484d3e_0  
+six                       1.12.0                   py37_0  
+snappy                    1.1.7                hbae5bb6_3  
+snowballstemmer           1.2.1                    py37_0  
+sortedcollections         1.1.2                    py37_0  
+sortedcontainers          2.1.0                    py37_0  
+soupsieve                 1.8                      py37_0  
+sphinx                    1.8.5                    py37_0  
+sphinxcontrib             1.0                      py37_1  
+sphinxcontrib-websupport  1.1.0                    py37_1  
+spyder                    3.3.3                    py37_0  
+spyder-kernels            0.4.2                    py37_0  
+sqlalchemy                1.3.1            py37h7b6447c_0  
+sqlite                    3.27.2               h7b6447c_0  
+statsmodels               0.9.0            py37h035aef0_0  
+sympy                     1.3                      py37_0  
+tblib                     1.3.2                    py37_0  
+terminado                 0.8.1                    py37_1  
+testpath                  0.4.2                    py37_0  
+tk                        8.6.8                hbc83047_0  
+toolz                     0.9.0                    py37_0  
+tornado                   6.0.2            py37h7b6447c_0  
+tqdm                      4.31.1                   py37_1  
+traitlets                 4.3.2                    py37_0  
+unicodecsv                0.14.1                   py37_0  
+unixodbc                  2.3.7                h14c3975_0  
+urllib3                   1.24.1                   py37_0  
+wcwidth                   0.1.7                    py37_0  
+webencodings              0.5.1                    py37_1  
+werkzeug                  0.14.1                   py37_0  
+wheel                     0.33.1                   py37_0  
+widgetsnbextension        3.4.2                    py37_0  
+wrapt                     1.11.1           py37h7b6447c_0  
+wurlitzer                 1.0.2                    py37_0  
+xlrd                      1.2.0                    py37_0  
+xlsxwriter                1.1.5                    py37_0  
+xlwt                      1.3.0                    py37_0  
+xz                        5.2.4                h14c3975_4  
+yaml                      0.1.7                had09818_2  
+zeromq                    4.3.1                he6710b0_3  
+zict                      0.1.4                    py37_0  
+zipp                      0.3.3                    py37_1  
+zlib                      1.2.11               h7b6447c_3  
+zstd                      1.3.7                h0b5b093_0  
diff --git a/smoke_test/output_dir/anaconda/5.1.0-Python3.6-gcc5 b/smoke_test/output_dir/anaconda/5.1.0-Python3.6-gcc5
index 8b137891..b4c1419c 100644
--- a/smoke_test/output_dir/anaconda/5.1.0-Python3.6-gcc5
+++ b/smoke_test/output_dir/anaconda/5.1.0-Python3.6-gcc5
@@ -1 +1,266 @@
-
+# packages in environment at /usr/local/anaconda/5.1.0-Python3.6-gcc5:
+#
+# Name                    Version                   Build  Channel
+_ipyw_jlab_nb_ext_conf    0.1.0            py36he11e457_0  
+alabaster                 0.7.10           py36h306e16b_0  
+anaconda                  5.1.0                    py36_2  
+anaconda-client           1.6.9                    py36_0  
+anaconda-navigator        1.7.0                    py36_0  
+anaconda-project          0.8.2            py36h44fb852_0  
+apiclient                 1.0.3                     <pip>
+apptools                  4.4.0                     <pip>
+asn1crypto                0.24.0                   py36_0  
+astroid                   1.6.1                    py36_0  
+astropy                   2.0.3            py36h14c3975_0  
+attrs                     17.4.0                   py36_0  
+babel                     2.5.3                    py36_0  
+backports                 1.0              py36hfa02d7e_1  
+backports.shutil_get_terminal_size 1.0.0            py36hfea85ff_2  
+beautifulsoup4            4.6.0            py36h49b8c8c_1  
+bitarray                  0.8.1            py36h14c3975_1  
+bkcharts                  0.2              py36h735825a_0  
+blaze                     0.11.3           py36h4e06776_0  
+bleach                    2.1.2                    py36_0  
+bokeh                     0.12.13          py36h2f9c1c0_0  
+boto                      2.48.0           py36h6e4cd66_1  
+bottleneck                1.2.1            py36haac1ea0_0  
+bzip2                     1.0.6                h9a117a8_4  
+ca-certificates           2017.08.26           h1d4fec5_0  
+cairo                     1.14.12              h77bcde2_0  
+certifi                   2018.1.18                py36_0    conda-forge
+cffi                      1.11.4           py36h9745a5d_0  
+chardet                   3.0.4            py36h0f667ec_1  
+click                     6.7              py36h5253387_0  
+cloudpickle               0.5.2                    py36_1  
+clyent                    1.2.2            py36h7e57e65_1  
+colorama                  0.3.9            py36h489cec4_0  
+conda                     4.5.4                    py36_0    conda-forge
+conda-build               3.4.1                    py36_0  
+conda-env                 2.6.0                h36134e3_1  
+conda-verify              2.0.0            py36h98955d8_0  
+configobj                 5.0.6                     <pip>
+contextlib2               0.5.5            py36h6c84a62_0  
+cryptography              2.1.4            py36hd09be54_0  
+curl                      7.58.0               h84994c4_0  
+cycler                    0.10.0           py36h93f1223_0  
+cython                    0.27.3           py36h1860423_0  
+cytoolz                   0.9.0            py36h14c3975_0  
+dask                      0.16.1                   py36_0  
+dask-core                 0.16.1                   py36_0  
+datashape                 0.5.4            py36h3ad6b5c_0  
+dbus                      1.12.2               hc3f9b76_1  
+decorator                 4.2.1                    py36_0  
+distributed               1.20.2                   py36_0  
+docutils                  0.14             py36hb0f60f5_0  
+entrypoints               0.2.3            py36h1aec115_2  
+et_xmlfile                1.0.1            py36hd6bccc3_0  
+expat                     2.2.5                he0dffb1_0  
+fastcache                 1.0.2            py36h14c3975_2  
+filelock                  2.0.13           py36h646ffb5_0  
+flask                     0.12.2           py36hb24657c_0  
+flask-cors                3.0.3            py36h2d857d3_0  
+fontconfig                2.12.4               h88586e7_1  
+freetype                  2.8                  hab7d2ae_1  
+get_terminal_size         1.0.0                haa9412d_0  
+gevent                    1.2.2            py36h2fe25dc_0  
+glib                      2.53.6               h5d9569c_2  
+glob2                     0.6              py36he249c77_0  
+gmp                       6.1.2                h6c8ec71_1  
+gmpy2                     2.0.8            py36hc8893dd_2  
+graphite2                 1.3.10               hf63cedd_1  
+greenlet                  0.4.12           py36h2d503a6_0  
+gst-plugins-base          1.12.4               h33fb286_0  
+gstreamer                 1.12.4               hb53b477_0  
+h5py                      2.7.1            py36h3585f63_0  
+harfbuzz                  1.7.4                hc5b324e_0  
+hdf5                      1.10.1               h9caa474_1  
+heapdict                  1.0.0                    py36_2  
+html5lib                  1.0.1            py36h2f9c1c0_0  
+httplib2                  0.11.3                    <pip>
+icu                       58.2                 h9c2bf20_1  
+idna                      2.6              py36h82fb2a8_1  
+imageio                   2.2.0            py36he555465_0  
+imagesize                 0.7.1            py36h52d8127_0  
+intel-openmp              2018.0.0             hc7b2577_8  
+ipykernel                 4.8.0                    py36_0  
+ipython                   6.2.1            py36h88c514a_1  
+ipython_genutils          0.2.0            py36hb52b0d5_0  
+ipywidgets                7.1.1                    py36_0  
+isort                     4.2.15           py36had401c0_0  
+itsdangerous              0.24             py36h93cc618_1  
+jbig                      2.1                  hdba287a_0  
+jdcal                     1.3              py36h4c697fb_0  
+jedi                      0.11.1                   py36_0  
+jinja2                    2.10             py36ha16c418_0  
+jpeg                      9b                   h024ee3a_2  
+jsonschema                2.6.0            py36h006f8b5_0  
+jupyter                   1.0.0                    py36_4  
+jupyter_client            5.2.2                    py36_0  
+jupyter_console           5.2.0            py36he59e554_1  
+jupyter_core              4.4.0            py36h7c827e3_0  
+jupyterlab                0.31.5                   py36_0  
+jupyterlab_launcher       0.10.2                   py36_0  
+lazy-object-proxy         1.3.1            py36h10fcdad_0  
+ldap3                     2.5                       <pip>
+libcurl                   7.58.0               h1ad7b7a_0  
+libedit                   3.1                  heed3624_0  
+libffi                    3.2.1                hd88cf55_4  
+libgcc-ng                 7.2.0                h7cc24e2_2  
+libgfortran-ng            7.2.0                h9f7466a_2  
+libpng                    1.6.34               hb9fc6fc_0  
+libsodium                 1.0.15               hf101ebd_0  
+libssh2                   1.8.0                h9cfc8f7_4  
+libstdcxx-ng              7.2.0                h7a57d05_2  
+libtiff                   4.0.9                h28f6b97_0  
+libtool                   2.4.6                h544aabb_3  
+libxcb                    1.12                 hcd93eb1_4  
+libxml2                   2.9.7                h26e45fe_0  
+libxslt                   1.1.32               h1312cb7_0  
+llvmlite                  0.21.0           py36ha241eea_0  
+locket                    0.2.0            py36h787c0ad_1  
+lxml                      4.1.1            py36hf71bdeb_1  
+lzo                       2.10                 h49e0be7_2  
+manageid                  0.0.1                     <pip>
+markupsafe                1.0              py36hd9260cd_1  
+matplotlib                2.1.2            py36h0e671d2_0  
+mccabe                    0.6.1            py36h5ad9710_1  
+mistune                   0.8.3                    py36_0  
+mkl                       2018.0.1             h19d6760_4  
+mkl-service               1.1.2            py36h17a0993_4  
+mne                       0.15.2                    <pip>
+mpc                       1.0.3                hec55b23_5  
+mpfr                      3.1.5                h11a74b3_2  
+mpmath                    1.0.0            py36hfeacd6b_2  
+msgpack-python            0.5.1            py36h6bb024c_0  
+multipledispatch          0.4.9            py36h41da3fb_0  
+navigator-updater         0.1.0            py36h14770f7_0  
+nbconvert                 5.3.1            py36hb41ffb7_0  
+nbformat                  4.4.0            py36h31c9010_0  
+ncurses                   6.0                  h9df7e31_2  
+neo                       0.6.1                     <pip>
+networkx                  2.1                      py36_0  
+nibabel                   2.2.1                     <pip>
+nilearn                   0.4.1                     <pip>
+nitime                    0.7                       <pip>
+nltk                      3.2.5            py36h7532b22_0  
+nose                      1.3.7            py36hcdf7029_2  
+notebook                  5.4.0                    py36_0  
+numba                     0.36.2          np114py36hc6662d5_0  
+numexpr                   2.6.4            py36hc4a3f9a_0  
+numpy                     1.14.0           py36h3dfced4_1  
+numpydoc                  0.7.0            py36h18f165f_0  
+odo                       0.5.1            py36h90ed295_0  
+olefile                   0.45.1                   py36_0  
+openpyxl                  2.4.10                   py36_0  
+openssl                   1.0.2n               hb7f436b_0  
+packaging                 16.8             py36ha668100_1  
+pandas                    0.22.0           py36hf484d3e_0  
+pandoc                    1.19.2.1             hea2e7c5_1  
+pandocfilters             1.4.2            py36ha6701b7_1  
+pango                     1.41.0               hd475d92_0  
+parso                     0.1.1            py36h35f843b_0  
+partd                     0.3.8            py36h36fd896_0  
+patchelf                  0.9                  hf79760b_2  
+path.py                   10.5             py36h55ceabb_0  
+pathlib2                  2.3.0            py36h49efa8e_0  
+patsy                     0.5.0                    py36_0  
+pcre                      8.41                 hc27e229_1  
+pep8                      1.7.1                    py36_0  
+pexpect                   4.3.1                    py36_0  
+pickleshare               0.7.4            py36h63277f8_0  
+pillow                    5.0.0            py36h3deb7b8_0  
+pip                       9.0.1            py36h6c6f9ce_4  
+pixman                    0.34.0               hceecf20_3  
+pkginfo                   1.4.1            py36h215d178_1  
+pluggy                    0.6.0            py36hb689045_0  
+ply                       3.10             py36hed35086_0  
+prompt_toolkit            1.0.15           py36h17d85b1_0  
+psutil                    5.4.3            py36h14c3975_0  
+ptyprocess                0.5.2            py36h69acd42_0  
+py                        1.5.2            py36h29bf505_0  
+pyasn1                    0.4.2                     <pip>
+pycodestyle               2.3.1            py36hf609f19_0  
+pycosat                   0.6.3            py36h0a5515d_0  
+pycparser                 2.18             py36hf9f622e_1  
+pycrypto                  2.6.1            py36h14c3975_7  
+pycurl                    7.43.0.1         py36hb7f436b_0  
+pydocstyle                2.1.1                     <pip>
+pyface                    5.2.0.dev0.dev0           <pip>
+pyflakes                  1.6.0            py36h7bd6a15_0  
+pygments                  2.2.0            py36h0d3125c_0  
+pylint                    1.8.2                    py36_0  
+pyodbc                    4.0.22           py36hf484d3e_0  
+pyopenssl                 17.5.0           py36h20ba746_0  
+pyparsing                 2.2.0            py36hee85983_1  
+pyqt                      5.6.0            py36h0386399_5  
+pysocks                   1.6.7            py36hd97a5b1_1  
+pytables                  3.4.2            py36h3b5282a_2  
+pytest                    3.3.2                    py36_0  
+pytest-faulthandler       1.5.0                     <pip>
+pytest-sugar              0.9.1                     <pip>
+python                    3.6.4                hc3d631a_1  
+python-dateutil           2.6.1            py36h88d3b88_1  
+python-picard             0.3                       <pip>
+pytz                      2017.3           py36h63b9c63_0  
+pywavelets                0.5.2            py36he602eb0_0  
+pyyaml                    3.12             py36hafb9ca4_1  
+pyzmq                     16.0.3           py36he2533c7_0  
+qt                        5.6.2               h974d657_12  
+qtawesome                 0.4.4            py36h609ed8c_0  
+qtconsole                 4.3.1            py36h8f73b5b_0  
+qtpy                      1.3.1            py36h3691cc8_0  
+quantities                0.12.1                    <pip>
+readline                  7.0                  ha6073c6_4  
+requests                  2.18.4           py36he2e5f8d_1  
+rope                      0.10.7           py36h147e2ec_0  
+ruamel_yaml               0.15.35          py36h14c3975_1  
+scikit-image              0.13.1           py36h14c3975_1  
+scikit-learn              0.19.1           py36h7aa7ec6_0  
+scipy                     1.0.0            py36hbf646e7_0  
+seaborn                   0.8.1            py36hfad7ec4_0  
+send2trash                1.4.2                    py36_0  
+setuptools                38.4.0                   py36_0  
+simplegeneric             0.8.1                    py36_2  
+singledispatch            3.4.0.3          py36h7a266c3_0  
+sip                       4.18.1           py36h51ed4ed_2  
+six                       1.11.0           py36h372c433_1  
+snowballstemmer           1.2.1            py36h6febd40_0  
+sortedcollections         0.5.3            py36h3c761f9_0  
+sortedcontainers          1.5.9                    py36_0  
+sphinx                    1.6.6                    py36_0  
+sphinx-bootstrap-theme    0.6.4                     <pip>
+sphinxcontrib             1.0              py36h6d0f590_1  
+sphinxcontrib-websupport  1.0.1            py36hb5cb234_1  
+spyder                    3.2.6                    py36_0  
+sqlalchemy                1.2.1            py36h14c3975_0  
+sqlite                    3.22.0               h1bed415_0  
+statsmodels               0.8.0            py36h8533d0b_0  
+sympy                     1.1.1            py36hc6d1c1c_0  
+tblib                     1.3.2            py36h34cf8b6_0  
+termcolor                 1.1.0                     <pip>
+terminado                 0.8.1                    py36_1  
+testpath                  0.3.1            py36h8cadb63_0  
+tk                        8.6.7                hc745277_3  
+toolz                     0.9.0                    py36_0  
+tornado                   4.5.3                    py36_0  
+traitlets                 4.3.2            py36h674d592_0  
+traits                    4.7.0.dev0                <pip>
+traitsui                  5.2.0.dev0                <pip>
+typing                    3.6.2            py36h7da032a_0  
+unicodecsv                0.14.1           py36ha668878_0  
+unixodbc                  2.3.4                hc36303a_1  
+urllib3                   1.22             py36hbe7ace6_0  
+wcwidth                   0.1.7            py36hdf4376a_0  
+webencodings              0.5.1            py36h800622e_1  
+werkzeug                  0.14.1                   py36_0  
+wheel                     0.30.0           py36hfd4bba0_1  
+widgetsnbextension        3.1.0                    py36_0  
+wrapt                     1.10.11          py36h28b7045_0  
+xlrd                      1.1.0            py36h1db9f0c_1  
+xlsxwriter                1.0.2            py36h3de1aca_0  
+xlwt                      1.3.0            py36h7b00a1f_0  
+xz                        5.2.3                h55aa19d_2  
+yaml                      0.1.7                had09818_2  
+zeromq                    4.2.2                hbedb6e5_2  
+zict                      0.1.3            py36h3a3bf81_0  
+zlib                      1.2.11               ha838bed_2  
diff --git a/smoke_test/output_dir/cuda/10.1 b/smoke_test/output_dir/cuda/10.1
index 8b137891..4190107f 100644
--- a/smoke_test/output_dir/cuda/10.1
+++ b/smoke_test/output_dir/cuda/10.1
@@ -1 +1,17 @@
+nvcc: NVIDIA (R) Cuda compiler driver
+Copyright (c) 2005-2019 NVIDIA Corporation
+Built on Fri_Feb__8_19:08:17_PST_2019
+Cuda compilation tools, release 10.1, V10.1.105
+deviceQuery Starting...
 
+ CUDA Device Query (Runtime API) version (CUDART static linking)
+
+cudaGetDeviceCount returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
+Result = FAIL
+CUDA error at bandwidthTest.cu:242 code=35(cudaErrorInsufficientDriver) "cudaSetDevice(currentDevice)" 
+[CUDA Bandwidth Test] - Starting...
+Running on...
+
+cudaGetDeviceProperties returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
diff --git a/smoke_test/output_dir/cuda/7.5 b/smoke_test/output_dir/cuda/7.5
index 8b137891..91d5b8d8 100644
--- a/smoke_test/output_dir/cuda/7.5
+++ b/smoke_test/output_dir/cuda/7.5
@@ -1 +1,17 @@
+nvcc: NVIDIA (R) Cuda compiler driver
+Copyright (c) 2005-2015 NVIDIA Corporation
+Built on Tue_Aug_11_14:27:32_CDT_2015
+Cuda compilation tools, release 7.5, V7.5.17
+deviceQuery Starting...
 
+ CUDA Device Query (Runtime API) version (CUDART static linking)
+
+cudaGetDeviceCount returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
+Result = FAIL
+CUDA error at bandwidthTest.cu:255 code=35(cudaErrorInsufficientDriver) "cudaSetDevice(currentDevice)" 
+[CUDA Bandwidth Test] - Starting...
+Running on...
+
+cudaGetDeviceProperties returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
diff --git a/smoke_test/output_dir/cuda/8.0.61 b/smoke_test/output_dir/cuda/8.0.61
index 8b137891..e8af4035 100644
--- a/smoke_test/output_dir/cuda/8.0.61
+++ b/smoke_test/output_dir/cuda/8.0.61
@@ -1 +1,17 @@
+nvcc: NVIDIA (R) Cuda compiler driver
+Copyright (c) 2005-2016 NVIDIA Corporation
+Built on Tue_Jan_10_13:22:03_CST_2017
+Cuda compilation tools, release 8.0, V8.0.61
+deviceQuery Starting...
 
+ CUDA Device Query (Runtime API) version (CUDART static linking)
+
+cudaGetDeviceCount returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
+Result = FAIL
+CUDA error at bandwidthTest.cu:242 code=35(cudaErrorInsufficientDriver) "cudaSetDevice(currentDevice)" 
+[CUDA Bandwidth Test] - Starting...
+Running on...
+
+cudaGetDeviceProperties returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
diff --git a/smoke_test/output_dir/cuda/9.1 b/smoke_test/output_dir/cuda/9.1
index 8b137891..92a5ddaa 100644
--- a/smoke_test/output_dir/cuda/9.1
+++ b/smoke_test/output_dir/cuda/9.1
@@ -1 +1,12 @@
+nvcc: NVIDIA (R) Cuda compiler driver
+Copyright (c) 2005-2017 NVIDIA Corporation
+Built on Fri_Nov__3_21:07:56_CDT_2017
+Cuda compilation tools, release 9.1, V9.1.85
+deviceQuery Starting...
 
+ CUDA Device Query (Runtime API) version (CUDART static linking)
+
+cudaGetDeviceCount returned 35
+-> CUDA driver version is insufficient for CUDA runtime version
+Result = FAIL
+./tests/cuda/bashcmd: line 4: bandwidthTest: command not found
diff --git a/smoke_test/output_dir/fftw/3.3.4-gcc b/smoke_test/output_dir/fftw/3.3.4-gcc
index 8b137891..e51f1a9e 100644
--- a/smoke_test/output_dir/fftw/3.3.4-gcc
+++ b/smoke_test/output_dir/fftw/3.3.4-gcc
@@ -1 +1,3 @@
-
+gcc: error: fftw_example.c: No such file or directory
+./tests/fftw/bashcmd: line 3: ./fftw_example: No such file or directory
+rm: cannot remove ‘fftw_example’: No such file or directory
diff --git a/smoke_test/output_dir/fftw/3.3.5-gcc b/smoke_test/output_dir/fftw/3.3.5-gcc
index 8b137891..e51f1a9e 100644
--- a/smoke_test/output_dir/fftw/3.3.5-gcc
+++ b/smoke_test/output_dir/fftw/3.3.5-gcc
@@ -1 +1,3 @@
-
+gcc: error: fftw_example.c: No such file or directory
+./tests/fftw/bashcmd: line 3: ./fftw_example: No such file or directory
+rm: cannot remove ‘fftw_example’: No such file or directory
diff --git a/smoke_test/output_dir/fftw/3.3.5-gcc5 b/smoke_test/output_dir/fftw/3.3.5-gcc5
index 8b137891..e51f1a9e 100644
--- a/smoke_test/output_dir/fftw/3.3.5-gcc5
+++ b/smoke_test/output_dir/fftw/3.3.5-gcc5
@@ -1 +1,3 @@
-
+gcc: error: fftw_example.c: No such file or directory
+./tests/fftw/bashcmd: line 3: ./fftw_example: No such file or directory
+rm: cannot remove ‘fftw_example’: No such file or directory
diff --git a/smoke_test/output_dir/gmp/6.1.2 b/smoke_test/output_dir/gmp/6.1.2
index 8b137891..7475f9f9 100644
--- a/smoke_test/output_dir/gmp/6.1.2
+++ b/smoke_test/output_dir/gmp/6.1.2
@@ -1 +1,3 @@
-
+gcc: error: fact.c: No such file or directory
+./tests/gmp/bashcmd: line 3: ./fact: No such file or directory
+rm: cannot remove ‘fact’: No such file or directory
diff --git a/smoke_test/output_dir/hdf5/1.10.0-patch1 b/smoke_test/output_dir/hdf5/1.10.0-patch1
index d2a87150..b70a9c5b 100644
--- a/smoke_test/output_dir/hdf5/1.10.0-patch1
+++ b/smoke_test/output_dir/hdf5/1.10.0-patch1
@@ -1,24 +1,24 @@
-Usage: h5stat [OPTIONS] file
+--2020-07-27 15:11:14--  https://support.hdfgroup.org/ftp/HDF5/examples/examples-by-api/hdf5-examples.tar.gz
+Resolving support.hdfgroup.org (support.hdfgroup.org)... 50.28.50.143
+Connecting to support.hdfgroup.org (support.hdfgroup.org)|50.28.50.143|:443... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: 606535 (592K) [application/x-gzip]
+Saving to: ‘hdf5-examples.tar.gz’
 
-      OPTIONS
-     -h, --help            Print a usage message and exit
-     -V, --version         Print version number and exit
-     -f, --file            Print file information
-     -F, --filemetadata    Print file space information for file's metadata
-     -g, --group           Print group information
-     -l N, --links=N       Set the threshold for the # of links when printing
-                           information for small groups.  N is an integer greater
-                           than 0.  The default threshold is 10.
-     -G, --groupmetadata   Print file space information for groups' metadata
-     -d, --dset            Print dataset information
-     -m N, --dims=N        Set the threshold for the dimension sizes when printing
-                           information for small datasets.  N is an integer greater
-                           than 0.  The default threshold is 10.
-     -D, --dsetmetadata    Print file space information for datasets' metadata
-     -T, --dtypemetadata   Print datasets' datatype information
-     -A, --attribute       Print attribute information
-     -a N, --numattrs=N    Set the threshold for the # of attributes when printing
-                           information for small # of attributes.  N is an integer greater
-                           than 0.  The default threshold is 10.
-     -s, --freespace       Print free space information
-     -S, --summary         Print summary of file space information
+     0K .......... .......... .......... .......... ..........  8%  111K 5s
+    50K .......... .......... .......... .......... .......... 16%  111K 4s
+   100K .......... .......... .......... .......... .......... 25% 20.5M 3s
+   150K .......... .......... .......... .......... .......... 33%  221K 2s
+   200K .......... .......... .......... .......... .......... 42%  222K 2s
+   250K .......... .......... .......... .......... .......... 50%  222K 2s
+   300K .......... .......... .......... .......... .......... 59% 14.8M 1s
+   350K .......... .......... .......... .......... .......... 67%  222K 1s
+   400K .......... .......... .......... .......... .......... 75%  221K 1s
+   450K .......... .......... .......... .......... .......... 84%  222K 0s
+   500K .......... .......... .......... .......... .......... 92%  222K 0s
+   550K .......... .......... .......... .......... ..        100% 16.0M=2.5s
+
+2020-07-27 15:11:18 (238 KB/s) - ‘hdf5-examples.tar.gz’ saved [606535/606535]
+
+rm: cannot remove ‘hdf5-examples’: No such file or directory
+rm: cannot remove ‘hdf5-examples.tar.gz’: No such file or directory
diff --git a/smoke_test/output_dir/mpfr/3.1.5 b/smoke_test/output_dir/mpfr/3.1.5
index 8b137891..3aafb24a 100644
--- a/smoke_test/output_dir/mpfr/3.1.5
+++ b/smoke_test/output_dir/mpfr/3.1.5
@@ -1 +1,3 @@
-
+gcc: error: sample.c: No such file or directory
+./tests/mpfr/bashcmd: line 3: ./sample: No such file or directory
+rm: cannot remove ‘sample’: No such file or directory
diff --git a/smoke_test/output_dir/openblas/0.2.20 b/smoke_test/output_dir/openblas/0.2.20
index 8b137891..c78d2314 100644
--- a/smoke_test/output_dir/openblas/0.2.20
+++ b/smoke_test/output_dir/openblas/0.2.20
@@ -1 +1,6 @@
-
+gcc: error: test_cblas_dgemm.c: No such file or directory
+./tests/openblas/bashcmd: line 4: ./test_cblas_open: No such file or directory
+rm: cannot remove ‘test_cblas_open’: No such file or directory
+gcc: error: time_dgemm.c: No such file or directory
+./tests/openblas/bashcmd: line 7: ./time_dgemm: No such file or directory
+rm: cannot remove ‘time_dgemm’: No such file or directory
diff --git a/smoke_test/output_dir/openmpi/1.10.3-gcc4-mlx-verbs b/smoke_test/output_dir/openmpi/1.10.3-gcc4-mlx-verbs
index 24d134a7..e69de29b 100644
--- a/smoke_test/output_dir/openmpi/1.10.3-gcc4-mlx-verbs
+++ b/smoke_test/output_dir/openmpi/1.10.3-gcc4-mlx-verbs
@@ -1,12 +0,0 @@
-gcc (GCC) 4.9.3
-Copyright (C) 2015 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-mpirun (Open MPI) 1.10.3
-
-Report bugs to http://www.open-mpi.org/community/help/
-m3-login2
-m3-login2
-m3-login2
-m3-login2
diff --git a/smoke_test/output_dir/openmpi/1.10.7-mlx b/smoke_test/output_dir/openmpi/1.10.7-mlx
index d5146cdd..e69de29b 100644
--- a/smoke_test/output_dir/openmpi/1.10.7-mlx
+++ b/smoke_test/output_dir/openmpi/1.10.7-mlx
@@ -1,12 +0,0 @@
-gcc (GCC) 5.4.0
-Copyright (C) 2015 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-mpirun (Open MPI) 1.10.7
-
-Report bugs to http://www.open-mpi.org/community/help/
-m3-login2
-m3-login2
-m3-login2
-m3-login2
diff --git a/smoke_test/output_dir/report.txt b/smoke_test/output_dir/report.txt
index c6d76d8a..d8ee5d3c 100644
--- a/smoke_test/output_dir/report.txt
+++ b/smoke_test/output_dir/report.txt
@@ -2,8 +2,20 @@
 libjpeg-turbo 1.4.2 return non-zero exitcode 1 for testcase ./tests/libjpeg-turbo/bashcmd
 virtualgl 2.5.0 return non-zero exitcode 1 for testcase ./tests/virtualgl/bashcmd
 tigervnc 1.8.0 return non-zero exitcode 1 for testcase ./tests/tigervnc/bashcmd
+openblas 0.2.20 return non-zero exitcode 1 for testcase ./tests/openblas/bashcmd
+fftw 3.3.5-gcc5 return non-zero exitcode 1 for testcase ./tests/fftw/bashcmd
+hdf5 1.10.0-patch1 return non-zero exitcode 1 for testcase ./tests/hdf5/bashcmd
+singularity 3.2.1 return non-zero exitcode 124 for testcase ./tests/singularity/bashcmd
+fftw 3.3.4-gcc return non-zero exitcode 1 for testcase ./tests/fftw/bashcmd
+fftw 3.3.5-gcc return non-zero exitcode 1 for testcase ./tests/fftw/bashcmd
+cuda 7.5 return non-zero exitcode 1 for testcase ./tests/cuda/bashcmd
+mpfr 3.1.5 return non-zero exitcode 1 for testcase ./tests/mpfr/bashcmd
+gmp 6.1.2 return non-zero exitcode 1 for testcase ./tests/gmp/bashcmd
+cuda 10.1 return non-zero exitcode 1 for testcase ./tests/cuda/bashcmd
+cuda 8.0.61 return non-zero exitcode 1 for testcase ./tests/cuda/bashcmd
+cuda 9.1 return non-zero exitcode 127 for testcase ./tests/cuda/bashcmd
 Summary
-Failed: 3
-Success 10
+Failed: 15
+Success 7
 No tests found: 0
 Failing because not enough tests succeeded
diff --git a/smoke_test/output_dir/samtools/1.7 b/smoke_test/output_dir/samtools/1.7
index 4af24076..8b137891 100644
--- a/smoke_test/output_dir/samtools/1.7
+++ b/smoke_test/output_dir/samtools/1.7
@@ -1,3 +1 @@
-samtools 1.7
-Using htslib 1.7
-Copyright (C) 2018 Genome Research Ltd.
+
diff --git a/smoke_test/output_dir/samtools/1.9 b/smoke_test/output_dir/samtools/1.9
index af491467..8b137891 100644
--- a/smoke_test/output_dir/samtools/1.9
+++ b/smoke_test/output_dir/samtools/1.9
@@ -1,3 +1 @@
-samtools 1.9-24-gff68e70
-Using htslib 1.9-20-ge1650a9
-Copyright (C) 2018 Genome Research Ltd.
+
diff --git a/smoke_test/output_dir/samtools/1.9-gcc5 b/smoke_test/output_dir/samtools/1.9-gcc5
index af491467..8b137891 100644
--- a/smoke_test/output_dir/samtools/1.9-gcc5
+++ b/smoke_test/output_dir/samtools/1.9-gcc5
@@ -1,3 +1 @@
-samtools 1.9-24-gff68e70
-Using htslib 1.9-20-ge1650a9
-Copyright (C) 2018 Genome Research Ltd.
+
diff --git a/smoke_test/output_dir/singularity/3.2.1 b/smoke_test/output_dir/singularity/3.2.1
index 5d79d2f4..f7a548a1 100644
--- a/smoke_test/output_dir/singularity/3.2.1
+++ b/smoke_test/output_dir/singularity/3.2.1
@@ -1 +1,2 @@
-singularity version 3.2.1
+INFO:    Starting build...
+
 0 B / 59.75 MiB [--------------------------------------------------------------------------------------------------------------------]   0.00%
 4.00 MiB / 59.75 MiB [======>-------------------------------------------------------------------------------------]   6.69% 19.98 MiB/s 00m02s
 8.45 MiB / 59.75 MiB [=============>------------------------------------------------------------------------------]  14.14% 21.10 MiB/s 00m02s
 8.45 MiB / 59.75 MiB [=============>------------------------------------------------------------------------------]  14.14% 14.07 MiB/s 00m02s
 12.39 MiB / 59.75 MiB [==================>------------------------------------------------------------------------]  20.73% 15.47 MiB/s 00m03s
 16.00 MiB / 59.75 MiB [========================>------------------------------------------------------------------]  26.78% 15.99 MiB/s 00m02s
 16.00 MiB / 59.75 MiB [========================>------------------------------------------------------------------]  26.78% 13.32 MiB/s 00m02s
 24.00 MiB / 59.75 MiB [====================================>------------------------------------------------------]  40.17% 17.13 MiB/s 00m02s
 24.00 MiB / 59.75 MiB [====================================>------------------------------------------------------]  40.17% 14.99 MiB/s 00m01s
 24.00 MiB / 59.75 MiB [====================================>------------------------------------------------------]  40.17% 13.32 MiB/s 00m01s
 32.00 MiB / 59.75 MiB [================================================>------------------------------------------]  53.56% 15.99 MiB/s 00m01s
 32.00 MiB / 59.75 MiB [================================================>------------------------------------------]  53.56% 14.54 MiB/s 00m01s
 40.00 MiB / 59.75 MiB [============================================================>------------------------------]  66.95% 16.66 MiB/s 00m01s
 40.00 MiB / 59.75 MiB [=================================================================>--------------------------------]  66.95% 15.37 MiB/s
 48.06 MiB / 59.75 MiB [==============================================================================>-------------------]  80.44% 17.15 MiB/s
 56.00 MiB / 59.75 MiB [===========================================================================================>------]  93.72% 18.65 MiB/s
 59.75 MiB / 59.75 MiB [===============================================================================================] 100.00% 19.03 MiB/s 3s
diff --git a/smoke_test/smoke_test b/smoke_test/smoke_test
index d0f1ce4a..be4a92ff 100755
--- a/smoke_test/smoke_test
+++ b/smoke_test/smoke_test
@@ -45,11 +45,8 @@ for i in $(head -n $NUM_MODULE $USAGE_REPORT); do
         ALL_EXEC=$(ls -X $TESTCASE_DIR/$name)
         for i in ${ALL_EXEC}; do
             t_case=$TESTCASE_DIR/$name/$i 
-            if [ $i ==  'bintest' ];then
-                t_case="$t_case $ver"
-                if ! $BINTEST;then break;fi
-            fi
-            timeout $TIMELIMIT $t_case  &> $OUTPUT_DIR/$name/$ver 
+            if [ $i ==  'bintest' ] && ! $BINTEST;then break;fi
+            timeout $TIMELIMIT $t_case $ver &> $OUTPUT_DIR/$name/$ver 
             exitcode=$?
             if [ $exitcode -ne 0 ]; then
                 echo "$m return non-zero exitcode $exitcode for testcase $t_case" 2>&1 | tee -a $REPORT
diff --git a/smoke_test/tests/anaconda/bintest b/smoke_test/tests/anaconda/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/anaconda/bintest
+++ b/smoke_test/tests/anaconda/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/atlas/bintest b/smoke_test/tests/atlas/bintest
new file mode 100755
index 00000000..81408160
--- /dev/null
+++ b/smoke_test/tests/atlas/bintest
@@ -0,0 +1,11 @@
+#!/bin/bash
+name=$( realpath $0 | xargs dirname | xargs basename )
+ver=${1:-"default"}
+bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
+
diff --git a/smoke_test/tests/bedtools/bintest b/smoke_test/tests/bedtools/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/bedtools/bintest
+++ b/smoke_test/tests/bedtools/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/bintest b/smoke_test/tests/bintest
index 7922a676..81408160 100644
--- a/smoke_test/tests/bintest
+++ b/smoke_test/tests/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/bismark/bintest b/smoke_test/tests/bismark/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/bismark/bintest
+++ b/smoke_test/tests/bismark/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/bowtie2/bintest b/smoke_test/tests/bowtie2/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/bowtie2/bintest
+++ b/smoke_test/tests/bowtie2/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/cuda/bintest b/smoke_test/tests/cuda/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/cuda/bintest
+++ b/smoke_test/tests/cuda/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/cutadapt/bintest b/smoke_test/tests/cutadapt/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/cutadapt/bintest
+++ b/smoke_test/tests/cutadapt/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/deeptools/bintest b/smoke_test/tests/deeptools/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/deeptools/bintest
+++ b/smoke_test/tests/deeptools/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/deeptools/pythoncmd b/smoke_test/tests/deeptools/pythoncmd
new file mode 100755
index 00000000..3afe93a3
--- /dev/null
+++ b/smoke_test/tests/deeptools/pythoncmd
@@ -0,0 +1,3 @@
+#!/usr/bin/env python3
+import deeptools
+print(f'deeptools spec: {deeptools.__spec__}')
diff --git a/smoke_test/tests/fastqc/bintest b/smoke_test/tests/fastqc/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/fastqc/bintest
+++ b/smoke_test/tests/fastqc/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/fftw/bashcmd b/smoke_test/tests/fftw/bashcmd
new file mode 100755
index 00000000..4f5e3f24
--- /dev/null
+++ b/smoke_test/tests/fftw/bashcmd
@@ -0,0 +1,4 @@
+#!/bin/bash
+gcc fftw_example.c -o fftw_example $CPPFLAGS $LDFLAGS -lfftw3 -lm
+./fftw_example
+rm fftw_example
diff --git a/smoke_test/tests/fftw/bintest b/smoke_test/tests/fftw/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/fftw/bintest
+++ b/smoke_test/tests/fftw/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/fftw/fftw_example.c b/smoke_test/tests/fftw/fftw_example.c
new file mode 100644
index 00000000..fcf9e2d0
--- /dev/null
+++ b/smoke_test/tests/fftw/fftw_example.c
@@ -0,0 +1,64 @@
+  
+/* Start reading here */
+
+#include <fftw3.h>
+
+#define NUM_POINTS 64
+
+
+/* Never mind this bit */
+
+#include <stdio.h>
+#include <math.h>
+
+#define REAL 0
+#define IMAG 1
+
+void acquire_from_somewhere(fftw_complex* signal) {
+    /* Generate two sine waves of different frequencies and
+     * amplitudes.
+     */
+
+    int i;
+    for (i = 0; i < NUM_POINTS; ++i) {
+        double theta = (double)i / (double)NUM_POINTS * M_PI;
+
+        signal[i][REAL] = 1.0 * cos(10.0 * theta) +
+                          0.5 * cos(25.0 * theta);
+
+        signal[i][IMAG] = 1.0 * sin(10.0 * theta) +
+                          0.5 * sin(25.0 * theta);
+    }
+}
+
+void do_something_with(fftw_complex* result) {
+    int i;
+    for (i = 0; i < NUM_POINTS; ++i) {
+        double mag = sqrt(result[i][REAL] * result[i][REAL] +
+                          result[i][IMAG] * result[i][IMAG]);
+
+        printf("%g\n", mag);
+    }
+}
+
+
+/* Resume reading here */
+
+int main() {
+    fftw_complex signal[NUM_POINTS];
+    fftw_complex result[NUM_POINTS];
+
+    fftw_plan plan = fftw_plan_dft_1d(NUM_POINTS,
+                                      signal,
+                                      result,
+                                      FFTW_FORWARD,
+                                      FFTW_ESTIMATE);
+
+    acquire_from_somewhere(signal);
+    fftw_execute(plan);
+    do_something_with(result);
+
+    fftw_destroy_plan(plan);
+
+    return 0;
+}
diff --git a/smoke_test/tests/fsl/bintest b/smoke_test/tests/fsl/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/fsl/bintest
+++ b/smoke_test/tests/fsl/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/gcc/bintest b/smoke_test/tests/gcc/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/gcc/bintest
+++ b/smoke_test/tests/gcc/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/geos/bintest b/smoke_test/tests/geos/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/geos/bintest
+++ b/smoke_test/tests/geos/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/gmp/bashcmd b/smoke_test/tests/gmp/bashcmd
new file mode 100755
index 00000000..bdff5e4b
--- /dev/null
+++ b/smoke_test/tests/gmp/bashcmd
@@ -0,0 +1,4 @@
+#!/bin/bash
+gcc fact.c -o fact $CPPFLAGS $LDFLAGS -lgmp
+./fact 20
+rm fact
diff --git a/smoke_test/tests/gmp/bintest b/smoke_test/tests/gmp/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/gmp/bintest
+++ b/smoke_test/tests/gmp/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/gmp/fact b/smoke_test/tests/gmp/fact
new file mode 100755
index 0000000000000000000000000000000000000000..5528dfa40fd593b2a929e04b4c99ee7fefa3dbce
GIT binary patch
literal 8776
zcmeHMZ){uD6~DHdKc&=3OJOO{_HB@<MT&9LCJNBPa}u{NRr-fCWo1yF-PlRY5<9b>
zp@kJ9rDd~9A)EH0nx?H23{6u%RQrGeNHkrxX4TkK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gmp/fact.c
@@ -0,0 +1,37 @@
+
+#include "gmp.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+
+void fact(int n){
+  int i;
+  mpz_t p;
+
+  mpz_init_set_ui(p,1); /* p = 1 */
+  for (i=1; i <= n ; ++i){
+    mpz_mul_ui(p,p,i); /* p = p * i */
+  }
+  printf ("%d!  =  ", n);
+  mpz_out_str(stdout,10,p);
+  mpz_clear(p);
+
+}
+
+int main(int argc, char * argv[]){
+  int n;
+
+
+  if (argc <= 1){
+    printf ("Usage: %s <number> \n", argv[0]);
+    return 2;
+  }
+
+  n = atoi(argv[1]);
+  assert( n >= 0);
+  fact(n);
+
+
+  return 1;
+}
+
diff --git a/smoke_test/tests/gsl/bintest b/smoke_test/tests/gsl/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/gsl/bintest
+++ b/smoke_test/tests/gsl/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/hdf5/bashcmd b/smoke_test/tests/hdf5/bashcmd
index 4ea8fa90..a374504c 100755
--- a/smoke_test/tests/hdf5/bashcmd
+++ b/smoke_test/tests/hdf5/bashcmd
@@ -1,2 +1,8 @@
 #!/bin/bash
-h5stat --help
+#[ -f hdf5-examples.tar.gz ] || wget https://support.hdfgroup.org/ftp/HDF5/examples/examples-by-api/hdf5-examples.tar.gz
+#[ -d hdf5-examples ] || tar -xf hdf5-examples.tar.gz
+#cd hdf5-examples/
+#
+#
+#
+#rm -r hdf5-examples hdf5-examples.tar.gz
diff --git a/smoke_test/tests/hdf5/bintest b/smoke_test/tests/hdf5/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/hdf5/bintest
+++ b/smoke_test/tests/hdf5/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/htseq/bintest b/smoke_test/tests/htseq/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/htseq/bintest
+++ b/smoke_test/tests/htseq/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/htslib/bintest b/smoke_test/tests/htslib/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/htslib/bintest
+++ b/smoke_test/tests/htslib/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/java/bintest b/smoke_test/tests/java/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/java/bintest
+++ b/smoke_test/tests/java/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/lapack/bintest b/smoke_test/tests/lapack/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/lapack/bintest
+++ b/smoke_test/tests/lapack/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/libjpeg-turbo/bintest b/smoke_test/tests/libjpeg-turbo/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/libjpeg-turbo/bintest
+++ b/smoke_test/tests/libjpeg-turbo/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/libtiff/bintest b/smoke_test/tests/libtiff/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/libtiff/bintest
+++ b/smoke_test/tests/libtiff/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/mpfr/bashcmd b/smoke_test/tests/mpfr/bashcmd
index 1146b394..603c30e2 100755
--- a/smoke_test/tests/mpfr/bashcmd
+++ b/smoke_test/tests/mpfr/bashcmd
@@ -1,3 +1,4 @@
 #!/bin/bash
 gcc sample.c $CPPFLAGS $LDFLAGS -lmpfr -o sample
 ./sample
+rm sample
diff --git a/smoke_test/tests/mpfr/bintest b/smoke_test/tests/mpfr/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/mpfr/bintest
+++ b/smoke_test/tests/mpfr/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/openblas/bashcmd b/smoke_test/tests/openblas/bashcmd
index 293bd8bb..72eef8d7 100755
--- a/smoke_test/tests/openblas/bashcmd
+++ b/smoke_test/tests/openblas/bashcmd
@@ -2,5 +2,7 @@
 #https://github.com/xianyi/OpenBLAS/wiki/User-Manual#code-examples
 gcc test_cblas_dgemm.c -o test_cblas_open $CPPFLAGS $LDFLAGS -lopenblas
 ./test_cblas_open
+rm test_cblas_open
 gcc -o time_dgemm time_dgemm.c $CPPFLAGS $LDFLAGS -lopenblas
 ./time_dgemm 10 10 10
+rm time_dgemm
diff --git a/smoke_test/tests/openblas/bintest b/smoke_test/tests/openblas/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/openblas/bintest
+++ b/smoke_test/tests/openblas/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/openblas/test_cblas_open b/smoke_test/tests/openblas/test_cblas_open
deleted file mode 100755
index 7305b33eaf15df6cb35181ced576fd5d6011e09b..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 8552
zcmeHMeQZ<L6~DIgVZIzgp$*VA-WIe_DJFbn?h4~MiNi}5J{AJ&#KMb-oy4tUr}lFR
zUE5^~AS{|Tnl>r_Y(?6pF>RXIUkj*OLc^eJ(w4F!A#IZ~Hn#9lH7yK9D#bhJzH{v7
zXCo?2llBKU@;mqZ?)jbj`R=>-<XeH(X1mQMIN8OQ1!^OuiiC`(5GR&Pl`x-}Clpa7
zo)Be#l)_JuB`A#?%Q<q*(n)p>kR|Z**$u#FS7e6e;|45Patl#neYvDi){xQphRRY1
zj|7m1Z51x5g6uRhBsWnz6q3wC6?v7!t0a4t)6_7Q+&}Ca{@Tf3yIlbdbp?fJlFyt(
zTTDBz>LJW4^P~z=kr|d73|O#a-dBMq`$y#u5^geRqx$YQE`rB{Bz0G;iAMI<Z&(uz
z)kY(+)IjZkufDc^gEtxXu9N*n|7g2)`)*kikD~`PZ1Yn1;Tpj5Rd2mD@aF8z7xXWN
zuB_L7`JDddg+F2$_J`-~=!C~6N|bqs;TYpIpZ@!IUv3Osx_SA9XCFT`{Gsc{pFZH(
zh0^@=6;PMtLsCP`Qv`1WteAb<eef^b2R{I~TdWX@yAyJ`6oRZ<EEk(B`12B9QGl-p
ze2G{f-1J_ur_V~fLM)|q!nlC>iT8(N`=h}m&Ptuow4T0rOiSv)gsy2q>yE@Cq6^El
zP*1q8PiO$>$m>Evz35NrUA@7C=ubpqdN=T~i1>ZMNK9zqP*4v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sRHAElJjik{|CRG=34*&

diff --git a/smoke_test/tests/openblas/timeDGEMM.txt b/smoke_test/tests/openblas/timeDGEMM.txt
index 10949200..89632c32 100644
--- a/smoke_test/tests/openblas/timeDGEMM.txt
+++ b/smoke_test/tests/openblas/timeDGEMM.txt
@@ -1 +1,2 @@
 10x10x10	0.000032 s	62.500000 MFLOPS
+10x10x10	0.000041 s	48.780488 MFLOPS
diff --git a/smoke_test/tests/openblas/time_dgemm b/smoke_test/tests/openblas/time_dgemm
deleted file mode 100755
index 5e418b628aa1d9fde4f8dac887d1780bc3422fa8..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 13080
zcmeHNeQZ<L6~DHDgaWpqVGXn+Z!Ktn5feU@uA{Y+Jb0-R$RMH64vZ7qiB~7i?B_PL
zux1M|T+eOPZ58S?iEUa%w@G6(Z8OB0glr`3Rw?b&4y~(}vVt5aDx{QV9c^~befQYU
zFZMch+8>j0llRU&zjMz0IPc!;ci%ma$kiLnCKID%W_L2=?D<X(X?Mo9e~GgKD`PX6
zlNGT=Yz83H;c{{bQY}YxTog?-U+7tYPJ^q=tN~?aC(jVQMS~epY9UgrFP)qstI<lE
z#u8;r;sDxVTcOEXTC_WZ?icMiBq-S-i*|*=u29$!9T5#9O8vvW;Z-Nft1~-+L*9vm
zRq}h9qAsS|bE+5fg;vf2b@B|+H5$x_lHFIqj`vT<KaJRh!WL0qF26AHhoGXnY(+58
zux`zYptmF#XpOd)w3n?bS+~X!2{~5req;HlyKz%JuZjF90f%iafD6X}%FjCH-#_rg
z`H6wck3JWvIQ>@O-dP`^3?C&uw?loBiA{6PL~JfxH^Oz|?@#QlkY9iI%r~~*@|(mJ
z>%~94C%gtiLy7`F&wwF|ST=kC;1XQMbT<Im^c!;E_vOGVbKrY(;E(0NLpks}bKrG3
za5V?MIS2kU;C8l<9g=oKE}gyySvy<6_8ai0IKFTa?f`rqo5fh36LRTP4B2@w0@OLq
zG>ADEccC_4YeUcz!O>RAyiLBA7B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a#s

diff --git a/smoke_test/tests/openmpi/bashcmd b/smoke_test/tests/openmpi/bashcmd
index 0abf5162..a9bf588e 100755
--- a/smoke_test/tests/openmpi/bashcmd
+++ b/smoke_test/tests/openmpi/bashcmd
@@ -1,4 +1 @@
 #!/bin/bash
-mpicc --version
-mpirun --version
-mpirun -np 4 hostname
diff --git a/smoke_test/tests/openmpi/bintest b/smoke_test/tests/openmpi/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/openmpi/bintest
+++ b/smoke_test/tests/openmpi/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/picard/bintest b/smoke_test/tests/picard/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/picard/bintest
+++ b/smoke_test/tests/picard/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/python/bintest b/smoke_test/tests/python/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/python/bintest
+++ b/smoke_test/tests/python/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/samtools/bashcmd b/smoke_test/tests/samtools/bashcmd
deleted file mode 100755
index 58621d8f..00000000
--- a/smoke_test/tests/samtools/bashcmd
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-samtools --version
diff --git a/smoke_test/tests/samtools/bintest b/smoke_test/tests/samtools/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/samtools/bintest
+++ b/smoke_test/tests/samtools/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/singularity/bashcmd b/smoke_test/tests/singularity/bashcmd
index e9b36418..7204cde9 100755
--- a/smoke_test/tests/singularity/bashcmd
+++ b/smoke_test/tests/singularity/bashcmd
@@ -1,2 +1,4 @@
 #!/bin/bash
-singularity --version
+singularity build hello.sif shub://vsoch/hello-world
+singularity exec hello.sif ls /
+rm hello.sif
diff --git a/smoke_test/tests/singularity/bintest b/smoke_test/tests/singularity/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/singularity/bintest
+++ b/smoke_test/tests/singularity/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/tigervnc/bintest b/smoke_test/tests/tigervnc/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/tigervnc/bintest
+++ b/smoke_test/tests/tigervnc/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/virtualgl/bintest b/smoke_test/tests/virtualgl/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/virtualgl/bintest
+++ b/smoke_test/tests/virtualgl/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/tests/wxwidgets/bintest b/smoke_test/tests/wxwidgets/bintest
index 7922a676..81408160 100755
--- a/smoke_test/tests/wxwidgets/bintest
+++ b/smoke_test/tests/wxwidgets/bintest
@@ -2,9 +2,10 @@
 name=$( realpath $0 | xargs dirname | xargs basename )
 ver=${1:-"default"}
 bin_dirs=$(module show $name/$ver 2>&1 | sed -n "s/.* PATH \(.*\)/\1/p")
-for bin in $bin_dirs; do
-    for i in $(ls -X $bin); do
-        $i --version
-    done
-done
+$name --version
+#for bin in $bin_dirs; do
+#    for i in $(ls -X $bin); do
+#        $i --version
+#    done
+#done
 
diff --git a/smoke_test/usage_stat b/smoke_test/usage_stat
new file mode 100755
index 00000000..09ed1fb3
--- /dev/null
+++ b/smoke_test/usage_stat
@@ -0,0 +1,21 @@
+#!/bin/bash
+name=$1
+ver=$2
+mtime=${3:-180}
+
+#MODULE_LOGGING_PATH=/projects/pMOSP/module_logging
+MODULE_LOGGING_PATH=/home/luhanc/module_logging
+declare -A usage
+while read i;do 
+    if [ -f $i ] && grep -q $name/$ver $i; then 
+        username=$(dirname $i | xargs basename)
+        if [ ${usage[$username]+_} ]; then
+            usage[$username]=$((usage[$username]+1))
+        else
+            usage[$username]=1
+        fi
+    fi
+done  < <(find $MODULE_LOGGING_PATH -mtime -$mtime)
+declare -i total=0
+for K in "${!usage[@]}"; do echo $K --- ${usage[$K]};total+=${usage[$K]}; done
+echo "Total $total use in past $mtime days"
-- 
GitLab