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-16 06:22:33


Hi,

A couple of points I found recently that you might like to warn about in the
text of FAQ #10.

If you add a '/' at the end of the directory that is the value of the "--prefix"
on the "configure" command e.g.

       ./configure --prefix /my_dir/
       make
       make install

it is ignored and when you do the "make install" it tries to save the files
under the default "/usr/local" directory.

If you then try again without the '/' e.g.

       ./configure --prefix /my_dir
       make
       make install

the "make install" installs the files in the correct directory, but "mpicc"
complains that files it needs are not in "/usr/local", as well as failing to
load routines such as "MPI_Init" and a "laminfo" outputs the information:

       Prefix: /usr/local

(presumably these commands were not re-made by the "make" command).

The only way out of this situation I have found is to completely remove the
"lam-7.0.3" directory, reload it from the "tar" file and start again.

Regards
        Neil

-- 
+-----------------+---------------------------------+------------------+
| 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 |
    +-----------------------------------------------------------------+