jpekkila
|
7afab65806
|
Fixed the compilation script to use the correct name for the preprocessed file
|
2019-10-07 16:39:49 +03:00 |
|
jpekkila
|
cd09a7d9e8
|
Update the module compilation script with the new syntax. Now the Astaroth DSL compiler creates the files instead of having to pipe stdout to some file with a bash script
|
2019-10-07 15:46:05 +03:00 |
|
jpekkila
|
b0162bdea0
|
Added DSL versions of the basic derivative operations (placeholder)
|
2019-10-02 21:09:36 +03:00 |
|
jpekkila
|
72af2cf31d
|
acc is now built with cmake instead of the old build script. This was mainly done to fix compilation on Puhti where I had problems linking flex even though it is available. As an added bonus the code is now safer to build since all dependencies are now rigorously tracked by cmake and make, and f.ex. change in the compiler now forces also the whole library to be rebuilt (which is the behaviour we want)
|
2019-09-24 16:57:19 +03:00 |
|
Miikka Vaisala
|
5cc2d613be
|
Changed realpath to readlink -f for better combatibility in different systems.
|
2019-09-23 15:35:09 +08:00 |
|
jpekkila
|
3bb6ca1712
|
The Astaroth Code Compiler (acc) is now built with cmake. Additionally, make is now used to generate the CUDA headers from DSL sources. The headers are also properly regenerated whenever a DSL file has been changed. With this commit, the DSL is now seamlessly integrated to the library and we no longer need complicated scripts to figure out the correct files. The current workflow for using custom DSL sources is to pass the DSL module directory to cmake, f.ex. cmake -DDSL_MODULE_DIR=/acc/mhd_solver. Note that the path must be absolute or then given relative to the CMakeLists.txt directory. f.ex cd build && cmake -DDSL_MODULE_DIR=../acc/mhd_solver does not work. CMake then takes all DSL files in that directory and handles the rest.
|
2019-09-18 17:28:29 +03:00 |
|