AMBER md/g95/gfortran issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat AMBER md/g95/gfortran issue
# 1  
Old 02-20-2009
AMBER md/g95/gfortran issue

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 gfortran and g95 and and try to compile and i get this response,


./configure_amber gfortran
Setting AMBERHOME to /usr/local/amber10

Setting up Amber configuration file for architecture: gfortran
Using parallel communications library: none
The MKL_HOME environment variable is not defined.

Testing the C compiler:
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -m32 -o testp testp.c
OK

Testing the Fortran compiler:
gfortran -O0 -fno-range-check -fno-second-underscore -o testp testp.f
./configure_amber: line 1168: gfortran: command not found
./configure_amber: line 1169: ./testp: No such file or directory
Unable to compile a Fortran program using gfortran -O0 -fno-range-check -fno-second-underscore
Please check your compiler settings or configure flags.

I have set path = $path .... in my .cshrc and i when i type g95 by itself i get,

Fatal error: need a file to compile

Not sure whats happening any help is greatly appreciated. Thanks

Andrew
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Arrays of strings in GFORTRAN errors

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

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

3. AIX

p520 -- amber light

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

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

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

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

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

8. Solaris

troubleshooting cause of amber light

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

Amber Lights + Remote Servers

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
Login or Register to Ask a Question
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)