Skip to content

Commit

Permalink
added more modules to cc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Jan 14, 2019
1 parent 726b0c4 commit 937b8c1
Show file tree
Hide file tree
Showing 17 changed files with 355 additions and 42 deletions.
85 changes: 63 additions & 22 deletions rt/cc/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 7.8.12 2019-01-08 16:15 -06:00
Modules based on Lua: Version 7.8.13 2019-01-11 16:06 -06:00
by Robert McLay [email protected]
===========================
step 2
Expand All @@ -24,46 +24,83 @@ step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
1) nixpkgs/16.09 2) intel/2016.4 3) StdEnv/2016.4
1) nixpkgs/16.09 4) ifort/.2016.4.258 (H) 7) StdEnv/2016.4
2) gcccore/.5.4.0 (H) 5) imkl/11.3.4.258
3) icc/.2016.4.258 (H) 6) intel/2016.4
Where:
H: Hidden Module
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing -T load arch/avx512
===========================
running: module --regression_testing -T load arch/avx512
(1)Loading: arch/avx512 (fn: ProjectDIR/rt/cc/mf/modules/arch/avx512.lua, using Find-Best)
Prepending: ProjectDIR/rt/cc/mf/modules-avx512 to MODULEPATH
reloadAll(nixpkgs/16.09, intel/2016.4, StdEnv, arch/avx512)
reloadAll(nixpkgs/16.09, gcccore/.5.4.0, icc/.2016.4.258, ifort/.2016.4.258, imkl/11.3.4.258, intel/2016.4, StdEnv, arch/avx512)
(2)Unloading: nixpkgs/16.09 (status: active) (fn: ProjectDIR/rt/cc/mf/modules/nixpkgs/16.09.lua)
Removing: ProjectDIR/rt/cc/mf/Core-avx512 from MODULEPATH
reloadAll(intel/2016.4, StdEnv, arch/avx512)
(3)Unloading: intel/2016.4 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2016.4.lua)
(4)Unloading: StdEnv (status: active) (fn: ProjectDIR/rt/cc/mf/modules/StdEnv/2016.4.lua)
(5)Unloading: nixpkgs/16.09 (status: ) (fn: nil)
(6)Unloading: intel/2016.4 (status: ) (fn: nil)
(7)Loading: StdEnv (fn: ProjectDIR/rt/cc/mf/modules-avx512/StdEnv/2018.3.lua, using Find-Best)
(8)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
reloadAll(gcccore/.5.4.0, icc/.2016.4.258, ifort/.2016.4.258, imkl/11.3.4.258, intel/2016.4, StdEnv, arch/avx512)
(3)Unloading: gcccore/.5.4.0 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/gcccore/.5.4.0.lua)
(4)Unloading: icc/.2016.4.258 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/icc/.2016.4.258.lua)
(5)Unloading: gcccore/.5.4.0 (status: ) (fn: nil)
(6)Unloading: ifort/.2016.4.258 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/ifort/.2016.4.258.lua)
(7)Unloading: imkl/11.3.4.258 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/11.3.4.258.lua)
(8)Unloading: intel/2016.4 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2016.4.lua)
(9)Unloading: StdEnv (status: active) (fn: ProjectDIR/rt/cc/mf/modules/StdEnv/2016.4.lua)
(10)Unloading: nixpkgs/16.09 (status: ) (fn: nil)
(11)Unloading: imkl/11.3.4.258 (status: ) (fn: nil)
(12)Unloading: intel/2016.4 (status: ) (fn: nil)
(13)Loading: StdEnv (fn: ProjectDIR/rt/cc/mf/modules-avx512/StdEnv/2018.3.lua, using Find-Best)
(14)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
Prepending: ProjectDIR/rt/cc/mf/Core-avx512 to MODULEPATH
(9)Loading: intel/2018.3 (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua, using Find-Best)
reloadAll(arch/avx512, nixpkgs/16.09, intel/2018.3, StdEnv)
(10)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
(11)Unloading: nixpkgs (status: active) (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua)
(15)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
(16)Loading: intel/2018.3 (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua, using Find-Best)
(17)Loading: icc/.2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/icc/.2018.3.222.lua, using Find-Best)
(18)Loading: gcccore/.7.3.0 (fn: ProjectDIR/rt/cc/mf/Core-avx512/gcccore/.7.3.0.lua, using Find-Best)
(19)Loading: ifort/.2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/ifort/.2018.3.222.lua, using Find-Best)
(20)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
(21)Unloading: imkl (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua)
(22)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
reloadAll(arch/avx512, nixpkgs/16.09, gcccore/.7.3.0, icc/.2018.3.222, ifort/.2018.3.222, imkl/2018.3.222, intel/2018.3, StdEnv)
(23)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
(24)Unloading: nixpkgs (status: active) (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua)
Removing: ProjectDIR/rt/cc/mf/Core-avx512 from MODULEPATH
reloadAll(arch/avx512, intel/2018.3, StdEnv)
(12)Unloading: intel/2018.3 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua)
(13)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
reloadAll(arch/avx512, gcccore/.7.3.0, icc/.2018.3.222, ifort/.2018.3.222, imkl/2018.3.222, intel/2018.3, StdEnv)
(25)Unloading: gcccore/.7.3.0 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/gcccore/.7.3.0.lua)
(26)Unloading: icc/.2018.3.222 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/icc/.2018.3.222.lua)
(27)Unloading: ifort/.2018.3.222 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/ifort/.2018.3.222.lua)
(28)Unloading: imkl/2018.3.222 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua)
(29)Unloading: intel/2018.3 (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua)
(30)Loading: nixpkgs/16.09 (fn: ProjectDIR/rt/cc/mf/modules-avx512/nixpkgs/16.09.lua, using Find-Best)
Prepending: ProjectDIR/rt/cc/mf/Core-avx512 to MODULEPATH
reloadAll(arch/avx512, StdEnv, nixpkgs/16.09, intel/2018.3)
(14)Loading: intel/2018.3 (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua, using Find-Best)
reloadAll(arch/avx512, StdEnv, nixpkgs/16.09, gcccore/.7.3.0, icc/.2018.3.222, ifort/.2018.3.222, imkl/2018.3.222, intel/2018.3)
(31)Loading: gcccore/.7.3.0 (fn: ProjectDIR/rt/cc/mf/Core-avx512/gcccore/.7.3.0.lua, using Find-Best)
(32)Loading: icc/.2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/icc/.2018.3.222.lua, using Find-Best)
(33)Loading: ifort/.2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/ifort/.2018.3.222.lua, using Find-Best)
(34)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
(35)Loading: intel/2018.3 (fn: ProjectDIR/rt/cc/mf/Core-avx512/intel/2018.3.lua, using Find-Best)
(36)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
(37)Unloading: imkl (status: active) (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua)
(38)Loading: imkl/2018.3.222 (fn: ProjectDIR/rt/cc/mf/Core-avx512/imkl/2018.3.222.lua, using Find-Best)
Due to MODULEPATH changes, the following have been reloaded:
1) nixpkgs/16.09
The following have been reloaded with a version change:
1) StdEnv/2016.4 => StdEnv/2018.3 2) intel/2016.4 => intel/2018.3
1) StdEnv/2016.4 => StdEnv/2018.3
2) gcccore/.5.4.0 => gcccore/.7.3.0
3) icc/.2016.4.258 => icc/.2018.3.222
4) ifort/.2016.4.258 => ifort/.2018.3.222
5) imkl/11.3.4.258 => imkl/2018.3.222
6) intel/2016.4 => intel/2018.3
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
1) arch/avx512 2) StdEnv/2018.3 3) nixpkgs/16.09 4) intel/2018.3
1) arch/avx512 4) gcccore/.7.3.0 (H) 7) imkl/2018.3.222
2) StdEnv/2018.3 5) icc/.2018.3.222 (H) 8) intel/2018.3
3) nixpkgs/16.09 6) ifort/.2018.3.222 (H)
Where:
H: Hidden Module
===========================
step 7
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load StdEnv
Expand All @@ -73,4 +110,8 @@ step 8
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
Currently Loaded Modules:
1) arch/avx512 2) nixpkgs/16.09 3) intel/2018.3 4) StdEnv/2018.3
1) arch/avx512 4) icc/.2018.3.222 (H) 7) intel/2018.3
2) nixpkgs/16.09 5) ifort/.2018.3.222 (H) 8) StdEnv/2018.3
3) gcccore/.7.3.0 (H) 6) imkl/2018.3.222
Where:
H: Hidden Module
17 changes: 17 additions & 0 deletions rt/cc/mf/Core/gcccore/.5.4.0.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
help([[
Description
===========
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...).
More information
================
- Homepage: http://gcc.gnu.org/
]])

local root = "/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0"

prepend_path("PATH", pathJoin(root, "bin"))
-- Built with EasyBuild version 3.3.0-re50b70af25207aec9b965a5c4aaa47ba992c9aa6
32 changes: 32 additions & 0 deletions rt/cc/mf/Core/gcccore/.7.3.0.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
help([==[
Description
===========
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...).
More information
================
- Homepage: http://gcc.gnu.org/
]==])

whatis([==[Description: The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...).]==])
whatis([==[Homepage: http://gcc.gnu.org/]==])

local root = "/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-7.3.0"

conflict("gcccore")

prepend_path("CPATH", pathJoin(root, "include"))
prepend_path("LIBRARY_PATH", pathJoin(root, "lib"))
prepend_path("LIBRARY_PATH", pathJoin(root, "lib64"))
prepend_path("MANPATH", pathJoin(root, "share/man"))
prepend_path("PATH", pathJoin(root, "bin"))
setenv("EBROOTGCCCORE", root)
setenv("EBVERSIONGCCCORE", "7.3.0")
setenv("EBDEVELGCCCORE", pathJoin(root, "easybuild/Core-gcccore-.7.3.0-easybuild-devel"))

prepend_path("CPLUS_INCLUDE_PATH", pathJoin(root, "include/c++/7.3.0"))
-- Built with EasyBuild version 3.5.1-rc1513f470261f1a4fa90a8ef6bd472f15ba085ed
18 changes: 18 additions & 0 deletions rt/cc/mf/Core/icc/.2016.4.258.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
help([==[
Description
===========
C and C++ compiler from Intel
More information
================
- Homepage: http://software.intel.com/en-us/intel-compilers/
]==])

if not isloaded("gcccore/.5.4.0") or mode() == "unload" then
load("gcccore/.5.4.0")
end

prepend_path("PATH", pathJoin(root, "compilers_and_libraries_2016.4.258/linux/bin/intel64"))
-- Built with EasyBuild version 3.5.0-r9c88db64dba51c4ffd22799c06090d57aaf17e38
19 changes: 19 additions & 0 deletions rt/cc/mf/Core/icc/.2018.3.222.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help([==[
Description
===========
Intel C and C++ compilers
More information
================
- Homepage: http://software.intel.com/en-us/intel-compilers/
]==])

local root = "/cvmfs/restricted.computecanada.ca/easybuild/software/2017/Core/icc/2018.3.222"


depends_on("gcccore/.7.3.0")

prepend_path("PATH", pathJoin(root, "compilers_and_libraries_2018.3.222/linux/bin/intel64"))
-- Built with EasyBuild version 3.6.2-r1ed7dac97acd22d6301e534c78048f7fcedaa585
19 changes: 19 additions & 0 deletions rt/cc/mf/Core/ifort/.2016.4.258.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help([==[
Description
===========
Fortran compiler from Intel
More information
================
- Homepage: http://software.intel.com/en-us/intel-compilers/
]==])


local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/ifort/2016.4.258"

depends_on("gcccore/.5.4.0")

prepend_path("PATH", pathJoin(root, "compilers_and_libraries_2016.4.258/linux/bin/intel64"))
-- Built with EasyBuild version 3.5.0-r9c88db64dba51c4ffd22799c06090d57aaf17e38
19 changes: 19 additions & 0 deletions rt/cc/mf/Core/ifort/.2018.3.222.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
help([==[
Description
===========
Intel Fortran compiler
More information
================
- Homepage: http://software.intel.com/en-us/intel-compilers/
]==])

local root = "/cvmfs/restricted.computecanada.ca/easybuild/software/2017/Core/ifort/2018.3.222"


depends_on("gcccore/.7.3.0")

prepend_path("PATH", pathJoin(root, "compilers_and_libraries_2018.3.222/linux/bin/intel64"))
-- Built with EasyBuild version 3.6.2-r1ed7dac97acd22d6301e534c78048f7fcedaa585
13 changes: 13 additions & 0 deletions rt/cc/mf/Core/iimkl/.2016.4.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
help([[Intel C/C++ and Fortran compilers, alongside Intel MKL. - Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/]])

local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/iimkl/2016.4"

load("icc/.2016.4.258")

load("ifort/.2016.4.258")

load("intel/2016.4")

load("imkl/11.3.4.258")

-- Built with EasyBuild version 3.1.0-rb9ec927fab948052740d84472f0a86c19bddbd87
27 changes: 27 additions & 0 deletions rt/cc/mf/Core/iimkl/.2018.3.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
help([==[
Description
===========
Intel C/C++ and Fortran compilers, alongside Intel MKL.
More information
================
- Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/
]==])

whatis([==[Description: Intel C/C++ and Fortran compilers, alongside Intel MKL.]==])
whatis([==[Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/]==])

local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/iimkl/2018.3"

depends_on("icc/.2018.3.222")

depends_on("ifort/.2018.3.222")

depends_on("intel/2018.3")

depends_on("imkl/2018.3.222")


-- Built with EasyBuild version 3.7.0-rd87eb096d41e017c8f68296771c685f4d57ba80f
21 changes: 21 additions & 0 deletions rt/cc/mf/Core/imkl/11.3.4.258.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
help([==[
Description
===========
Intel Math Kernel Library is a library of highly optimized,
extensively threaded math routines for science, engineering, and financial
applications that require maximum performance. Core math functions include
BLAS, LAPACK, ScaLAPACK, Sparse Solvers, Fast Fourier Transforms, Vector Math, and more.
More information
================
- Homepage: http://software.intel.com/en-us/intel-mkl/
]==])


local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/11.3.4.258"

prepend_path("PATH", pathJoin(root, "bin"))
prepend_path("PATH", pathJoin(root, "mkl/bin"))
-- Built with EasyBuild version 3.6.2-r7ac096157987d9f8fad6490e41038c31790fa6ee
20 changes: 20 additions & 0 deletions rt/cc/mf/Core/imkl/2018.3.222.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
help([==[
Description
===========
Intel Math Kernel Library is a library of highly optimized,
extensively threaded math routines for science, engineering, and financial
applications that require maximum performance. Core math functions include
BLAS, LAPACK, ScaLAPACK, Sparse Solvers, Fast Fourier Transforms, Vector Math, and more.
More information
================
- Homepage: http://software.intel.com/en-us/intel-mkl/
]==])

local root = "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/2018.3.222"

prepend_path("PATH", pathJoin(root, "bin"))
prepend_path("PATH", pathJoin(root, "mkl/bin"))
-- Built with EasyBuild version 3.6.2-r1ed7dac97acd22d6301e534c78048f7fcedaa585
8 changes: 8 additions & 0 deletions rt/cc/mf/Core/intel/2016.4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ More information
- Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/
]==])

depends_on("icc/.2016.4.258")

depends_on("ifort/.2016.4.258")

if isloaded("imkl") then
always_load("imkl/11.3.4.258")
end

family("compiler")

-- Built with EasyBuild version 3.5.0-r9c88db64dba51c4ffd22799c06090d57aaf17e38
7 changes: 7 additions & 0 deletions rt/cc/mf/Core/intel/2018.3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ More information
================
- Homepage: http://software.intel.com/en-us/intel-cluster-toolkit-compiler/
]==])
depends_on("icc/.2018.3.222")

depends_on("ifort/.2018.3.222")

if isloaded("imkl") then
always_load("imkl/2018.3.222")
end
family("compiler")

-- Built with EasyBuild version 3.7.0-rc7b39e420d4f1af2b79028319dfd5ed90b504390
1 change: 1 addition & 0 deletions rt/cc/mf/modules/StdEnv/2016.4.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
load("nixpkgs/16.09")
load("imkl/11.3.4.258")
load("intel/2016.4")
1 change: 1 addition & 0 deletions rt/cc/mf/modules/StdEnv/2018.3.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
load("nixpkgs/16.09")
load("imkl/2018.3.222")
load("intel/2018.3")
Loading

0 comments on commit 937b8c1

Please sign in to comment.