FW: MPI-Beowulf configuration question: where does Makefile @XXX_XXX@ notation come from?

Pedro Díaz Jiménez pdiaz88 at terra.es
Thu Aug 2 16:14:18 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chris,


Hey, are you sure that this is a Makefile, not a Makefile.in?. Values in 
@XXX@ form are used in Makefile.in. Makefile.in files are supposed to be 
processed by a configure script which creates a ready to use Makefile.

For example, if you have in Makefile.in something like:
CC= @CC@    
	all:
		$(CC) somefile.c etc.....

the configure script is told to guess the C compiler program, and substitute 
in each makefile.in the @CC@ meta-var to the actual C compiler program, for 
example. Take a look at the info for autoconf 

"""
Substitutions in Makefiles
==========================
 
   Each subdirectory in a distribution that contains something to be
compiled or installed should come with a file `Makefile.in', from which
`configure' will create a `Makefile' in that directory.  To create a
`Makefile', `configure' performs a simple variable substitution,
replacing occurrences of `@VARIABLE@' in `Makefile.in' with the value
that `configure' has determined for that variable.  Variables that are
substituted into output files in this way are called "output
variables".  They are ordinary shell variables that are set in
`configure'.  To make `configure' substitute a particular variable into
the output files, the macro `AC_SUBST' must be called with that
variable name as an argument.  Any occurrences of `@VARIABLE@' for
other variables are left unchanged.  *Note Setting Output Variables::,
for more information on creating output variables with `AC_SUBST'.
 
   A software package that uses a `configure' script should be
distributed with a file `Makefile.in', but no `Makefile'; that way, the
user has to properly configure the package for the local system before
compiling it.
"""

Hope that helps

Cheers
Pedro
 
On Thursday 02 August 2001 16:34, you wrote:
> -----Original Message-----
> From: Chris Richard Adams
> Sent: Thursday, August 02, 2001 12:10 PM
> To: 'Pedro Díaz Jiménez'
> Subject: RE: MPI-Beowulf configuration question: where does Makefile
> @XXX_XXX@ notation come from?
>
>
> Have you tried the info pages for man?
>
>
> Hi Pedro;
>
> regarding documentation: I've read the Scyld Beowulf Quick Install,
> Installing Scyld Beowulf Guide, and the Scyld Beowulf Scalable Computing
> Guide.  None of those documents reference the questions I've posed. I've
> run info on those documents - which I believe are the same as the HTML
> formatted guides stated above.
>
> THe example/bin directory contains execs with no docs at all. I'm
> tempted just to run them, but fear destroying somehting in the process.
>
> > Q4.) What is the difference between the /examples and /mpe_examples?
> > What does mpe mean?
>
> MPE is an extension to  MPI in the form of a library. It adds some
> useful
> routines and functions for profiling, visualitation, logging, etc...
> Take a look at
> http://www-unix.mcs.anl.gov/mpi/mpich/docs/mpeguide/paper.htm
>
> Great - thanks for the link!!
>
> Chris

- ----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
- ----------------------------------------

- -- 

  __________________________________________________
 /                                                  \
 | Pedro Diaz Jimenez                               |
 |                                                  |
 | pdiaz88 at terra.es      pdiaz at acm.asoc.fi.upm.es   |
 |                                                  |
 |                                                  |
 | http://planetcluster.org                         |
 | Clustering & H.P.C. news and documentation       |
 |                                                  |
 | There are no stupid questions, but there're a    |
 | lot of inquisitive idiots                        |
 |        Anonymous                                 |
 |                                                  |
 | "I find your lack of faith disturbing."          |
 |        Darth Vader, Star Wars Episode IV         |
 \__________________________________________________/

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBDqcGZsRBADFIahNPLk8suMlS39m8RqatLgX4dO7PU2F5p1oVvkyB7PaLQCv
FREWwfrjGpxAjRnxyZ4TdaFi1oCP495t5R2CdjPZu0EfjsEqosdLXkjDsKl2n4Wo
Afb6BaHMJS5PADEI0QfpZOkB8OruAZja/oGmn5rThyjgCxWHUuK1ArmeGwCg7+9a
owg9wP1RohePHJSDB9d2HYMD/i7z1X4ev+K90LumgJwSWlScJ7MEip5rw4wqGOkK
lF/C2nTYsoX5CVEn/pu7hROL/BWIYtBgkNDaEjsVsyb+4KjQXcZUW5l3ADipWYx2
r9s4sFfeZ9nfhDcG0aNYRcCNkYSZ/WxUkXS8UjVEAEhkFu1BA+6UZmeq3pKtJZTR
+HqKA/9zRmgTon36zt2qe9eiR6DyY0EpGEI0iY+KYX6GC/wxizeHBw0FW1eOEoxF
GjtxdBv/U9vi7Vgav6aY+pr4la5q6jVabe03Y8yGDFeL8jM+lqww1rzpABiGrF+W
qge65zCUjL3jJE5+5yi+KcRyllb1OA7uXQTtsRw+TGq9Dvaaz7QwUGVkcm8gRGlh
eiBKaW1lbmV6IChCLk8uRi5ILikgPHBkaWF6ODhAdGVycmEuZXM+iFYEExECABYF
AjqcGZsECwoEAwMVAwIDFgIBAheAAAoJEJ7ud33hGMZRj20An2Ce4S/vBTuZDxnL
WFBrJRnc3UdaAKDnIPNRbz7r4dh9AuBcpbCE1pQ/SLkBDQQ6nBmqEAQAr7O07Dws
5zAbQvm1hwGthXKCHtIIuWCPdX/XkNG6ZxV/cXgs4LI4oAg3GhttD2JIEk2SoVXE
FOf/wIddIDz70/9mIZavMvpR31LxBFSJk0Up3caOvThM90wMttRi7tg7cf04rrMM
Phy8T5bOIW/q5SMwZffbJXD7bA0/jDLdQ6MAAwYD/1emSwNTzOOmMCZadoEBpKIE
HA35P2/m/SsCI+pQ/OKXKPvvrQKTQqRCcDa5aq31oSiT9M5WQ96BlIGKHRPWGpvm
0822V7M9RF2mYZPIfgKfTSvZpYHzjz+RM7PvBBiBc9l95vy70Sh7SywIF86H80Ag
D0dUIDtGlrSANhXjx4EJiEYEGBECAAYFAjqcGaoACgkQnu53feEYxlHdVACgjVhU
Y8CKf6MYZgQOR9eIDNvTX0AAn3dwbW1HLxEF5OQKJIsngl0BUlYK
=d4S3
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7abShnu53feEYxlERAotdAKDAsnrYXuqrfhExd3M4UprdtJk7BACfRJvB
BdNDvWscsh9OvUSdwzvWqBY=
=mHBM
-----END PGP SIGNATURE-----

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list