Hi,
i am trying to install AMBER10 which is a molecular dynamcis package onto two linux red hat pcs. I can successfully install the tools that comes with which uses gcc to compile, however AMBER10 requires either g95 or gfortran to compile. This is where the issue lies, i have installed both... (0 Replies)
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)
Hi !
I have one program made of several sub programs which I am trying to compile with gfortran on Fedora 14 in my system. The program was originally written in Fortran 77 and compilation command used to be -
fort77 -O2 -f -w -o life life_com.f lifetime.f minuit.f tek_life.f utilities.f... (0 Replies)
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)
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)
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)
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)
Hello
I am using gfortran and I intended to do thiis:
Module variables
character(len=:), dimension(:), allocatable, array
end module variables
Sub test
use variables
integer (max_len)
max_len=len_trim("something here")
if(.not.allocated(array))... (1 Reply)
Hi, I am having a problem compiling a program with gfortran. The program compiles with g77 and f77 but I don't have those. I edited the makefile from FC = g77 to FC = gfortran but when I run it I get a slew of undefined reference errors. Any suggestions? (8 Replies)
Hi all,
I'm a new Linux and gfortran user so facing this problem I could not figure out how to proceed. Trying to install a program with a makefile, at some point the installation stops showing the following error:
g++ -std=c++0x -O3 -o CAMILObash.exe ./objects/Class_SurfTri_CheckTools.o... (2 Replies)
Discussion started by: Jefferson_dhv
2 Replies
LEARN ABOUT BSD
erase
PLOT(3F)PLOT(3F)NAME
plot: openpl et al. - f77 library interface to plot(3X) libraries.
SYNOPSIS
subroutine openpl()
subroutine erase()
subroutine label(str)
character str*(*)
subroutine line(ix1, iy1, ix2, iy2)
subroutine box(ix1, iy1, ix2, iy2)
Draw a rectangle and leave the cursor at ( ix2,iy2).
subroutine circle(ix, iy, ir)
subroutine arc(ix, iy, ix0, iy0, ix1, iy1)
subroutine move(ix, iy)
subroutine cont(ix, iy)
subroutine point(ix, iy)
subroutine linemd(str)
character str*(*)
subroutine space(ix0, iy0, ix1, iy1)
subroutine clospl()
DESCRIPTION
These are interface subroutines, in the library -lf77plot, allowing f77 users to call the plot(3X) graphics routines which generate graphic
output in a relatively device-independent manner. The f77 subroutine names are the same as the C function names except that linemod and
closepl have been shortened to linemd and clospl . See plot(5) and plot(3X) for a description of their effect.
Only the first 255 character in string arguments to label and linemd are used.
This library must be specified in the f77(1) command before the device specific graphics library; for example, to compile and load a FOR-
TRAN program in prog.f to run on a Tektronix 4014 terminal:
f77 prog.f -lf77plot -l4014
See plot(3X) for a complete list of device specific plotting libraries.
SEE ALSO plot(5), plot(1G), plot(3X), graph(1G)4.3 Berkeley Distribution April 30, 1986 PLOT(3F)