LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Neil Storer (Neil.Storer_at_[hidden])
Date: 2004-02-26 04:23:46


Ahmed,

I just looked at your log file/ It shows:

configure:9000: found /usr/bin/f77
                       ^^^^^^^^^^^^
                       !!!!!!!!!!!!

configure:9010: result: f77
configure:9115: checking how to add a library directory to f77
configure:9120: result: "-L"
configure:9131: checking f77 external naming convention
configure:9147: result: FORTRANDOUBLEUNDERSCORE
configure:9261: checking for FORTRAN optimization flags
configure:9263: result: -O
configure:9275: checking size of FORTRAN INTEGER

configure:9354: gcc -O3 -I. -c conftest.c
                 ^^^
                 !!!

configure:9361: $? = 0
configure:9371: f77 -O conftestf.f conftest.o -o conftest
ld: cannot open crtbegin.o: No such file or directory

As I suspected you are using the Gnu-c compiler "CC=gcc" and the native Fortran
compiler "/usr/bin/f77". This is why "ld" (called from "f77") is having a problem.

Regards
        Neil

=========================================================================

Ahmad Faraj wrote:
> Hi there
> I am trying to install latest lam 7 on a redhat 9 box. I am using a gcc
> 2.96. When I just run configure i get the following:
>
> *** Fortran Compiler
> checking for f77... f77
> checking how to add a library directory to f77... "-L"
> checking f77 external naming convention... FORTRANDOUBLEUNDERSCORE
> checking for FORTRAN optimization flags... -O
> checking size of FORTRAN INTEGER... unknown
> configure: WARNING: *** Problem running configure test!
> configure: WARNING: *** See config.log for details.
> configure: error: *** Cannot continue.
>
> attached is the config.log.
>
> I also took a different route. I downloaded the linux i586 rpm and
> installed it. It went ok. yet, when i tried to compile some fortran file,
> it complain about not being able to:
> ld crtbegin.o: no such file or directory
>
> although that file is under /usr/lib/gcc-lib/i386-redhat-linux/2.96
>
> I would appreciate any help. I really want to take the first route and see
> what is wrong with the first approach.
>
> *********************************************************************
> Ahmad Faraj Office: 205A James Lov Building
> Ph.D Candidate Phone: (850)644-0346
> Department of Computer Science Fax: (850)644-0058
> Florida State University Email: faraj_at_[hidden]
> Tallahassee, FL 32306 URL: http://www.cs.fsu.edu/~faraj
> **********************************************************************
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

-- 
+-----------------+---------------------------------+------------------+
| Neil Storer     |    Head: Systems S/W Section    | Operations Dept. |
+-----------------+---------------------------------+------------------+
| ECMWF,          | email: neil.storer_at_[hidden]    |    //=\\  //=\\  |
| Shinfield Park, | Tel:   (+44 118) 9499353        |   //   \\//   \\ |
| Reading,        |        (+44 118) 9499000 x 2353 | ECMWF            |
| Berkshire,      | Fax:   (+44 118) 9869450        | ECMWF            |
| RG2 9AX,        |                                 |   \\   //\\   // |
| UK              | URL:   http://www.ecmwf.int/    |    \\=//  \\=//  |
+--+--------------+---------------------------------+----------------+-+
    | ECMWF is the European Centre for Medium-Range Weather Forecasts |
    +-----------------------------------------------------------------+