07-06-2011
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 in gfortran i am not finding the same.
also how gfortran & f95 are different from each other? which one is better?!
help from anybody is welcome, love 2 hear any suggestion.
thanks in advance
8 More Discussions You Might Find Interesting
1. HP-UX
hi ,
I am compiling a C program with ccopts and cflags .
i am getting error message
main ( Not referenced yet ! probably due -u option )
can you please adice , how to get rid of this error.
Many thanks
Narendra babu C (3 Replies)
Discussion started by: naren_chella
3 Replies
2. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
3. Programming
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. AIX
Hi all,
I would like to compile a program and get current errors and warnings report to me as « gcc -Wall ».
Does someone can give me these options to get an equivalent ?
Or the ommon option used to put them in a CFLAGS in a Makefile.
Something like :
xlc -O2 -Wall my_prog.c -o... (5 Replies)
Discussion started by: domiq44
5 Replies
5. Programming
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
6. Programming
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
7. Programming
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
8. Shell Programming and Scripting
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 SUNOS
xml2-config
xml2-config(1) General Commands Manual xml2-config(1)
NAME
xml2-config - script to get information about the installed version of libxml
SYNOPSIS
xml2-config [--prefix[=DIR]] [--libs] [--cflags] [--version] [--help]
DESCRIPTION
xml2-config is a tool that is used to determine the compile and linker flags that should be used to compile and link programs that use
libxml.
OPTIONS
xml2-config accepts the following options:
--version
Print the currently installed version of libxml on the standard output.
--libs Print the linker flags that are necessary to link a libxml program.
--cflags
Print the compiler flags that are necessary to compile a libxml program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that libxml was built with when computing the output for the --cflags
and --libs options. This option must be specified before any --libs or --cflags options.
AUTHOR
This manual page was written by Fredrik Hallenberg <hallon@lysator.liu.se>, for the Debian GNU/linux system (but may be used by others).
NOTES
Source for libxml is available in the SUNWlxmlS package. Documentation for libxml is available on-line at http://www.xmlsoft.org/
3 July 1999 xml2-config(1)