fortran90 - How to deal with the extremely large expressions in Fortran? -
i have fortran program this,
program test integer,parameter :: f=selected_real_kind(20) real(kind=f)::b1,b2,c1,v,xd,xe,res b1=1._f b2=0.5_f v=1._f/3._f c1=0.25_f xd=0.2_f xe=1._f/6._f res= "extremely large expressions" write(*,*) res end program
res large expression, more 50000 lines. , cannot compile program using gfortran compiler. error reason is, out of memory allocating 65536 bytes suggestions welcome. thanks!
Comments
Post a Comment