fortran90
Function call stopping/hanging when containing a write-statement, but only when linking with certain libraries during compilation
Here is my minimal example: program test implicit none real :: testfunc write(*,*) \"Writing from main\" write(*,*) testfunc()[详细]
2023-04-10 18:19 分类:问答Opening multiple files in Fortran 90
I would like to open 10,000 files with file names starting from abc25000 until abc35000 and copy some information into each file. The code I have written is as below:[详细]
2023-04-09 08:10 分类:问答FFTW: Trouble with real to complex and complex to real 2D tranfsorms
As the title states I\'m using FFTW (version 3.2.2) with Fortran 90/95 to perform a 2D FFT of real data (actually a field of random numbers).I think the forward step is working (at least I am getting[详细]
2023-04-06 15:16 分类:问答Calling function in same module in Fortran90
I am new to Fortran90 and I haven\'t found an answer to a problem I have. I have a module written in Fortran with the some functions inside a module.[详细]
2023-04-03 18:13 分类:问答Understanding parallel usage of Fortran 90
y(1:n-1) = a*y(2:n) + x(1:n-1) y(n) = c In the above Fortran 90 code开发者_如何学编程 I want to know how it is executed in term of synchronization, communication and arithmetic.[详细]
2023-03-26 20:36 分类:问答Meaning of the INTENT of arguments/variables within subroutines and functions in Fortran 90
I have a few questions about the INTENT of variables within a subroutine in Fortran.For example, several weeks ago, I posted a question about a different Fortran topic (In Fortran 90, what is a good w[详细]
2023-03-26 12:32 分类:问答Multiple statements on same line in FORTRAN 90
I have a whole series of assignments which I have put on the same ike using a \";\" to seperate the statemnts but I get this error:[详细]
2023-03-26 00:35 分类:问答Converting data stored in Fortran 90 binaries to human readable format
In your experience, in Fortran 90, what is the best way to store large arrays in output files?Previously, I had been trying to write large arrays to ASCII text files.For example, I would do something[详细]
2023-03-25 16:41 分类:问答Smart way to pass arguments in Fortran 90
I am a Fortran novice.I am trying to write a subroutine that will take in four arguments from the main program, and then outputs to the main program an array that involves the four arguments that were[详细]
2023-03-25 06:24 分类:问答How do I pass a string from Visual Basic 2010 to a Fortran DLL?
I can pass integers, singles, doubles, and arrays of all these back and forth with no problem.But I can\'t figure out how to pass a string in Visual Basic 2010 to a character variable in the Fortran D[详细]
2023-03-25 04:58 分类:问答