You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| Config | 3 years ago | |
| README | 3 years ago | |
| cavh_olo.h | 3 years ago | |
| clean | 3 years ago | |
| example.cpp | 3 years ago | |
README
This is an example of the use of OneLOop in C++ with the gcc compilers.
The file "example.cpp" includes the file "cavh_olo.h" in this directory
establishing the interface. All available routines are listed as "#define"
statements at the beginning of that file.
Execute
./create.py
This will create the library "libavh_olo.a". Then execute
g++ example.cpp -L./ -lavh_olo -lgfortran
This will create the executable.
Alternatively, you can execute
./create.py source
This will only create the source file "avh_olo.f90". Then you can
execute
g++ -c example.cpp
gfortran -c avh_olo.f90
g++ example.o avh_olo.o -lgfortran
to create the executable.