forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 38 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Multiple columns in a single output file?
pban92

Replies: 2
Views: 4266

PostForum: Support   Posted: Wed Jun 01, 2011 12:43 am   Subject:
....Your calculation in MEAN does not look correct to me. I'm not sure of your use of i and j, such as avg(i).....

I sure did not mean it that way. So fixed it as follows,

DO i = 1, n
su ...
  Topic: Multiple columns in a single output file?
pban92

Replies: 2
Views: 4266

PostForum: Support   Posted: Tue May 31, 2011 11:10 pm   Subject: Multiple columns in a single output file?
I have 16 txt files each containing 10,000 data. Now I am trying to calculate average value of each file and put the results in one single file. The result file should have 3 columns and 8 rows. The f ...
  Topic: Compiling and linking taking too long!
pban92

Replies: 14
Views: 12484

PostForum: Support   Posted: Fri May 13, 2011 1:32 pm   Subject:
Thanks John! I changed \check and tried with both debug.net and debug win32 without knowing what they exactly do. But the compilation and linking worked really fast! (Now I am wondering if one of thes ...
  Topic: Compiling and linking taking too long!
pban92

Replies: 14
Views: 12484

PostForum: Support   Posted: Fri May 13, 2011 1:09 pm   Subject:
Here are the subroutines as they did not fit in one post.


SUBROUTINE READDATA(y,n,seqfname)
IMPLICIT NONE
INTEGER::i,ierr
INTEGER,INTENT(out)::n
DOUBLE PR ...
  Topic: Compiling and linking taking too long!
pban92

Replies: 14
Views: 12484

PostForum: Support   Posted: Fri May 13, 2011 12:52 pm   Subject: Compiling and linking taking too long!
Previously my program compiled and linked very fast. But for unknown reasons, now this is taking ages. What usually causes such lengthy compiling and linking? Pls comment. Here is the code,




...
  Topic: Multifle file handling with different sequences
pban92

Replies: 2
Views: 4227

PostForum: Support   Posted: Fri Apr 29, 2011 6:32 pm   Subject: Multifle file handling with different sequences

DO seqnum = 1,857,8
WRITE(seqfilein(5:7),'(I3.3)')seqnum
WRITE(*,*)seqfilein
OPEN (UNIT=10,FILE=seqfilein,STATUS='OLD',ACTION='READ',IOSTAT=ierr ...
  Topic: Approximating time gradient
pban92

Replies: 1
Views: 3540

PostForum: Support   Posted: Mon Apr 04, 2011 12:26 pm   Subject: Approximating time gradient
Hello,

I have a two-column discrete data file with 10,000 rows. The first column is the time (t) and the second is the velocity data (v) where time increment, Delta-T = 0.0001.
I am trying to fin ...
  Topic: Mirror and shifting of data
pban92

Replies: 6
Views: 6831

PostForum: Support   Posted: Thu Mar 10, 2011 6:40 pm   Subject:
This solved the problem.


do i = 1,length
newcore(i) = core(length-i+1)
end do


do i = 1,length
newcore(length+i) = core(i)
end do


Many thanks for the ...
  Topic: Mirror and shifting of data
pban92

Replies: 6
Views: 6831

PostForum: Support   Posted: Thu Mar 10, 2011 2:18 pm   Subject: Mirror and shifting of data
Hello,

Here is my original function http://s2.postimage.org/28j2bh57o/curve0.jpghttp://s3.postimage.org/l2e28nic/curve1.jpgreal, dimension (100) :: oldvalue
real, dimension (20 ...
  Topic: How to append inverted data
pban92

Replies: 3
Views: 5005

PostForum: Support   Posted: Thu Mar 10, 2011 11:21 am   Subject:
Did not realize "appending" is that simple to an output file! However, I am still unable to figure out how to do that within the code in the case below,

sum=0.
DO i = 1,n
sum(i) ...
  Topic: How to append inverted data
pban92

Replies: 3
Views: 5005

PostForum: Support   Posted: Wed Mar 09, 2011 5:02 pm   Subject: How to append inverted data
Hello all,

I have a one column data file, let's say, containing,

1
2
3
4
5

Now I would like to invert (not sorting) the column and append with the existing one to a new file as in,

1
...
  Topic: Floating point co-processor fault at address <number>
pban92

Replies: 2
Views: 12687

PostForum: General   Posted: Thu Dec 02, 2010 2:39 pm   Subject:
Thank you Carl. The error came from divided by zero from "sum2=0".
Your last suggestion was really helpful.

Cheers!
  Topic: Floating point co-processor fault at address <number>
pban92

Replies: 2
Views: 12687

PostForum: General   Posted: Tue Nov 30, 2010 5:44 pm   Subject: Floating point co-processor fault at address <number>
The following declarations are provoking the error as shown in the post subject.


REAL :: sum2,sum3,skewn
INTEGER :: n
DOUBLE PRECISION, DIMENSION(n) :: ...
  Topic: Writing output results into one file
pban92

Replies: 1
Views: 4229

PostForum: General   Posted: Thu Nov 25, 2010 3:30 pm   Subject: Writing output results into one file
Hello all,

Here is my program which is taking multiple input files and producing same number of output files. For example, I have 50 input files, the program is calculating the mean of the data the ...
  Topic: Writing multiput files
pban92

Replies: 4
Views: 5687

PostForum: General   Posted: Wed May 05, 2010 12:51 pm   Subject:
Many thanks for your kind suggestion!
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group