comp.lang.fortran
  Home FAQ Contact Sign in
comp.lang.fortran only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.fortran Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  paypal wholesale Crown Holder jeans (paypal accept)(www good-saler cn )         


Author: cheaplv
Date: Jul 13, 2008 23:03

paypal wholesale Crown Holder shirt (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder hat (paypal accept)(www good-saler cn )
paypal wholesale Crown Holder hoody (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder jeans (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder sunnglass (paypal accept)(www good-saler
cn )

paypal wholesale Crown Holder shirt (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder hat (paypal accept)(www good-saler cn )
paypal wholesale Crown Holder hoody (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder jeans (paypal accept)(www good-saler
cn )
paypal wholesale Crown Holder sunnglass (paypal accept)(www good-saler
cn )
Show full article (6.32Kb)
no comments
  paypal wholesale Armani hoody (paypal accept)(www good-saler cn )         


Author: cheaplv
Date: Jul 13, 2008 22:59

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )
Show full article (5.76Kb)
no comments
  paypal wholesale Armani jeans (paypal accept)(www good-saler cn )         


Author: cheaplv
Date: Jul 13, 2008 22:57

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )

paypal wholesale Armani shirt (paypal accept)(www good-saler cn )
paypal wholesale Armani hat (paypal accept)(www good-saler cn )
paypal wholesale Armani hoody (paypal accept)(www good-saler cn )
paypal wholesale Armani jeans (paypal accept)(www good-saler cn )
paypal wholesale Armani sunnglass (paypal accept)(www good-saler cn )
Show full article (5.76Kb)
no comments
  system         


Author: rudra
Date: Jul 13, 2008 21:35

dear friends,
if i make a command
sys=system('uname -a'),
then sys=0
but what i want is the output of unix command uname -a.
how can i achive this?
9 Comments
  Multi-Dimensional Arrays. Is it possible more than seven dimensions?         


Author: mforets
Date: Jul 13, 2008 19:36

Hello. I have a problem on trying to define an array with eight
dimensions. I tried the following:
integer :: N=10
complex,dimension(-N:N,-N:N,0:1,0:1,-N:N,-N:N,0:1,0:1) :: P

, but i get an error when compiling that the array cannot have more
than seven dimensions.
I'm working under gfortran version 4.3.0 .
Thank you for any recommendation on what to do, or suggestion about an
alternate solution.
5 Comments
  Unknown construction         


Author: Jörgen Tegnér
Date: Jul 13, 2008 02:11

Hi list,

can anyone tell me what the construction below is called? And is it f90
or f95 or some extension? My f77 book doesn't have it and I haven't found
it in the f90 texts googled so far.

FUNCTION BVP_LINSPACE(A,B,NPTS) RESULT(X)
!----------------------------------^Whats this called?
!
INTEGER :: NPTS
DOUBLE PRECISION :: A,B
DOUBLE PRECISION :: X(NPTS)
INTEGER :: K
DOUBLE PRECISION :: DELTA
NPTS = MAX(NPTS,2)
DELTA = (B - A) / (NPTS - 1)
X = (/ (A + DELTA*(K-1), K = 1,NPTS) /)
END FUNCTION BVP_LINSPACE

The code is from http://cs.stmarys.ca/~muir/BVP_SOLVER_Files/BVP_M.f90
with comments removed.
Show full article (0.85Kb)
20 Comments
  Derived Types, Allocatable Elements and Vectorization         


Author: rcs
Date: Jul 12, 2008 12:46

The code segment given below demonstrates the issue that I currently
face. The code compiles without error in this state. However, if the
line near the end is uncommented, the compiler fails with the
following message

"Error: A component cannot be an array if the encompassing structure
is an array" [aI].

Is it supposed to work in this form?

I am interested in writing it this way for the purposes of
vectorization.

The compiler being used is the latest Intel VF 10.1.**

Thanks
RS

program TestUserDefinedType

implicit none
!---------------------------------------------------------
!---------------------------------------------------------
type Inner

real, allocatable :: aI(:)
real :: aJ
Show full article (1.58Kb)
4 Comments
  defined operator & assignment speed & memory usage problem         


Author: Damian
Date: Jul 12, 2008 08:49

This is a slightly modified reposting of an earlier posting that
received no replies:

C++ has a construct referred to as expression templates that make it
possible to greatly increase the speed and decrease the memory
utilization of programs that use overloaded arithmetic ("defined
operators and assignments" in Fortran). While I don't know enough to
advocate adopting the C++ approach, I do think that not having a
solution to the problem expression templates solves puts Fortran at a
very significant disadvantage in performance and it seems to me that
performance is one of the most cited reasons for using Fortran.

Consider the following:

type(foo) :: a,b,c,d

d = a + b*c

where =, +, and * are a defined assignment and two defined operators.
Since many (most?) modern microprocessors can perform a multiply/add
combination in a single clock cycle, it's a travesty to have separate
procedures for + and *. But combining them into one procedure such
as

d = add_multiply(a,b,c)
Show full article (2.77Kb)
24 Comments
  error while writing the data         


Author: Ganesh Diwan
Date: Jul 11, 2008 23:30

hi

I have a Fortran program which solves the acoustic wave equation using
Finite Element Method.
i am using Compaq visual fortran compiler (v 6.6) on a 32 bit windows
xp machine.

I get following error when the program tries to write the matrix on
the disk.

===================================================================
forrtl: An attempt was made to move the file pointer before the
beginning of the
file.
forrtl: severe (38): error during write, unit...
Show full article (1.59Kb)
2 Comments
  rpc's comments on Fortran 2008, part 3         


Author: robert.corbett
Date: Jul 11, 2008 22:25

Title: Fix error in type equivalence

Paragraph 2 of Section 4.5.1.3 states

Data entities in different scoping units also
have the same type if they are declared with
reference to different derived-type definitions
that specify the same type name, ...

Why should it matter that that the data entities
are in different scoping units? Shouldn't the
same rules apply if the data entities are in the
same scoping unit? The answer to the first
question is that it should not matter, and the
answer to the second is that the same rules
should apply.

Examination of the first paragraph of Section
4.5.3.1 reveals what likely happened. That
paragraph states
Show full article (4.13Kb)
13 Comments
1 2 3 4