Writing binary output9107 (12/19/2011 4:34:47 PM) comp.lang.fortran Hello, I've spent at least a couple of hours trying to figure out how to output binary data with Fortran. Specifically, I want to write a PPM file because it is a very simple image format. The simplest PPM f... Daniel
Assembler error + large data857 (12/19/2011 11:23:04 AM) comp.lang.fortran Hello, I have a problem and I'm not sure if it is specific to GFortran or generic. My program needs to read a very large data file and I am getting a strange assembler error. It's clearly to do with the size... Daniel
TIFF files and data sets + General help.1693 (12/16/2011 1:38:02 PM) comp.lang.fortran Hello, I have a TIFF or NetCD file that I want to read as a data set, do some work with it, and produce a new image (any format) as output. Can anyone suggest a simple library that could help me with that? ... Daniel
"contains" statement.2038 (11/28/2011 1:07:01 AM) comp.lang.fortran Hello, I need help understanding the "contains" statement. In particular, why I cannot have two contains statements in a program: program test write (*,*) "Life" contains subroutine foo ... Daniel
Does random_number() use a standardized algorithm?1346 (10/31/2011 9:29:33 PM) comp.lang.fortran Hello, In GFortran, the F90 intrinsic random_number() uses George Marsaglia's KISS algorithm. Does anyone know if the Fortran 95 standard actually specify what algorithm you are supposed to use? Or is it up ... Daniel
Build Automation Tools for F901472 (10/27/2011 12:10:45 PM) comp.lang.fortran Hello, I've recently become interested in alternatives to Make for building Fortran applications. I have looked at CMake, Premake, SCons, Waf, and many others. Does anyone here use anything other than hand-... Daniel
Recommend an ODE integrator?3167 (10/18/2011 2:19:51 PM) comp.lang.fortran Hello, I hope this question is not too off-topic. Can someone recommend an ODE integration method that might out-perform Runge-Kutta 4 for a simple N-body simulation? I strongly prefer methods that are easy... Daniel
3D plotting/animation library.14137 (10/5/2011 3:03:43 PM) comp.lang.fortran Hello, I'm making an N-body simulation with one star and many (e.g. 10^6) test particles. I think it would be nice if I could make a movie / animation of the entire simulation and I was wondering if anyone k... Daniel
Internal procedure not allowed as argument1340 (10/3/2011 12:32:57 PM) comp.lang.fortran Hello, I'm back at school and I'm going over all the programs I wrote last semester. I have a piece of code that used to work and now refuses to compile. I'm using GFortran 4.4.3. The offending routine is a... Daniel
is real*8 a standard declaration style?8785 (10/29/2011 12:14:19 PM) comp.lang.fortran Hi there, In many code written in Fortran 77, real*8 or real*4 were commonly used type declaration. similar, there are many integer*2, integer*4 type declaration. I hope to know whether it is a standard dec... jszhao(77)
Does random_number() use a standardized algorithm?1346 (10/31/2011 9:29:33 PM) comp.lang.fortran Hello, In GFortran, the F90 intrinsic random_number() uses George Marsaglia's KISS algorithm. Does anyone know if the Fortran 95 standard actually specify what algorithm you are supposed to use? Or is it up ... daniel8127(276)
gfortran quad precision bug20115 (11/5/2011 1:54:04 AM) comp.lang.fortran The following program integer,parameter :: qp=selected_real_kind(20) real(qp) :: q q=1 print *,q print '(f4.2)',q end gives this output on Win32, MinGW32 gcc version 4.6.2 from equation solution 1.000... epc8(1259)
"contains" statement.2038 (11/28/2011 1:07:01 AM) comp.lang.fortran Hello, I need help understanding the "contains" statement. In particular, why I cannot have two contains statements in a program: program test write (*,*) "Life" contains subroutine foo ... daniel8127(276)
New book1069 (12/16/2011 2:10:20 AM) comp.lang.fortran The expression 'modern Fortran' seems to be catching on: http://www.amazon.com/Modern-Fortran-Norman-S-Clerman/dp/052173052X/ref=tmm_pap_title_0?ie=UTF8&qid=1324001265&sr=1-2 Regards, Mike Metcalf ... michaelmetcalf(810)
TIFF files and data sets + General help.1693 (12/16/2011 1:38:02 PM) comp.lang.fortran Hello, I have a TIFF or NetCD file that I want to read as a data set, do some work with it, and produce a new image (any format) as output. Can anyone suggest a simple library that could help me with that? ... daniel8127(276)
Assembler error + large data857 (12/19/2011 11:23:04 AM) comp.lang.fortran Hello, I have a problem and I'm not sure if it is specific to GFortran or generic. My program needs to read a very large data file and I am getting a strange assembler error. It's clearly to do with the size... daniel8127(276)
Writing binary output9107 (12/19/2011 4:34:47 PM) comp.lang.fortran Hello, I've spent at least a couple of hours trying to figure out how to output binary data with Fortran. Specifically, I want to write a PPM file because it is a very simple image format. The simplest PPM f... daniel8127(276)