fortran
How to use CUFFT from Fortran 90?
How to use CUFFT library (from nVidia\'s CUDA SDK 4.0.13), which as far as I know has only C bindings, in program written in Fortran 90 (to be compiled using gfortran fr开发者_JS百科om GNU Compiler Co[详细]
2023-03-15 13:58 分类:问答open and write statements in Fortran
I am working through the Fortran tutorial at http://en.wikibooks.org/wiki/Fortran/Fortran_simple_input_and_output.In the following program, what does unit=out_unit do?[详细]
2023-03-15 11:06 分类:问答Reading a comma-delimited text file line-by-line in Fortran
I am a Fortran novice.I would like to be able to read a text file and save its contents in individual variables.I found a very helpful Fortran tutorial (http://www.math.hawaii.edu/~hile/fortran/fort7.[详细]
2023-03-15 02:26 分类:问答C -Subtle differences between pointers to doubles and arrays of doubles. Convert one to the other?
I\'ve been working on a program for a research project in physics.The program is written in C but uses a fortran function (it\'s called \"zgesv\" and it\'s from the LAPACK and BLAS libraries).[详细]
2023-03-14 06:18 分类:问答How can I differentiate "stack" memory from dynamic memory in Fortran?
Say I have a routine foo() that calls a routine bar(argument). Argument can either be a declaration \"on the stack\" (draw开发者_如何学Going a parallel to C) or it can be dynamically allocated. How ca[详细]
2023-03-13 22:34 分类:问答Fortran global work array vs. local dynamically allocated arrays
I am working with an older F77 code that has been upgraded to F9X.It still has some older \"legacy\" code structure and I\'m curious on the performance aspect towards adding code in the legacy way or[详细]
2023-03-13 09:24 分类:问答Reading a string with spaces in Fortran
Using read(*,*) in Fortran doesn\'t seem to work if the string to be read from the user contains spaces.[详细]
2023-03-12 21:03 分类:问答Calculating duration when you have hours, minutes, seconds, and milliseconds
I am writing a program in Fortran and I need a way of calculating the duration of the program down to milliseconds.I have been using the function \"date_and_time\", which leaves me with an array conta[详细]
2023-03-12 19:06 分类:问答Fortran pointer for reordered array to pass to procedure
I\'m trying to integrate two Fortran 9x codes which contain data arrays with opposite array开发者_JS百科 ordering.One code (I\'ll call it the old code) has an established library of subroutines and I[详细]
2023-03-12 15:49 分类:问答Considerable difference in results from c++ and fortran for same calculation [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-12 07:17 分类:问答