Fortran code optimization# Computation - 科学计算
t*o
1 楼
Can anyone refer some good books or website on Fortran code optimization?
i.e. how to improve the code efficiency
I know if there two loop, one is 10 and another is 1000
do i = 1, 10
do j = 1, 1000
...
end do
end do
is better than
do i = 1, 1000
do j = 1, 10
...
end do
end do
Is there any other way to improve the efficiency?
i.e. how to improve the code efficiency
I know if there two loop, one is 10 and another is 1000
do i = 1, 10
do j = 1, 1000
...
end do
end do
is better than
do i = 1, 1000
do j = 1, 10
...
end do
end do
Is there any other way to improve the efficiency?