Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Using gFORTRAN to compile something built for g77 Post 302807929 by butson on Wednesday 15th of May 2013 03:44:46 PM
Old 05-15-2013
Well it is the other files in the same dir as the makefile that I think are the problem. It will say things like:
Code:
MainProgram.f: undefined reference: ""

 

10 More Discussions You Might Find Interesting

1. AIX

g77??

hello aixperts, I really need g77 on an aix 5L 5.3 system as I do not have xlf right now, is there any way by which I can get it? eagerly waiting for the reply, MzZt. (1 Reply)
Discussion started by: mzzt
1 Replies

2. Red Hat

g77 compiler: where it is for red hat? solved

Hi all In order to build a library the g77 fortran compiler is required. I know that it is very old, but this is the requirement in order to compile this package and it seems not possible to move away from it. The problem is that I really don't know where to get this old package! I tried in... (0 Replies)
Discussion started by: manustone
0 Replies

3. Programming

Fortran 77 and gfortran

Hi! I have a program in fortran77. This program was compiled with pgf90, but now, I need compiled it with gfortran. I show a bit of code. program hello PARAMETER(a=100) integer a write(*,*)'value ', a end program hello What's the problem? Thanks (2 Replies)
Discussion started by: kekaes
2 Replies

4. UNIX for Dummies Questions & Answers

Compiling gcc to compile make to compile yaboot

I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies

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

6. Programming

f77 program on gfortran

Hi, I am trying to run a simple f77 program on gfortran. Program is as follows. program trial implicit real*8 (a-h,o-z) common/var/a(2),b,c(4),d a=(/0,0/) b=0 c=(/0,0,0,0/) d=0 call add(a,b,c,d) ... (1 Reply)
Discussion started by: anshulfy
1 Replies

7. Programming

Gfortran compiler options.

I am a INTEL fortran user recently migrated to linux and installed gfortran on my system. I run numerical models as part of my research. my question is on optimization of the fortran code. I used the - vectorize option to compile for reducing the run time considerably and was happy. But... (1 Reply)
Discussion started by: schamarthi1
1 Replies

8. Programming

Compilation problem with gfortran

Hello everyone, I'm trying since a few days to compile a f90 program with gfortran (on Ubuntu) with a makefile. The fortran program calls 2 routines written in C. Here is my makefile: FC = gfortran SFC = gfortran FFLAGS = -ffree-form -O... (21 Replies)
Discussion started by: leroygr
21 Replies

9. Programming

g++ and g77 compile for OSX

I have an app based on g++ and g77 that I would like to compile for OSX. My understanding is that OSX is linux of some flavor under the hood and have seen OSX users running bash shells and such. Is there a tutorial of some kind out there that someone could point me to on the subject? LMHmedchem (7 Replies)
Discussion started by: LMHmedchem
7 Replies

10. Programming

gfortran 4.7, no support for qfloat?

I have code that works fine in ifort. But when trying to run on gfortran 4.7.1 (which does support quads and has no problem with real * 16) I can't cast an integer variable to a quad precision float (real*16) using something like: factq(i) = factq(i-1) * qfloat(i) Finding a list of the new... (2 Replies)
Discussion started by: vibrantcascade
2 Replies
F77(3)							User Contributed Perl Documentation						    F77(3)

NAME
ExtUtils::F77 - Simple interface to F77 libs DESCRIPTION
This module tries to figure out how to link C programs with Fortran subroutines on your system. Basically one must add a list of Fortran runtime libraries. The problem is their location and name varies with each OS/compiler combination! This module tries to implement a simple 'rule-of-thumb' database for various flavours of UNIX systems. A simple self-documenting Perl database of knowledge/code for figuring out how to link for various combinations of OS and compiler is embedded in the modules Perl code. Please help save the world by sending database entries for your system to karl_pgplot@mac.com The library list which the module returns can be explicitly overridden by setting the environment variable F77LIBS, e.g. % setenv F77LIBS "-lfoo -lbar" % perl Makefile.PL ... SYNOPSIS
use ExtUtils::F77; # Automatic guess use ExtUtils::F77 qw(sunos); # Specify system use ExtUtils::F77 qw(linux g77); # Specify system and compiler $fortranlibs = ExtUtils::F77->runtime; METHODS
The following methods are provided: o runtime Returns a list of F77 runtime libraries. $fortranlibs = ExtUtils::F77->runtime; o runtimeok Returns TRUE only if runtime libraries have been found successfully. o trail_ Returns true if F77 names have trailing underscores. o compiler Returns command to execute the compiler (e.g. 'f77'). o cflags Returns compiler flags. o testcompiler Test to see if compiler actually works. More methods will probably be added in the future. AUTHOR
Karl Glazebrook (kgb@aaoepp.aao.GOV.AU). perl v5.12.1 2007-04-02 F77(3)
All times are GMT -4. The time now is 05:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy