09-22-2010, 05:04 PM
Yes my first computer was Pentium IV
Now little bit about the calculation. Time is measured as time span between starting and ending the mathematical calculations. In this time is not included reading and writing the array data to files, only mathematical calculations are measured. In the program is implemented the complete Gauss Elimination procedure. I can say that this is real numerical application for solving the system of "n" equations. My intent was to compare the same mathematical calculations with different compilers. I didn't want to do any optimization. In my other post I am speaking about speed, where is used optimized numerical library "MKL". There the calculations are much faster when we are using MKL. But, in MKL are implemented other numerical methods and tricks for getting the faster solution.
Here is the link for comparing NET vs. MKL. Look at post #5
About the speed: I made other test on my notebook: CPU AMD Turion x2 1.9GHz with RAM 2GB on Win Xp sp3 and WIN7. The results for Both OS are same:
* VB NET 4.4sec
* Intel Fortran 10.2sec
* Lahey Fortran 10.3sec
What I can say VB NET 3.5 again 4.4sec and Fortran faster.
I do not know what is this???
Now I compiled VB code with VS2010 using Framework 4:
The speed for VB Net 4.0 is 11.2sec on my Notebook.
Here is VB NET 4.0 executable file.
What else I can say. You can't trust to any compiler.
Regards,
Igor
Now little bit about the calculation. Time is measured as time span between starting and ending the mathematical calculations. In this time is not included reading and writing the array data to files, only mathematical calculations are measured. In the program is implemented the complete Gauss Elimination procedure. I can say that this is real numerical application for solving the system of "n" equations. My intent was to compare the same mathematical calculations with different compilers. I didn't want to do any optimization. In my other post I am speaking about speed, where is used optimized numerical library "MKL". There the calculations are much faster when we are using MKL. But, in MKL are implemented other numerical methods and tricks for getting the faster solution.
Here is the link for comparing NET vs. MKL. Look at post #5
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
About the speed: I made other test on my notebook: CPU AMD Turion x2 1.9GHz with RAM 2GB on Win Xp sp3 and WIN7. The results for Both OS are same:
* VB NET 4.4sec
* Intel Fortran 10.2sec
* Lahey Fortran 10.3sec
What I can say VB NET 3.5 again 4.4sec and Fortran faster.
I do not know what is this???
Now I compiled VB code with VS2010 using Framework 4:
The speed for VB Net 4.0 is 11.2sec on my Notebook.
Here is VB NET 4.0 executable file.
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
What else I can say. You can't trust to any compiler.
Regards,
Igor