Athena Code for MHD with NVIDIA CUDA support
Right now there is simple makefile in Debug directory inside sources, which contains makefile generated automatically by Eclipse. You can look into this makefile to develop your own build solution. You may also try to import project to Eclipse, but this will require additional steps to properly configure imported project.
To compile
- Go to src/Debug directory
- Edit makefile: CUDA_LIB, CUDA_INCLUDE, CUDA_NVCC to your specific pats
- Run make
- Run: athena_cuda -i test_file (i.e. athena_cuda -i ../athinput.blast)
- Test files included in source folder athinput.blast, athinput.cpaw2d, athinput.field_loop
Go to https://trac.princeton.edu/Athena/ for full code reference and documentation. The current version is based on Athena 3.1.