I am not an expert in programming but have some experi开发者_如何学Goence. It is more than a week that I am trying to read a data file from C into a Fortran program. C program saves a matrix in a bin
I do not understand the behavior of the present() intrinsic function with pgf90 7.2.I wrote a 20 line sample program to test this, but the results still make no sense to me.Observe:
Good practice dictates that subroutine 开发者_运维知识库arguments in Fortran should each have a specified intent (i.e. intent(in), intent(out) or intent(inout) as described this question):
I\'ve read about the save statement in the (Intel\'s) language reference document, but I cannot quite grasp what it does. Could someone explain to me in simple开发者_StackOverflow中文版 language what
I am using Intel\'s FORTRAN compiler to compile a numerical library.The test case prov开发者_运维技巧ided errors out within libc.so.6.When I attach Intel\'s debugger (IDB) the application runs through
I have an issue in Fortran 90. I have a user-defined type, and when I call one of the MPI subroutines the data looks to be passed by value (not address, as I thought it should). The output arguments
What is the best way to scatter a Fortran 90 matrix by its rows rather than columns?That is, let\'s say I have a matrix a(4,50) and I want to MPI_SCATTER it onto two 开发者_StackOverflowprocesses wher
I am a newbie in Fortran. Can any1 tell me how to define an integer array in prior. E.g. I want to define an array with no.of days in 12 months.