Skip to content

awasiljew/athena-cuda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

athena-cuda

Athena Code for MHD with NVIDIA CUDA support

Compilation

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

Running

  • 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

References

Go to https://trac.princeton.edu/Athena/ for full code reference and documentation. The current version is based on Athena 3.1.

About

Athena Code for MHD with NVIDIA CUDA support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published