09-23-2010, 10:54 AM
I am also interested to see what is causing this assuming your source code uses the same algorithm in each case. I dont have any specific experience with fortran, however as I understand it the matrix manipulation and linear algebra libraries in MATLAB use the BLAS and LAPACK libraries which are compiled fortran77. As I understand it, FORTRAN is used for high performance computing due to its low overheads. I cant accept that VB is faster then fortran for this type of computing.
One thing I did notice for your .f90 file is that you are doing a lot of reading from file. I am not sure how you accomplished the same thing in VB, but I suspect that the difference in time might be somewhat related to this. If you are also reading a text file line by line in VB then the problem must be elsewhere.
elbarto
One thing I did notice for your .f90 file is that you are doing a lot of reading from file. I am not sure how you accomplished the same thing in VB, but I suspect that the difference in time might be somewhat related to this. If you are also reading a text file line by line in VB then the problem must be elsewhere.
elbarto
.