-
Notifications
You must be signed in to change notification settings - Fork 16
/
pomerol.lmod.in
35 lines (29 loc) · 1.19 KB
/
pomerol.lmod.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#%Module1.0
#
# This file is part of pomerol, an exact diagonalization library aimed at
# solving condensed matter models of interacting fermions.
#
# Copyright (C) 2016-2024 A. Antipov, I. Krivenko and contributors
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set name pomerol
set version @POMEROL_VERSION@
set root @CMAKE_INSTALL_PREFIX@
set url "@POMEROL_URL@"
set description "@POMEROL_DESCRIPTION@"
module-whatis "$description"
# Only one version of pomerol can be loaded at a time
conflict $name
setenv POMEROL_DIR $root
setenv POMEROL_ROOT $root
setenv POMEROL_LIB $root/lib
setenv POMEROL_INC $root/include
setenv POMEROL_BIN $root/bin
setenv POMEROL_VERSION $version
prepend-path PATH $root/bin
prepend-path LD_LIBRARY_PATH $root/lib
prepend-path CPLUS_INCLUDE_PATH $root/include
prepend-path CMAKE_MODULE_PATH $root/share/pomerol
prepend-path PKG_CONFIG_PATH $root/lib/pkgconfig