Runtime Definition and 27 Threads
-
DEC runtime library for Fortran in Visual studio 2022
trying to revive some stuff from 40 years ago. Found I could download and install Intel Fortran which seems to be a descendant from an old DEC VMS friend. Even managed to get it 'integrated' into Visual Studio 2022 (somewhat; haven't got a decent help or debug facility running yet... and no idea...- BvU
- Thread
- Fortran Runtime
- Replies: 11
- Forum: Computing and Technology
-
U
Fortran Fixing Fortran Runtime Error for Beginner
Hi, I am a beginner of Fortran. Recently I try to use a fortran code for my simulation. But it always shows me the following error when execute the program: At line 18 of the file sous.f (unit =11, file = 'fluid'), fortran runtime error, End of file, Error termination. Backtrace: could not print...- USTCkong
- Thread
- Error Fortran Gfortran Runtime
- Replies: 17
- Forum: Programming and Computer Science
-
K
Fortran Runtime error while reading file in fortran90
I'm new to fortran coding and trying to read a file called "data.dat" with data like a triangular matrix 0.1 0.1 0.2 0.1 0.2 0.3 0.1 0.2 0.3 0.4 0.1 0.2 0.3 0.4 0.5 using the code PROGRAM matrix IMPLICIT NONE REAL, DIMENSION(5,5) :: a INTEGER :: row,col,max_rows,max_cols max_rows=5...- kranthi4689
- Thread
- Error File Fortran Fortran90 Reading Runtime
- Replies: 5
- Forum: Programming and Computer Science
-
L
Fortran Modifying a library not to stop at runtime errors
Hello everyone, I'm trying to solve a BVP that seems to be very sensitive, for which I have to provide a starting guess and hope the program can fix it to find a solution. The program has been tested many times and it is very solid, the only problem should be that I can't find the right guess...- LlamaLove
- Thread
- Error Errors Fortran77 Libraries Runtime
- Replies: 9
- Forum: Programming and Computer Science
-
S
Runtime of the line where a recursive call happens = ?
Homework Statement What is the runtime complexity for the following (pseudo-code) algorithm?: Algorithm MyAlgorithm(A, n) Input: Array of integer containing n elements Output: Possibly modified Array A done ← true j ← 0 while j ≤ n - 2 do if A[j] >...- s3a
- Thread
- Line Runtime
- Replies: 10
- Forum: Engineering and Comp Sci Homework Help
-
M
Java Help-Improving runtime complexity of the method
Hello everyone, Looking for a more efficient solution to method 'what', in terms of run-time complexity and space. The method finds the largest cell sequence that the organs sum is divided by 3.(Correct me if I'm wrong) As it seems runtime complexity here is O(n ^ 3). I came to solution of O(n ^...- moshiko
- Thread
- Complexity Method Runtime
- Replies: 4
- Forum: Programming and Computer Science
-
How to calculate Battery run-time?
I can't get my head around question about energy consumption, energy supply and run-time. I think I forgot (Im sure I forgot) something in my equation. I am trying to find a way to calculate for how long could UPS supply my PC I don't know why I can't find Amp-hours of UPC on it but let's assume...- Artahir
- Thread
- Battery Energy Runtime Supply
- Replies: 4
- Forum: Electrical Engineering
-
How to know the runtime of triggers
I am not if this belongs here or anywhere else, but ok... Suppose we create an algorithm that does some online job during the data-acquisition of the run of a detector... How can we know whether our algorithm is slow for our needs? For example ATLAS has some trigger levels and the Level 2 +...- ChrisVer
- Thread
- Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
H
Fortran Solving Fortran Runtime Error 112 - Mach Number Calculation
Hi, I try to write program to calculating mach number, with using bisection method. When I run program, fortran write to me an error in line 40. Can you help? I tried to calculating function by using wolfram sucesfully but I need to run it on fortran, An equation is 1.7795 - (0.334898 (1 + 0.2...- Hejmore
- Thread
- Complex Error Fortran Runtime
- Replies: 3
- Forum: Programming and Computer Science
-
S
Fortran Fortran (90) runtime error: End of file
I am using fortran 90 to find the prime numbers (1-100). When I print to the console, everything works. If I try to write to an text file (.out). This is from my command line: Sues-MacBook-Air:FORTRAN sueparks$ gfortran PRIME.f90 Sues-MacBook-Air:FORTRAN sueparks$ ./MY_PRIME.out PROGRAM PRIME...- Sue Parks
- Thread
- Error File Fortran Runtime
- Replies: 19
- Forum: Programming and Computer Science
-
F
Fortran Fortran runtime error: Sequential READ or WRITE not allowed
Dear Forum users, I am running a program called NMTO package for constructing Wannier functions for a material. It uses a code plotnmto.f90 to calculate wannier isosurfaces within the mesh defined by me. I compiled the code in gfortran. After defining the mesh when I ran the program for...- fort_phys
- Thread
- Error Fortran Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
Fortran Why am I getting a Fortran runtime error when trying to print more values?
Hi guys, I've been tinkering with this code for a while now, as you probably have seen from my other threads. Right now I am working on changing the code around so that it actually writes out the correct output instead of the old output. I am getting this runtime error: At line 2057 of file...- Matterwave
- Thread
- Error Fortran Runtime
- Replies: 12
- Forum: Programming and Computer Science
-
Runtime of Seemingly Unpredictable Division Algorithm
Last week on my computer science assignment I had to write a division algorithm using only addition and subtraction to tackle a problem. My first attempt was the simple and naive repeated subtraction, although I quickly discovered it was not nearly efficient enough for how I needed to use it, So...- matineesuxxx
- Thread
- Algorithm C programming Division Runtime
- Replies: 7
- Forum: Programming and Computer Science
-
M
Fortran Fortran runtime error: End of file
Dear all, I want to read file "d1.dat": 1.025000+7 5.794453+0 1.050000+7 5.770080+0 1.075000+7 5.750135+0 1.100000+7 5.734860+0 1.125000+7 5.724448+0 1.150000+7 5.719060+0 1.175000+7 5.718829+0 1.200000+7 5.723865+0 1.219440+7 5.730802+0 1.225000+7 5.732945+0 1.250000+7 5.743325+0...- marlh
- Thread
- Error File Fortran Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
K
Fortran FORTRAN Problem Runtime Error: End of File
FORTRAN Problem! "Runtime Error: End of File" Hey everyone, back again with another Fortran question. I am getting the runtime error in Fortran "End of Line". I have tried to simply understand what this means, but I am not getting much help from Google. I have pasted my code below, and...- karenmarie3
- Thread
- Error File Fortran Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
N
Fortran Integrating User-Defined Functions in Fortran 95: Troubleshooting Runtime Errors
Hi! I'm trying to write a function that will integrate a user given function. I am having trouble with reading the function. Here is a section of my code: [FONT="Courier New"]function f(x) implicit none real :: x,f,p print *,'Type a probability density function' read *, p !It doesn't...- ngendler
- Thread
- Error Fortran Runtime
- Replies: 13
- Forum: Programming and Computer Science
-
Fortran Fortran90 problem, runtime error
Hello, I've been playing around with some code (as shown below) and for some reason everytime i run this code I am told: At line 11 of file tester.f90 Fortran runtime error: End of file I'm not really sure what's causing it, is it the position of my Open file? Any help would be much...- Saxby
- Thread
- Error Fortran90 Runtime
- Replies: 1
- Forum: Programming and Computer Science
-
C
Kill-A-Watt meter alters runtime on UPS?
I’m hoping someone can help me. I have several UPSs. Among them is a cheap Newpoint UPS. It’s something like 275W/550VA. I think the battery is dead or near-dead, was recently experimenting with it to confirm, and found some very interesting behavior. I have a 120V lamp with a LED bulb in...- calvin76
- Thread
- Meter Runtime
- Replies: 5
- Forum: Electrical Engineering
-
M
Solving MIPS Runtime Error: Address Out of Range 0x00000000
Hi there, Not sure if this is the right place to post, but I seem to get a runtime error that says: address out of range 0x00000000. I think that it's probably in the first three lines of my code, but any idea as to what else it may be? Thanks so much! .data save: .word 1,2,4 size...- m00nbeam360
- Thread
- Error Mips Runtime
- Replies: 1
- Forum: Programming and Computer Science
-
T
How to lookup symbols at runtime?
Is there a library with which I can lookup the value of a given symbol in Linux? Also, I've read that C++ name manglingboth unstandardized and difficult. Are there libraries for GCC or Clang? I want use these to build a GUI that uses HTML to design the interface and symbol lookup to allow...- TylerH
- Thread
- Runtime Symbols
- Replies: 3
- Forum: Programming and Computer Science
-
F
MHB Why is the runtime of Merge Sort O(n log n)?
For megre sort alogirthm the runtime is T(n)=nb+cnlog(n). It's not quite clear to me why this is O(nlogn) is it because b and c are constants?- find_the_fun
- Thread
- Runtime Sort
- Replies: 1
- Forum: Programming and Computer Science
-
S
Fortran Solving a Runtime Error: Investigating Beta(i,j)
I'm n facing a runtime error and do not know the reason.Also, I found where is the run time error in the code below but am at no clues, why it is occurring. Actually when j=2 and i=1, the beta(i,j) is not getting calculated- that is, the print statement for beta(i,j) is not executed when j=2...- svishal03
- Thread
- Error Runtime
- Replies: 1
- Forum: Programming and Computer Science
-
T
Is the Worst Runtime of This Algorithm Θ(n^2)?
Hello guys,I decided to try and do a problem about analyzing the worst possible runtime of an algorithm.Since I'm a beginner and I want to do an understand this right I require some help. I came accros this problem in a book that uses the following algoritthm Input: A set of n points (x1, y1), ...- TiberiusK
- Thread
- Algorithm Runtime
- Replies: 6
- Forum: Programming and Computer Science
-
C
How to Fix Runtime File Reading Error in Fortran Code?
I frequently get the same runtime error when using g77. Here is the error message: fmt: end of file apparent state: unit 16 named vi1.src last format: (F10.6) lately reading sequential formatted external IO abnormal program termination I have added to my code the REWIND statement...- chaim
- Thread
- Error File Reading Runtime
- Replies: 7
- Forum: Programming and Computer Science
-
D
Fix VBA Runtime 1004 Error in Excel Program
This is my first attempt at writing a VBA program. I am just trying to square items in excel in column 'A' and output the answer to column 'B'. Option Explicit Sub timestimes() Dim n As Integer Dim i As Integer Dim z As Integer n = Range("A").Count For i = 1 To n z =...- dmatador
- Thread
- Error Runtime
- Replies: 2
- Forum: Programming and Computer Science
-
R
C Language: Runtime Library Standards & Operating Systems
Is it true that the the makers of the programming language C get to specify standards for runtime libraries, and operating manufacturers must implement those standards in the runtime libraries they provide for C? Or do the operating system manufacturers tell the makers of C "here are my system...- RedX
- Thread
- Libraries Runtime
- Replies: 7
- Forum: Programming and Computer Science
-
C++ Runtime Error Fix: Help Find What I've Done Wrong
Maybe someone can help find what I've done wrong. I'm using Windows XP, 2.3GHz, 80GB, 256MB, Student Version of MS Visual C++ .NET, 2003 version I've opened a file up for input, which works fine, but as soon as I try to pull information from the file, it gives exception errors in memory...- enigma
- Thread
- C++ Error Runtime
- Replies: 4
- Forum: Introductory Physics Homework Help