From 801238cf70b3e59d73f1dc562bdfced1899b574f Mon Sep 17 00:00:00 2001 From: Julien Lesgourgues Date: Thu, 8 May 2014 11:31:37 +0200 Subject: [PATCH] clarified the readme of cpp --- cpp/README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cpp/README b/cpp/README index b08e8890..0bb49733 100644 --- a/cpp/README +++ b/cpp/README @@ -1,4 +1,4 @@ -The C++ wrapper ClassEngine.cc for Class (written by S. Plaszczynski) is distributed together with a test code, testKlass.cc, in which you can write a list of input parameters. This test code can be compiled with (assuming you are already in the directory cpp/): +The C++ wrapper ClassEngine.cc for Class (written by S. Plaszczynski) is distributed together with a test code, testKlass.cc, in which you can write a list of input parameters. This test code can be compiled with (assuming you are already in the directory cpp/ and you have a c++ compiler compatible with openmp): > c++ -O2 -fopenmp -I../include -c Engine.cc -o Engine.o > c++ -O2 -fopenmp -I../include -c ClassEngine.cc -o ClassEngine.o @@ -6,4 +6,6 @@ The C++ wrapper ClassEngine.cc for Class (written by S. Plaszczynski) is distrib > cd .. > c++ -O2 -fopenmp build/arrays.o build/background.o build/common.o build/dei_rkck.o build/evolver_ndf15.o build/evolver_rkck.o build/growTable.o build/helium.o build/history.o build/hydrogen.o build/hyperspherical.o build/hyrectools.o build/input.o build/lensing.o build/nonlinear.o build/output.o build/parser.o build/perturbations.o build/primordial.o build/quadrature.o build/sparse.o build/spectra.o build/thermodynamics.o build/transfer.o cpp/ClassEngine.o cpp/Engine.o cpp/testKlass.o -o testKlass -then run ./testKlass.cc +then run with: + +> ./testKlass