libint: new build-block added
This commit is contained in:
27
Compiler/libint-lmax6/build
Executable file
27
Compiler/libint-lmax6/build
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://github.com/cp2k/libint-cp2k/releases/download/v${V_PKG}/libint-v${V_PKG}-cp2k-lmax-6.tgz"
|
||||
pbuild::add_to_group 'Compiler'
|
||||
|
||||
#pbuild::install_docfiles 'CONTRIBUTING.md'
|
||||
#pbuild::install_docfiles 'LICENSE.md'
|
||||
#pbuild::install_docfiles 'README.md'
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::post_prep() {
|
||||
sed -i 's/(CXX)/(FC)/g' fortran/Makefile.in
|
||||
}
|
||||
|
||||
pbuild::pre_configure() {
|
||||
local -a cxxflags=()
|
||||
cxxflags+=('-O2' '-fPIC' '-g1')
|
||||
cxxflags+=('-fp-model precise' '-funroll-loops')
|
||||
cxxflags+=('-traceback' '-xHost')
|
||||
|
||||
pbuild::add_configure_args "--with-cxx=${CXX}"
|
||||
pbuild::add_configure_args "--with-cxx-optflags=${cxxflags[*]}"
|
||||
pbuild::add_configure_args "--with-fc=ifort"
|
||||
pbuild::add_configure_args "--enable-fortran"
|
||||
}
|
||||
|
||||
1
Compiler/libint-lmax6/files/variants.rhel6
Normal file
1
Compiler/libint-lmax6/files/variants.rhel6
Normal file
@@ -0,0 +1 @@
|
||||
libint-lmax6/2.6.0 unstable intel/19.4 b:Python/3.7.4
|
||||
11
Compiler/libint-lmax6/modulefile
Normal file
11
Compiler/libint-lmax6/modulefile
Normal file
@@ -0,0 +1,11 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "evaluation of molecular integrals of many-body operators over Gaussian functions"
|
||||
module-url "https://github.com/evaleev/libint"
|
||||
module-license "GNU LGPL, version 3; GNU GPL, version 3"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
module-help "
|
||||
A library for the evaluation of molecular integrals of many-body
|
||||
operators over Gaussian functions.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user