Bright-Computing / bic

Bright-Illumina collaboration
GNU General Public License v2.0
4 stars 5 forks source link

Validate Bright+EB+Lmod against Bright/7.0 + SGE 2011.11p1 (rhel6,7) #9

Closed fgeorgatos closed 7 years ago

fgeorgatos commented 8 years ago

this is mine :-)

fgeorgatos commented 8 years ago

waiting for Lmod in a repo to do this...

fgeorgatos commented 8 years ago

avail here: http://support.brightcomputing.com/illumina-lmod/7.0/rhel/6/Lmod-6.4.2-30_462440c_cm7.0_el6.noarch.rpm and http://support.brightcomputing.com/illumina-lmod/7.0/rhel/7/Lmod-6.4.2-30_462440c_cm7.0_el7.noarch.rpm

fgeorgatos commented 8 years ago

unvalidated:

[hive@node001 ~]$ cat /tmp/hello.sh
#!/bin/bash
echo Hello World
[hive@node001 ~]$ bash -fx /tmp/hello.sh 2>&1|head
+ [[ fhB != fhxB ]]
+ echo 'Start of Lmod init/bash script to define the module command'
Start of Lmod init/bash script to define the module command
+ LMOD_PKG=/usr/share/lmod/lmod
+ LMOD_DIR=/usr/share/lmod/lmod/libexec
+ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
+ MODULESHOME=/usr/share/lmod/lmod
+ export LMOD_PKG
+ export LMOD_CMD
+ export LMOD_DIR
[hive@node001 ~]$ ml --gitversion
git-2e415be
[hive@node001 ~]$
fgeorgatos commented 7 years ago

OK, not too bad; there's just a pending issue with --gitversion, as regards 7.x build (git hash missing):

[fgeorgatos@demo2 ~]$ cat >/tmp/hello.sh
#!/bin/bash
echo Hello World
[fgeorgatos@demo2 ~]$ chmod a+rx !$
chmod a+rx /tmp/hello.sh
[fgeorgatos@demo2 ~]$ bash -fx /tmp/hello.sh 2>&1|head
+ [[ fhB != fhxB ]]
+ XTRACE_STATE=-x
+ [[ fhxB != fhxB ]]
+ VERBOSE_STATE=+v
+ set +xv
+ unset XTRACE_STATE VERBOSE_STATE
+ echo Hello World
Hello World
[fgeorgatos@demo2 ~]$ ml --gitversion
7.1.9
[fgeorgatos@demo2 ~]$ ml --version

Modules based on Lua: Version 7.1.9  2016-12-17 13:29 -06:00
    by Robert McLay mclay@tacc.utexas.edu

[fgeorgatos@demo2 ~]$
rtmclay commented 7 years ago

The git hash should be missing:

  $ git checkout 7.1.9 

works.

fgeorgatos commented 7 years ago

I consider this case closed since a) I've built 100s of modules with Lmod/7.4.9 & EB/3.2.1 without a glitch b) the reported xtrace bug (and several others) are not detectable any more:

[fgeorgatos@node001 ~]$ cat >hello.sh
#!/bin/bash
echo Hello World
[fgeorgatos@node001 ~]$ chmod a+rx !$
chmod a+rx hello.sh
[fgeorgatos@node001 ~]$ bash -fx hello.sh 2>&1|head
++ set -o
++ grep xtrace
++ grep on
+ xtrace_saved='xtrace          on'
+ set +x
+ unset xtrace_saved
+ echo Hello World
Hello World
[fgeorgatos@node001 ~]$
[fgeorgatos@node001 ~]$
[fgeorgatos@node001 ~]$ ml --gitversion
7.4.9