Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
176 views
in Technique[技术] by (71.8m points)

How to compile and execute fortran code with CUDA 8.0?

I have a NVIDIA Tesla C2075 GPU card and CUDA 8.0 toolkit.

./deviceQuery and ./bandwidthTest is also passed. Using "nvcc" I could pass the compilation and execution of CUDA test codes(*.cu) in C.

However, I can not compile and execute a fortran code (*.cuf) as there is no pgfortran available in CUDA 8.0 toolkit. Runtime compatible CUDA version with this card ( CC2.0) is CUDA 8.0 or less. All pgfortran or other nvidia fortran compilers ( nvfortran ) are only available from CUDA 10.0 and up, included in HPC SDK. There are no free pgfortran compilers available to download from web. What should I do so that I can work on my fortran codes( *.cuf) on this card using CUDA 8.0?

question from:https://stackoverflow.com/questions/65867124/how-to-compile-and-execute-fortran-code-with-cuda-8-0

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...