First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
template for module compilation
Before my steam bath yesterday, my ladyfriend and I were reading in the foyer. She can summon the courage to touch public magazines, while I seem to lean on old, familiar ways. So it was that I happened on MM's tree implementation, given as a module. They make you wait forever in places like that, so that yo... 26 Apr 2010 22:50
namelist read diagnositcs?
Hi, What am I missing? I can't figure out how to have Fortran warn me that it has truncated a character string during a namelist read... % cat > nml_string_truncation.f90 <<EOF program nml_string_truncation integer :: ios character(35) :: nml_contents = "&NMLIST NML_STRING='123456789' /" character(... 25 Apr 2010 22:17
Fortran in newly released JASON report
http://hardware.slashdot.org/story/10/04/24/2017222/Looking-Back-at-1984-Report-On-Radical-Computing Get the pdf file and start scanning, e.g., on page 54: Backus (1978), the father of FORTRAN, has' extensively examined this problem and has proposed the new language "fp." It Current research indicat... 24 Apr 2010 18:19
handling large character arrays
I need to keep in memory an array of around 60000 character variables, each element of which can have a max length of 4000 byres. But if you add up the lengths of all the actual data values, it is only 1/8 of 60000*4000. What would be the cleanest way to store this data to take advantage of this fact? Thanks... 24 Apr 2010 20:31
calling a c function
I would like to call a c function using the iso_c_binding. I thought I had a template for this in a place that I could readily access, but apparently, I don't. I have Mr&C and the Fortran 2003 Handbook as references. The idea is that I'm asking my OS a simple question like uname. To be returned from the C... 23 Apr 2010 20:42
FDIS
Hello, The FDIS (Final Draft International Standard) of Fortran 2008 is available from WG5's ftp server, maintained by NAG (thanks!) at ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1826.pdf It's about 8 MB. There are very small changes with the previous draft, repairs to typos and so on. Kudos to Malcolm ... 29 Apr 2010 14:39
g95 and FFTW
I'm using both in-place and out-of-place real-data FFT in the same program, with FFTW3. Something along those lines: DOUBLE PRECISION :: bR(2*(L/2+1),L) DOUBLE PRECISION :: aR(2*(L/2+1),L) DOUBLE COMPLEX :: aC(L/2+1,L) .... CALL dfftw_plan_dft_r2c_2d(plan1, L,L, aR,aC, FFTW_MEASURE) CALL dfftw_plan_dft_r2... 28 Apr 2010 10:33
assignment of coarray objects with allocatable components
Hi all, So I was reading the g95 site the other day and found this paragraph: "... sent in an illegal coarray code he had a derived type that he was assigning across images. On a regular code, this causes allocations to be copied. On a coarray code, this would have been hideous to implement. Fixed. It turns ou... 26 Apr 2010 16:03
Type extension and initialization of parent types
Is there any way in Fortran 2003 to initialize the components of the parent type when declaring an extended type? An old version of John Reid's summary of Fortran 2003 features (N1507) indicates that something like this might be possible: type :: base_t character(len=25) :: name = 'base' end typ... 23 Apr 2010 17:27
calling a c function
Uno <merrilljensen(a)q.com> wrote: I would like to call a c function using the iso_c_binding. I thought I had a template for this in a place that I could readily access, but apparently, I don't. I have Mr&C and the Fortran 2003 Handbook as references. The idea is that I'm asking my OS a simple que... 23 Apr 2010 17:27
First  |  Prev |  Next  |  Last
Pages: 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42