Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] openMPI configure/Installing problem on Macwithgnu-gcc-4.4.3 / gnu-gcc-4.5
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-04-16 06:28:11

On Apr 15, 2010, at 10:09 PM, Baowei Liu wrote:

> Thanks a lot for your reply, Jeff! I think I figure out why I got this trouble but am still looking for a way to work around it. The Mac I have has a 64-bit processor but its kernel is 32-bit. When I installed gnu-gcc, it identified the architecture as x86_64--I cannot install it if I force it to be i386. But the OMPI treat the arch as i386. If I try to force it to be x86_64, I got the problem I mentioned before....

I'm not sure I understand the issue -- are you saying that gcc can't create executables? I.e., does this not work:

% cat > hello.c <<EOF
#include <stdio.h>
int main(int argc, char* argv[]) {
    printf("Hello world\n");
    return 0;
% gcc hello.c -o hello
% ./hello
Hello world

If that works, then you should just be able to do a default configure/make of Open MPI. If it doesn't work -- e.g., if the "hello" executable that is produced is not runnable on your machine, then you probably need to supply some additional flags to gcc. Once you figure out what those flags are, pass the same flags to Open MPI's configure.

I'd be pretty surprised if the default gcc build doesn't work for you (e.g., the "hello world" example, above), though.

Jeff Squyres
For corporate legal information go to: