9 More Discussions You Might Find Interesting
1. Programming
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)
Discussion started by: pepe
1 Replies
2. 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
3. AIX
it shows up after the upgrade to SF240_415, after 2 hrs.
amber light shows up on the led of 9111-520, but alog shows:
everything seems to work, not sure what's going on.. (6 Replies)
Discussion started by: ppchu99
6 Replies
4. 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
5. Programming
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
6. 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
7. 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
8. Solaris
hi all,
we've got an amber maintenance light on the front of our Netra-t4. I can't find out what's causing this issue. I've logged into the lom, and found the following. There's nothing in messages or prtdiag. Disks appear to be ok. Are there any other lom commands that can help?
... (6 Replies)
Discussion started by: badoshi
6 Replies
9. SuSE
Ok, so we get reports from operations after they do walk throughs about servers with amber or red lights showing. They want us to resolve the issues. On Solaris I can run prtdiag to identify the amber lights and clear them (replace hardware or "reboot" the daemon).
How do I remotely figure out... (1 Reply)
Discussion started by: BOFH
1 Replies
BUILDER-CC(1) Debian GNU/Linux BUILDER-CC(1)
NAME
builder-cc - gcc wrapper to facilitate pentium-optimizations
SYNOPSIS
export DEBIAN_BUILDARCH=architecture
export DEBIAN_BUILDGCCVER=gcc-version
gcc ...
DESCRIPTION
The builder-cc wrapper is normally used by calling gcc as usual. If the environment variable DEBIAN_BUILDARCH is not set, builder-cc does
nothing, and the real gcc is invoked with the specified arguments.
When the DEBIAN_BUILDARCH environment variable is set, builder-cc invokes gcc with the specified arguments, plus -mcpu=DEBIAN_BUILDARCH
-march=DEBIAN_BUILDARCH This has the effect of telling gcc to use architecture-specific optimizations without changing the command line.
This is particularly useful for package builds.
If DEBIAN_BUILDGCCVER is not set, builder-cc calls gcc.real. If DEBIAN_BUILDGCCVER is set, builder-cc calls gcc-DEBIAN_BUILDGCCVER
instead.
ENVIRONMENT
DEBIAN_BUILDARCH
If set, the architecture to compile for. Useful values are pentium or pentiumpro.
DEBIAN_BUILDGCCVER
If set, the version of gcc to be invoked. Useful values are 3.0 or 2.95.
NOTES
The real gcc is renamed gcc.real, and a diversion is registered with dpkg-divert(1). Thus builder-cc's idea of the default gcc is dictated
by whatever package installed /usr/bin/gcc.
SEE ALSO
gcc(1)
Debian Project 2002-03-02 BUILDER-CC(1)