Programming/pgi: build-block added
This commit is contained in:
19
Programming/pgi/build
Executable file
19
Programming/pgi/build
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::prep() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::configure() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::compile() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
:
|
||||
}
|
||||
|
||||
7
Programming/pgi/files/variants
Normal file
7
Programming/pgi/files/variants
Normal file
@@ -0,0 +1,7 @@
|
||||
pgi/15.10 stable
|
||||
pgi/16.10 stable
|
||||
pgi/17.3 stable
|
||||
pgi/17.7 stable
|
||||
pgi/18.3 stable
|
||||
pgi/18.4 stable
|
||||
pgi/18.5 stable
|
||||
33
Programming/pgi/modulefile
Normal file
33
Programming/pgi/modulefile
Normal file
@@ -0,0 +1,33 @@
|
||||
#%Module1.0
|
||||
# Requires: $PREFIX/pgi_em_help.tcl
|
||||
|
||||
set dont-setenv { CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH LD_LIBRARY_PATH LIBRARY_PATH }
|
||||
|
||||
module-whatis "PGI Compilers and Tools"
|
||||
module-url "http://www.pgroup.com"
|
||||
module-license "The Portland Group, Oracle (Java), NVIDIA (CUDA), contains third party software"
|
||||
module-maintainer "Hans-Christian Stadler <hans-christian.stadler@psi.ch>"
|
||||
|
||||
set-family "Compiler"
|
||||
|
||||
set ARCH_VERSION linux86-64/$env(PGI_VERSION)
|
||||
|
||||
setenv PGI $PREFIX
|
||||
setenv LM_LICENSE_FILE $PREFIX/license.dat
|
||||
setenv CC $PREFIX/$ARCH_VERSION/bin/pgcc
|
||||
setenv CXX $PREFIX/$ARCH_VERSION/bin/pgc++
|
||||
setenv CPP $PREFIX/$ARCH_VERSION/bin/pgprepro
|
||||
setenv F77 $PREFIX/$ARCH_VERSION/bin/pgf77
|
||||
setenv F90 $PREFIX/$ARCH_VERSION/bin/pgf90
|
||||
setenv F95 $PREFIX/$ARCH_VERSION/bin/pgf95
|
||||
setenv FC $PREFIX/$ARCH_VERSION/bin/pgfortran
|
||||
setenv FORTRAN $PREFIX/$ARCH_VERSION/bin/pgfortran
|
||||
|
||||
prepend-path PATH $PREFIX/$ARCH_VERSION/bin
|
||||
prepend-path MANPATH $PREFIX/$ARCH_VERSION/man
|
||||
prepend-path LD_LIBRARY_PATH $PREFIX/$ARCH_VERSION/lib
|
||||
|
||||
#setenv CPLUS_INCLUDE_PATH $PREFIX/$ARCH_VERSION/include
|
||||
#setenv LIBRARY_PATH $PREFIX/$ARCH_VERSION/lib
|
||||
|
||||
source $PREFIX/pgi_em_help.tcl
|
||||
Reference in New Issue
Block a user