Skip to content

Commit

Permalink
clarified the readme of cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Lesgourgues committed May 9, 2014
1 parent 4693c78 commit 801238c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/README
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
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
> c++ -O2 -fopenmp -I../include -c testKlass.cc -o testKlass.o
> 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

0 comments on commit 801238c

Please sign in to comment.