
About bhvj - Intel Community
This is a community forum where members can ask and answer questions about Intel products.
Question: Reading a large column (1D-array) and writing slices of …
2015年2月4日 · I am trying to read a large single column (which I am trying to read in as a 1-D array), and then to write slices of this array as rows until the end of the data. Please suggest me the best way to accomplish this task. Thanks in advance.
No, EOF is not specific to - Intel Community
2015年3月6日 · No, EOF is not specific to the DO loop, that;s just where you had it. While you can use EOF to test to see if you are at end of file, most Fortran programmers would add IOSTAT=integer-variable on each READ and test to see if it was negative, indicating an end of file. Or, they might use END= to bran...
List Directed I/O Error - Intel Community
2015年2月24日 · Thank you very much Lorri, Your detailed response helped me thoroughly understand to read my table into an array and then and then write the appropriate values from this table. As regards my other questions: (i) I am trying to use this program as a lookup table in order to retrieve a table value based on the year value as an index, that corresponds to a specified header, in order to use it in ...
EOF Question - Intel Community
2015年3月6日 · Hi I was trying to implement the EOF function, in order to read until end of the input file, as DO WHILE (.NOT. EOF(unit number of open file)) It gives the following error: forrtl: severe (24): end-of-file during read, unit 121, Attached herewith is the …
creating a batch file within FORTRAN - Intel Community
2015年2月11日 · I have a set of output files that are created by a FORTRAN program in a directory, with which I would like to perform a set of operations such as copy, rename, and execute another FORTRAN executable using these output files as the arguments, all in a batch mode. Is there a way in FORTRAN to perform ...
Calculating Number of Calendar Days in a Year - Intel Community
2015年9月15日 · I am trying to calculate the Number of Calendar Days in a Year (1 through 365/366) in every step, along with other calculations and output with the other calculated output. I tried to do this as in the attached program, but was not successful. I would appreciate any help or pointers in this regard. I was wondering if there is a Fortran intrinsic function for …
Implementing Table Lookup - Intel Community
2015年3月5日 · Implementing Table Lookup Subscribe bhvj Beginner 03-05-2015 02:22 PM 389 Views
I/O Question - Intel Community
2015年3月10日 · I have an input output question. I am trying to read the values as in the attached text file, until end of file, then multiply the last value (from beginning to end) by a coefficient (example 0.5) and output the table in the same format but with the modified last column. Attached herewith is a test program which I tried to write for this, which appears to go in an infinite loop.
Stepwise calculation for large datasets in Fortran
2015年2月28日 · Hi, I am trying to do stepwise calculations, for each day, by using an equation in a Fortran program, using the datasets, as in the attached (each dataset has 18262 values corresponding to 18262 days). The output of the program would be another new dataset in which the two datasets are combined per ...