Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

binfmtf95-interpreter(1) [debian man page]

binfmtf(1)							     binfmt_C								binfmtf(1)

NAME
binfmtf-interpreter - binfmt_misc fortran handler SYNOPSIS
binfmtf-interpreter fortran-source-file-name [command-line opions ...] DESCRIPTION
binfmtf95-interpreter compiles a fortran source file specified on the command-line using the gfortran compiler, and executes the resulting file. It is designed to be used as a handler for binfmt_misc handler, which is a system used in Linux for handling arbitrary files as executa- bles. The command-line options are passed on to the compiled binary. FILE MAGIC
There is a requirement for Fortran source files to have the magic characters ! BINFMTF95: at the beginning of the file. That line also is used to specify the additional command-line options for Fortran compiler. ENVIRONMENT
GFORTRAN The compiler used. The default is to use gfortran BINFMTCTMPDIR Temporary directory used for binary and execution. Falls back to $TMPDIR $TEMPDIR or /tmp BINFMTC_DEBUG enables debug output if set. BINFMTC_GFORTRAN_OPTS Additional Gfortran options. Use BINFMTC_DEBUG to verify the options being passed on to gfortran. The default is -O2 -Wall AUTHOR
Junichi Uekawa (dancer@debian.org) Upstream page is available at http://www.netfort.gr.jp/~dancer/software/ SEE ALSO
binfmtasm-interpreter(1), binfmtc-interpreter(1), binfmtcxx-interpreter(1), binfmtf-interpreter(1), binfmtgcj-interpreter(1) binfmt_misc Dancer 2005 Jun 4 binfmtf(1)

Check Out this Related Man Page

binfmtc(1)							     binfmt_C								binfmtc(1)

NAME
binfmtc-interpreter - binfmt_misc C handler SYNOPSIS
binfmtc-interpreter C-source-file-name [command-line opions ...] DESCRIPTION
binfmtc-interpreter compiles a C source file specified on the command-line using C compiler, and executes the resulting file. It is designed to be used as a handler for binfmt_misc handler, which is a system used in Linux for handling arbitrary files as executa- bles. The command-line options are passed on to the compiled binary. FILE MAGIC
There is a requirement for C source files to have the magic characters /*BINFMTC: at the beginning of the file. That line also is used to specify the additional command-line options for C compiler. ENVIRONMENT
GCC The compiler used. The default is to use gcc CC The compiler used, if GCC variable is not set. BINFMTCTMPDIR Temporary directory used for binary and execution. Falls back to $TMPDIR $TEMPDIR or /tmp BINFMTC_DEBUG enables debug output if set. BINFMTC_GCC_OPTS Additional GCC options. Use BINFMTC_DEBUG to verify the options being passed on to gcc. The default is -O2 -Wall -g AUTHOR
Junichi Uekawa (dancer@debian.org) Upstream page is available at http://www.netfort.gr.jp/~dancer/software/ SEE ALSO
binfmtasm-interpreter(1), binfmtcxx-interpreter(1), binfmtf-interpreter(1), binfmtf95-interpreter(1), binfmtgcj-interpreter(1) binfmt_misc Dancer 2009 Feb 8 binfmtc(1)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

Executing command line options

Can someone please tell me how to modify/add to this code so that it recognizes UNIX command options (all beginning with "-") and executes the command with options? #include<stdio.h> #include<stdlib.h> int main(int argc, char *argv) { int i; system("stty -echo"); ... (8 Replies)
Discussion started by: Safia
8 Replies

2. UNIX for Dummies Questions & Answers

old server crashed

Hello We had an old system designed in fortran that ran on a IBM RS6000 AIX 3.2 system. The person who designed is long gone. It was replaced with a completely different (non unix) system 6 years ago. We still used it for historical lookups of older information. Well yesterday it died. The... (5 Replies)
Discussion started by: billfaith
5 Replies

3. Programming

When I am writing my own interpreter...

While trying out my hand at writing an interpreter, I was wondering about a a few issues one of which is the following: When I run a command such as jobs in the shell, I get a list of all the background jobs that are running... But if I need my interpreter to run that command, how would I be doing... (34 Replies)
Discussion started by: Legend986
34 Replies

4. Programming

fortran: segmentation fault when deallocating

Hi, I'm looking for a quite "interesting" bug at the moment - any idea could help! (o; Language is fortran 90, compiler gfortran (sry, dont find which version it is). As I suppose you dont want to read like 10k lines of code here, I won't post the entire thing ^^ The problem is that I get... (3 Replies)
Discussion started by: Giogio
3 Replies

5. UNIX Desktop Questions & Answers

How to remove text in each line after hyphen?

Hi, I'm trying to do something relatively simple. I have a txt file that has the following kinds of lines (and many more lines): CP19 Oahu - Maunawili Falls CP20 Oahu - Maunawili Falls AG12 Oahu - Maunawili Falls CP22 Oahu - Maunawili Falls, Local area AG14 Oahu CP141 KZ102 Kauai -... (7 Replies)
Discussion started by: euspilapteryx
7 Replies

6. Programming

Two issues in make file, g++, gfortran

Question 1: I have a c++ project that I am trying to re-organize. I am trying to subdivide the src directory to move some src files that seldom are changed to a more out of the way location. The project is a c++ application with a fortran function called from the c. The reorganization went... (9 Replies)
Discussion started by: LMHmedchem
9 Replies

7. Programming

std::cout and gfortran print*, don't output to the screen

I am not sure where to post this other than here. I am trying to figure out why an app gives different output when compiled under Ubuntu 10.10 and CentOS 5.5. I am pretty sure that the issue is that the Cent version has gcc 4.1 installed, while Ubuntu has gcc 4.4. I am trying to print from some... (20 Replies)
Discussion started by: LMHmedchem
20 Replies

8. 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

9. Programming

Help with make this Fortran code more efficient (in HPC manner)

Hi there, I had run into some fortran code to modify. Obviously, it was written without thinking of high performance computing and not parallelized... Now I would like to make the code "on track" and parallel. After a whole afternoon thinking, I still cannot find where to start. Can any one... (3 Replies)
Discussion started by: P_E_M_Lee
3 Replies

10. Shell Programming and Scripting

Creating subset of compilation errors

I am compiling a fortran program using gfortran and the result looks as below I want to write a bash or awk script that will scan the information and output only problems within a range of line numbers Example: If I specify the file createmodl.f08, start line 1000 and end line 1100, I will... (8 Replies)
Discussion started by: kristinu
8 Replies

11. Programming

Maximum length of a line

How can I change the maximum length of a programming line in fortran and C (specifically in fortran 77)? Seems the default maximum length is 72 in fortran 77. Thanks. (4 Replies)
Discussion started by: hbar
4 Replies

12. Programming

Problem with IF ELSEIF and GOTO statements in FORTRAN

Hi I am reading a book about Fortran 90 and I write the following code, to test my understanding of the first chapter. I have a problem with the last section of the code with deals with an IF, ELSEIF, and GOTO statements. Here is my Code PROGRAM sim ! This code is used to solve two... (3 Replies)
Discussion started by: faizlo
3 Replies

13. Programming

FORTRAN: Loop over variable file names

Hi guys I'm a beginner in fortran. So excuse me for my naivety, let me briefly describe what I was trying to do. I have let's say 2 files named reac-1 and reac-2. After opening these files I've to do some calculations, close these files and open the same files again in a loop. So my faulty code... (6 Replies)
Discussion started by: saleheen
6 Replies

14. Programming

FORTRAN:Algortihmic Problem

Hi guys I am faced with this problem that I couldn't figure out yet, if you can point me to some direction that'll be of great help. So here's what I want to do. I have let's say 10000 files which contains same number of Z coordinates in each file. I have to find the distance of those... (6 Replies)
Discussion started by: saleheen
6 Replies

15. Shell Programming and Scripting

Subroutine or Function Summary

I have a fortran file with code declarations such as Subroutine str_tnum_tu & ( & s, dl, tu, pos & ) ! Class (*), Intent (InOut) :: tu(:) Character (Len=*), Intent (In) :: s, dl Character (Len=*), Intent (In), Optional :: pos ... or ... (11 Replies)
Discussion started by: kristinu
11 Replies