Sponsored Content
Full Discussion: Nonsense error in FORTRAN
Top Forums UNIX for Beginners Questions & Answers Nonsense error in FORTRAN Post 303045975 by AkaAlteir on Monday 20th of April 2020 04:49:16 PM
Old 04-20-2020
I've corrected the error you indicated before and now still appearing the same errors but doesn't show the line, the build log is:

Code:
-------------- Build: Debug in examen ejercicio2 (compiler: GNU Fortran Compiler)---------------

mingw32-gfortran.exe -Jobj\Debug\ -Wall  -g     -c "D:\Users\Luis Carlos Dorado\Desktop\examen ejercicio2\main.f95" -o obj\Debug\main.o
mingw32-gfortran.exe  -o "bin\Debug\examen ejercicio2.exe" obj\Debug\main.o   
D:\Users\Luis Carlos Dorado\Desktop\examen ejercicio2\main.f95:21:29: Error: Expected a right parenthesis in expression at (1)
D:\Users\Luis Carlos Dorado\Desktop\examen ejercicio2\main.f95:27:32: Error: Expected a right parenthesis in expression at (1)
  D:\Users\Luis Carlos Dorado\Desktop\examen ejercicio2\main.f95:32:31: Error: Expected a right parenthesis in expression at (1)


EDIT: I messed up with the exponentials so hard, thank you so much for your help sir!

Last edited by AkaAlteir; 04-20-2020 at 06:04 PM..
 

4 More Discussions You Might Find Interesting

1. Programming

Error running FORTRAN code

Hi, I am new to this forum and do not know whether this is the appropriate place to post this question. Anyway am trying my luck. I have a fortran program swanhcat.ftn, which is part of a wave modelling system. There is also a file hcat.nml which is required to run this program. The program's... (9 Replies)
Discussion started by: sandhyakg
9 Replies

2. Programming

Fortran runtime error: Insufficient data descriptors in format after reversion

Hello, I have some Fortran code that is providing the following error: At line 1165 of lapc_shells_2.f Fortran runtime error: Insufficient data descriptors in format after reversion Here are the lines just above and including 1165: WRITE (*,"('ATTEMPTING TO READ PLATE... (1 Reply)
Discussion started by: jm4smtddd
1 Replies

3. Homework & Coursework Questions

FORTRAN error *** glibc detected ***

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I'm doing aproximation of derivative called five-point stencil. For every value of x, in interval , in step... (0 Replies)
Discussion started by: antonija
0 Replies

4. Programming

Error in my FORTRAN program

I have a Fortran program and I am writing out to logical unit 7. The program is reading from a text file and writing to the new file formatted. It gets through the read and writes some to the file but then stops with the following error: 1525-013 The sequential WRITE statement cannot be... (5 Replies)
Discussion started by: KathyB148
5 Replies
All times are GMT -4. The time now is 10:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy