[mpich-discuss] Compiling mpich2 using Intel Fortran Compiler v12

Ju JiaJia jujj603 at gmail.com
Mon Apr 30 23:20:31 CDT 2012


Use  ./configure --help you can see how to specfy environment variables,
like F77 and FC, conpiler flags can be specfied by FFLAGS and FCFLAGS.

On Tue, May 1, 2012 at 12:38 AM, Gus Correa <gus at ldeo.columbia.edu> wrote:

> Hi Niall
>
> See the Installer's Guide, section 2.3
>
> http://www.mcs.anl.gov/**research/projects/mpich2/**
> documentation/index.php?s=docs<http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs>
>
> ./configure CC=icc CXX=icpc F77=ifort FC=ifort ...
>
> Check also section 2.4 on the compiler flags.
>
> I hope this helps,
> Gus Correa
>
>
> On 04/30/2012 12:22 PM, O'Sullivan, Niall (HMRC) wrote:
>
>>
>> One of the prerequisites for a package that I want to use, Delft3D, is
>> mpich2 but for everything to work correctly I have been told that
>> Delft3D and mpich2 both need to be compiled with the same compiler, in
>> this case Intel Fortran Compiler v12.
>>
>> The readme file included with the mpich2 download includes instructions
>> on how to disable Fortran support but does not seem to cover how to
>> specify a particular Fortran compiler to use. Please indicate how to
>> compile mpich2 using an Intel Fortran compiler v12 or suggest a possible
>> source for this information.
>>
>> The instructions in the readme file included with the MPICH2-1.4.1p1
>> release were followed and completed without error but compiling Delft3D
>> fails, see attached file for mpich installation commands. Also, the
>> operating system in use is Ubuntu 11.10.
>>
>> Best regards,
>> Niall O'Sullivan
>>
>>
>>
>>
>>
>> ______________________________**_________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/**mailman/listinfo/mpich-discuss<https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
>>
>
> ______________________________**_________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/**mailman/listinfo/mpich-discuss<https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120501/6a50116d/attachment.htm>


More information about the mpich-discuss mailing list