Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Using compiler_args in wrappers with Portland Group Compilers
From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2009-01-30 13:19:45


On Thu, 29 Jan 2009, Wayne Gilmore wrote:

> I'm trying to use the compiler_args field in the wrappers script to deal
> with 32 bit compiles on our cluster.
>
> I'm using portland group compilers and use the following for 32 bit
> builds: -tp p7 (I actually tried to use -tp x32 but it does not compile
> correctly. I think it has something to do with how the atomic operations are
> defined)
>
> I've created a separate stanza in the wrapper but I am not able to use
> the whole option "-tp p7" for the compiler_args. It only works if I do
> compiler_args=p7
>
> Is there a way to provide compiler_args with arguments that contain a space?
>
> This would eliminate cases where 'p7' would appear elsewhere in the compile
> line and be falsely recognized as a 32 bit build.

You should be able to include options just as you want them to appear on
the command line. Can you send me both the .txt file you edited as well
as the output of mpicc -showme (or whichever compiler you are testing)?

Thanks,

Brian