ADD: use module sets using views and package groups
This commit is contained in:
269
env/merlin/spack.yaml
vendored
269
env/merlin/spack.yaml
vendored
@ -152,7 +152,260 @@ spack:
|
||||
include:
|
||||
- sysconfigs/compilers.yaml
|
||||
- sysconfigs/packages.yaml
|
||||
- sysconfigs/modules.yaml
|
||||
#>>> modules.yaml
|
||||
modules:
|
||||
Compilers:
|
||||
use_view: Compilers
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/Compilers
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *compiler_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: &unified_modules_projections
|
||||
all: modulefiles/{compiler.name}/{compiler.version}/{name}/{version}
|
||||
^mpi: 'modulefiles/{compiler.name}/{compiler.version}/{name}/{version}/{^mpi.name}/{^mpi.version}'
|
||||
~mpi: 'modulefiles/{compiler.name}/{compiler.version}/{name}_serial/{version}'
|
||||
Cuda:
|
||||
use_view: Cuda
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/cuda
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *cuda_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
EM:
|
||||
use_view: EM
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/EM
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *EM_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
HDF5:
|
||||
use_view: HDF5
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *HDF5_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
- 'HDF5_serial'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
HDF5_serial:
|
||||
use_view: HDF5_serial
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/HDF5_serial
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *HDF5_serial_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
- 'HDF5_serial'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
Librairies:
|
||||
use_view: Librairies
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/Librairies
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *librairies_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
MPI:
|
||||
use_view: MPI
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/MPI
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *MPI_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
MX:
|
||||
use_view: MX
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/MX
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *MX_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
Programming:
|
||||
use_view: Programming
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/Programming
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *programming_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
System:
|
||||
use_view: System
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/System
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *system_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
Tools:
|
||||
use_view: Tools
|
||||
arch_folder: false
|
||||
enable:
|
||||
- tcl
|
||||
roots:
|
||||
tcl: /afs/psi.ch/sys/spack-rhel7/Tools
|
||||
tcl:
|
||||
blacklist_implicits: true
|
||||
include: *tools_pckg
|
||||
all:
|
||||
autoload: direct
|
||||
conflict:
|
||||
- '{name}'
|
||||
environment:
|
||||
set:
|
||||
${PACKAGE}_INCLUDE_DIR: '{prefix}/include'
|
||||
${PACKAGE}_LIBRARY_DIR: '{prefix}/lib'
|
||||
${PACKAGE}_VERSION: '{version}'
|
||||
projections: *unified_modules_projections
|
||||
prefix_inspections:
|
||||
'':
|
||||
- CMAKE_PREFIX_PATH
|
||||
bin:
|
||||
- PATH
|
||||
include:
|
||||
- C_INCLUDE_PATH
|
||||
- CPLUS_INCLUDE_PATH
|
||||
lib:
|
||||
- LIBRARY_PATH
|
||||
- LD_LIBRARY_PATH
|
||||
lib/pkgconfig:
|
||||
- PKG_CONFIG_PATH
|
||||
lib64:
|
||||
- LIBRARY_PATH
|
||||
- LD_LIBRARY_PATH
|
||||
lib64/pkgconfig:
|
||||
- PKG_CONFIG_PATH
|
||||
man:
|
||||
- MANPATH
|
||||
share/aclocal:
|
||||
- ACLOCAL_PATH
|
||||
share/man:
|
||||
- MANPATH
|
||||
share/pkgconfig:
|
||||
- PKG_CONFIG_PATH
|
||||
#<<<
|
||||
specs:
|
||||
- matrix:
|
||||
- - $compiler_pckg
|
||||
@ -167,7 +420,7 @@ spack:
|
||||
~mpi: '{name}_serial/{version}/{compiler.name}/{compiler.version}'
|
||||
root: /afs/psi.ch/sys/spack-rhel7/Compilers
|
||||
select: *compiler_pckg
|
||||
cuda:
|
||||
Cuda:
|
||||
link: roots
|
||||
link_type: symlink
|
||||
projections: *unified_projections
|
||||
@ -197,18 +450,18 @@ spack:
|
||||
projections: *unified_projections
|
||||
root: /afs/psi.ch/sys/spack-rhel7/Librairies
|
||||
select: *librairies_pckg
|
||||
MK:
|
||||
link: roots
|
||||
link_type: symlink
|
||||
projections: *unified_projections
|
||||
root: /afs/psi.ch/sys/spack-rhel7/MK
|
||||
select: *MX_pckg
|
||||
MPI:
|
||||
link: roots
|
||||
link_type: symlink
|
||||
projections: *unified_projections
|
||||
root: /afs/psi.ch/sys/spack-rhel7/MPI
|
||||
select: *MPI_pckg
|
||||
MX:
|
||||
link: roots
|
||||
link_type: symlink
|
||||
projections: *unified_projections
|
||||
root: /afs/psi.ch/sys/spack-rhel7/MX
|
||||
select: *MX_pckg
|
||||
Programming:
|
||||
link: roots
|
||||
link_type: symlink
|
||||
|
Reference in New Issue
Block a user