The usual way to override the C compiler is to invoke configure like this:
./configure CC=nameofcc
Regards, Thomas
smime.p7s
Description: S/MIME Cryptographic Signature
Haven't tried that. Will try that approach.
Thanks
Sudhir Kumar
-Original Message-
From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph Castain
Sent: Wednesday, September 16, 2015 11:05 AM
To: Open MPI Users
Subject: Re: [OMPI users] open mpi gcc
Have you tried
Have you tried just rebuilding OMPI after setting gcc 4.1.2 at the front of
your PATH and LD_LIBRARY_PATH?
> On Sep 16, 2015, at 8:58 AM, Kumar, Sudhir wrote:
>
> Hi
> We are currently using openmpi 1.8.5 and gcc 4.4.7, we would like to change
> the associated gcc to gcc 4.1.2 for our openmpi