Results 1 to 5 of 5
Dear all,
I wonder if there is any chance to one day be able to code a graphic card (i.e NVedia and CUDA) with GNU software (i.e gfortran) like PGI ...
- 09-27-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 6
GNU and GPU programming
Dear all,
I wonder if there is any chance to one day be able to code a graphic card (i.e NVedia and CUDA) with GNU software (i.e gfortran) like PGI dos with its fortran compiler.
Thanks.
- 09-27-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Yes. Visit the nVidia web site. They have a lot of documentation and such for Linux/CUDA programming. I'd post it all here, but all the docs, drivers, and such come to almost 700MB...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-27-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 6
Thanks for the reply,
Well, so far it seems to me that only PGI proposes a CUDA fortran compiler which include OpenMP like directives. From my knowledge no free compiler does that.
I may be wrong ...
- 10-06-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
There is a CUDA driver and SDT toolkit that allows parallel C programming with GNU toolchain compilers. All of these are available on the nVidia web site. There is also a commercial 3rd party Fortran compiler available that has a free for personal/educational use license that you can use if you REALLY want to use Fortran. However, that is becoming more and more rare these days. Even the HEP (High Energy Physics) research community that used to use a lot of Fortran is using C++ for almost all current and new software for HEP research purposes such as data acquisition, reduction, analysis, etc. Fortran is only used for legacy code bases that haven't been migrated to C++ as yet. So, you should be able to use the MPI libraries in conjunction with the CUDA SDK and Linux system drivers in order to get serious parallelization of most floating point math code.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-29-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 6
thank you for your and sorry for my slow reply.
Even I'm not agree with you about Fortran, your answer is very helpful.
Thanks,
Eric.


Reply With Quote