Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xavier Garrido
CAMEL
Commits
96ae109f
Commit
96ae109f
authored
Dec 30, 2017
by
Plaszczynski Stephane
Browse files
dec req
parent
eddd911c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
124 additions
and
0 deletions
+124
-0
cmt/requirements-dec
cmt/requirements-dec
+124
-0
No files found.
cmt/requirements-dec
0 → 100644
View file @
96ae109f
package
CAMEL
use
class
*
#
compiler
options
#
default
is
gcc
here
are
the
C
++
compiler
options
macro
cppflags
" -O3 -pipe -ansi -fPIC -Wall -ffast-math -m64 "
#
although
it
may
be
strange
we
do
not
compile
CAMEL
with
OMP
because
CLASS
is
not
thread
safe
#
no
worries
:
CLASS
is
compiled
with
OMP
#
macro_append
cppflags
"-fopenmp "
macro_append
cpplinkflags
" -fopenmp "
#
CAMEL
includes
include_dirs
" $(CAMELROOT)/src"
include_dirs
" $(CAMELROOT)/src/camel"
include_dirs
" $(CAMELROOT)/src/Minuit2-5.28.00/src"
include_dirs
" $(CAMELROOT)/src/Minuit2-5.28.00/inc"
include_dirs
"$(CAMELROOT)/src/cxxsupport"
include_dirs
"$(CAMELROOT)/src/AbsRand"
include_dirs
"$(CAMELROOT)/src/camel/JLA"
include_dirs
"$(CAMELROOT)/src/camel/JLA/jla_likelihood_v3/src"
#
cfitsio
include_dirs
"/usr/include/cfitsio"
macro_append
CAMEL_linkopts
" -lcfitsio"
#
JLA
:
requires
cblas
/
lapack
macro_append
cppflags
' -DJLA '
include_dirs
"/usr/include/atlas"
macro_append
CAMEL_linkopts
" -L/usr/lib64/atlas -ltatlas -llapack -ljla "
application
test_jla
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
test
/
test_jla
.
cc
library
jla
-
no_share
$(
CAMELROOT
)/
src
/
camel
/
JLA
/
jla_likelihood_v3
/
src
/
ini
.
c
$(
CAMELROOT
)/
src
/
camel
/
JLA
/
jla_likelihood_v3
/
src
/
jla
.
cc
#
PLANCK
#
macro_append
cppflags
" -DCLIK $(CLIKCFLAGS)"
#
macro_append
cflags
" -DCLIK $(CLIKCFLAGS)"
#
macro_append
CAMEL_linkopts
" $(CLIKLIBS) "
#
include_dirs
"$(CLIKDIR)/include"
#
include_dirs
"$(CLIKDIR)/src"
#
macro_append
cppflags
" -DCLIK "
#
macro_append
cflags
" -DCLIK "
#
macro_append
CAMEL_linkopts
"-L$(CLIKDIR)/lib -lclik "
#
path_append
LD_LIBRARY_PATH
"$(CLIKDIR)/lib"
#
application
dump_clik
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
test
/
test_clik
.
cc
#
application
dump_lensing
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
test
/
test_lensing
.
cc
#
PICO
#
macro_append
cppflags
" -DPICO $(PICOINC) "
#
macro_append
CAMEL_linkopts
" -L$(PICO_CODE) -lpico -lpython2.7 "
#
the
previous
line
should
be
sufficient
otherwise
try
the
PICOLIBS
#
(
set
in
camel_setup
.
sh
)
#
macro_append
CAMEL_linkopts
" $(PICOLIBS)"
#
macro_append
cppflags
' -DPICODATA=\"$(PICO_DATA)\" '
#
application
testPico
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
/
pico
/
exec
testPico
.
cc
#
###
FROM
THERE
YOU
DONT
NEED
TO
TOUCH
###########################################################################################
#
CAMEL
LIBRARIES
library
Minuit
-
no_share
$(
CAMELROOT
)/
src
/
Minuit2
-
5.28.00
/
src
/*.
cxx
library
Util
-
no_share
-
x
=
ddl
.
cc
$(
CAMELROOT
)/
src
/
cxxsupport
/*.
cc
library
AbsRand
-
no_share
$(
CAMELROOT
)/
src
/
AbsRand
/*.
cc
library
CLHEP
-
no_share
$(
CAMELROOT
)/
src
/
CLHEP
/
src
/*.
cc
macro
camelsrc
"*.cc CMB/*.cc BAO/*.cc Lensing/*.cc pico/*.cc JLA/*.cc Class/*.cc Constraints/*.cc Pk/*.cc"
library
MinuitFit
-
no_share
-
s
=$(
CAMELROOT
)/
src
/
camel
$(
camelsrc
)
library
MCMC
-
no_share
-
s
=$(
CAMELROOT
)/
src
/
camel
/
MCMC
*.
cc
macro
CAMEL_linkopts
"-L$(CAMELROOT)/${CMTCONFIG} -lMinuitFit -lMinuit -lMCMC -lCLHEP -lAbsRand -lUtil "
macro_append
cppflags
' -DRELPATH=\"$(CAMELROOT)/lik\" '
#
CLASS
optional
FastPk
access
macro_append
cppflags
" -DFASTPK "
#
class
extras
library
class_extra
-
no_share
$(
CAMELROOT
)/
src
/
class_extra
/*.
c
macro_append
CAMEL_linkopts
" -lclass_extra "
#
CAMEL
applications
#
pour
relinker
si
changement
:
toutes
les
application
du
package
macro
CAMEL_stamps
" $(CAMELROOT)/$(CMTCONFIG)/MinuitFit.stamp $(CAMELROOT)/$(CMTCONFIG)/MCMC.stamp "
macro
application_suffix
""
#
groupe
exec
application
writeChi2
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
writeChi2
.
cc
application
writeSpectra
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
writeSpectra
.
cc
application
writeSpectraPk
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
writeSpectraPk
.
cc
application
Minimize
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
Minimize
.
cc
application
Profile
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
Profile
.
cc
application
ScanParam
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
exec
/
ScanParam
.
cc
application
mcmc
-
group
=
exec
-
s
=$(
CAMELROOT
)/
src
/
camel
/
MCMC
exec
/
mainMCMC
.
cc
#
tests
application
testKlass
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
test
/
testKlass
.
cc
application
testCLHEP
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
/
test
testCLHEP
.
cc
#
application
testBAO
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
/
test
testBAO
.
cc
#
application
testHiLLiPOP
-
group
=
test
-
s
=$(
CAMELROOT
)/
src
/
camel
/
test
testHiLLiPOP
.
cc
#
lIST
OF
ALL
DEPENDENCIES
macro_append
Minimize_dependencies
" MinuitFit "
macro_append
Profile_dependencies
" MinuitFit "
macro_append
ScanParam_dependencies
" MinuitFit "
macro_append
writeChi2_dependencies
" MinuitFit "
macro_append
writeSpectra_dependencies
" MinuitFit "
macro_append
writeSpectraPkependencies
" MinuitFit "
macro_append
mcmc_dependencies
" MinuitFit "
macro_append
mcmc_dependencies
" MCMC "
macro_append
testKlass_dependencies
" MinuitFit"
macro_append
clik_example_CC_dependencies
" MinuitFit "
macro_append
test_clik_dependencies
" MinuitFit "
macro_append
test_lensing_dependencies
" MinuitFit "
macro_append
testCLHEP_dependencies
" CLHEP "
macro_append
testBAO_dependencies
" MinuitFit "
macro_append
testHiLLiPOP_dependencies
" MinuitFit "
macro_append
test_jla_dependencies
" MinuitFit "
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment