Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apple scitech] installation of LAM/MPI



Shirai-san,

You set C++ compiler to "CC" and it seems it invokes C compiler.
The C++ compiler should be:

i686-apple-darwin8-g++-4.0.1

I don't know this is your problem but could be. Actually My box (MDD G4/Tiger) can configured LAM/MPI 7.1.4.
I set:
CC=gcc
CXX=g++
FC=gfortran
./configure


BTW, if you don't have any reasons to take LAM/MPI, It would be a good idea to take Open-MPI instead. They provide the Universal Binary Library for Mac.

On 2007/11/15, at 10:38, Koun SHIRAI wrote:

Hi, everyone.

I'm sorry to make such a stupid question about building LAM/MPI. I think that this is quite simple problem which could be solved if I know the elemental process of building programs. I have already scanned the archives of this mailing list. Although I cannot scan all the related topics, I spent a couple of time to see previous questions and answers, without finding any pertinent solution.

My system which I tried is Intel PowerBook (2 GHz Intel Core 2 Duo) with OSX 10.4.10, and PowerMac/G5. My final destination is to implement LAM/MPI to our Xserve cluster. But, before transforming to Xserve, I like to examine how it works well with Mac by using these personal machines. Since the result is the same both for IntelMac and PowerG5, I describe my problem by taking the intel result as example.

I tried to install LAM/MPI with fortran compiler (intel compiler).
LAM version is lam-7.1.4. I'm a little bit concerned with the version. After tried several versions, I found that there is no difference in the result. The first step of installation is to configure the process, and this is the step I have problem. I simply issue the following command,


./configure CC=cc CXX=CC FC=ifort --without-cs-fs

After a few minutes, I received an error message as

checking for unistd.h... yes
checking map usability... yes
checking map presence... yes
checking for map... yes
checking for type bool... no
checking for true/false... no
configure: WARNING: *** Your C++ compiler does not support the bool data type.
configure: WARNING: *** LAM requires a C++ compiler with support for the bool
configure: WARNING: *** data type.
configure: error: cannot continue


and the process was stopped. What is wrong? I don't know C nor C+ +. I suppose that the above way of specification calls the following native compilers,

lowdin:~ koun$ cc
i686-apple-darwin8-gcc-4.0.1: no input files
lowdin:~ koun$ CC
i686-apple-darwin8-gcc-4.0.1: no input files

Adding of further options, such as
  −−prefix=/usr/local
  --disable-tv-queue
do not make any difference.

Of course, I have already installed xcode before doing this so, otherwise Makefile wouldn't work. I should remind that this result is not only due to intel mac but the situation is the same for G5.

Best regard,

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden
References: 
 >[apple scitech] installation of LAM/MPI (From: Koun SHIRAI <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.