09-04-2015
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 completed because an errno value of 25 (Not a typewriter) was received while writi
ng the file ACA_TRANSMIT.XML. The program will stop.
I have looked for the error and can only discern it is some type of I/O error, but I cannot find a way to resolve it.
There are many WRITE statements and quite a lot of FORMAT statements, so I'm not sure where to begin. If the source file is changed, the program stops at different places in the write.
I am running a combo FORTRAN77/90 on UNIX AIX editor.
10 More Discussions You Might Find Interesting
1. Linux
Hi everybody:
Could anybody help me where could I download Fortran 90 complier?
Thanks in advance. :) (2 Replies)
Discussion started by: tonet
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have a FORTRAN code that I want to compile using F90 compiler. However,
when I enter the command:
f90 ./code.f -o ./code.out
It would give me prompt saying that absoft license has failed, or something.
I remember, however, that I could enter some keyword that ends with 'soft'
in... (1 Reply)
Discussion started by: Iamthe great
1 Replies
3. Programming
Hello,
we are a group of students (mechanical engineering) who are trying to port UNIX-software to a PC Linux system during a study project. The first goals were achieved: compiling the Fortran code and creating object files. However, we encounter errors during the linking process.
This is... (0 Replies)
Discussion started by: Dynamo
0 Replies
4. Programming
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
5. Programming
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
6. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I was given this program to work with that is supposed to work as it is. It comes with a makefile so all I should have to do is use the make command, then type ./blub to execute the program. A list of data should then appear in the... (3 Replies)
Discussion started by: Arjani
3 Replies
7. Shell Programming and Scripting
Need assistance in Fortran Compiler
I need to install Fortran compiler on Linux distribution . I don't have root access to use rpm or yum to install compiler . Is there any way I can get it ?
Are there any sites that has fortran compiler . Any links to download and install . (10 Replies)
Discussion started by: ajayram_arya
10 Replies
8. Programming
I am writing some code in fortran that defines certain shapes.
Currently I have a cuboid and a prism. Now a parallelepiped is both a cuboid and a prism. Is there a way to code this?
Currently I only have
Type, Extends (Cuboid) :: Parallelepipied
How can I do so that Parallelepipied is... (3 Replies)
Discussion started by: kristinu
3 Replies
9. Homework & Coursework Questions
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
10. Programming
Dear folks
I have a large data set which contains 400K columns. I decide to select 50K determined columns from the whole 400K columns. Is there any suggested fortran program which could do this process for me? I need to also mention that I store all of the columns id in one file which may help... (1 Reply)
Discussion started by: sajmar
1 Replies
FORTRAN(1) User Commands FORTRAN(1)
NAME
Fortran - Reports statistics regarding an HDF5 file and the objects in the file.
DESCRIPTION
usage: h5fc [OPTIONS] <compile line>
OPTIONS:
-help This help message.
-echo Show all the shell commands executed
-prefix=DIR
Prefix directory to find HDF5 lib/ and include/
subdirectories [default: /usr]
-show Show the commands without executing them
-showconfig
Show the HDF5 library configuration summary
-shlib Compile with shared HDF5 libraries
-noshlib
Compile with static HDF5 libraries [default]
<compile line>
- the normal compile line options for your compiler.
h5fc uses the same compiler you used to compile HDF5. Check with your compiler's man pages for more information on which options are
needed.
You can override the compiler and linker to compile your program by setting the following environment variables accordingly:
HDF5_FC
- use a different Fortran 90 or 95 compiler
HDF5_FLINKER
- use a different linker
HDF5_USE_SHLIB=[yes|no]
- use shared or static version of the HDF5 library
[default: no]
You can also add or change paths and flags to the compile line using the following environment varibles or by assigning them to
their counterparts in the 'Things You Can Modify to Override...' section of h5fc
Variable
Current value to be replaced
HDF5_FFLAGS
""
HDF5_LDFLAGS
""
HDF5_LIBS
""
Note that adding library paths to HDF5_LDFLAGS where another hdf5 version is located may link your program with that other hdf5
library version.
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc.
GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU
General Public License. For more information about these matters, see the file named COPYING
SEE ALSO
The full documentation for Fortran is maintained as a Texinfo manual. If the info and Fortran programs are properly installed at your
site, the command
info Fortran
should give you access to the complete manual.
Fortran (Debian 4.6.1-4) 4.6.1 August 2011 FORTRAN(1)