[ewg] OFED-1.5.4 daily build: mvapich2-1.7.rc1 failure

Jonathan Perkins perkinjo at cse.ohio-state.edu
Thu Sep 15 10:01:42 PDT 2011


I've corrected the install.pl with the attached patch.  I've verified
the full build from start to finish using install.pl with this patch
and the recently updated SRPM.

Vlad, can you kindly apply this patch?  Thanks in advance.

2011/9/15 Koper, Marcin <marcin.koper at intel.com>:
> install.pl script also needs fixing since mvapich2 configuration returns this error:
>
> configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS respectively in this configure, please unset F90/F90FLAGS and set FC/FCFLAGS instead and rerun configure again.
>
> Thanks,
> Marcin
>
> -----Original Message-----
> From: ewg-bounces at lists.openfabrics.org [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Jonathan Perkins
> Sent: Tuesday, September 13, 2011 9:05 PM
> To: Nikolova, Tatyana E; Vladimir Sokolovsky
> Cc: ewg at lists.openfabrics.org
> Subject: Re: [ewg] OFED-1.5.4 daily build: mvapich2-1.7.rc1 failure
>
> Hi, I think I've found the issue.  The mvapich2 srpm has been uploaded and the next daily build shouldn't experience this problem.
>
> On Tue, Sep 13, 2011 at 2:33 PM, Jonathan Perkins <perkinjo at cse.ohio-state.edu> wrote:
>> Hello Nikolova, thanks for reporting this.  I'll take a look at it and
>> get back to you.
>>
>> On Tue, Sep 13, 2011 at 12:43 PM, Nikolova, Tatyana E
>> <tatyana.e.nikolova at intel.com> wrote:
>>> OFED-1.5.4 daily build seems to have a problem with configuring
>>> mvapich2-1.7.rc1
>>>
>>> I am working on a machine with RHEL 6.1 (kernel:
>>> 2.6.32-131.0.15.el16.x86_64)
>>>
>>> After running
>>>
>>> install.pl --hpc
>>>
>>> It reports
>>>
>>>                Failed to build mvapich2 RPM
>>>
>>>
>>>
>>> The log file shows mvapich2 ./configure error:
>>>
>>> configure: error: --enable-sharedlibs cannot be used without
>>> --enable-shared
>>>
>>>
>>>
>>> Has someone encountered this problem (The problem persists with all
>>> the
>>> OFED-1.5.4 daily builds I have tried to install)?
>>>
>>> How can I solve it?
>>>
>>>
>>>
>>> Thank you.
>>>
>>> Tatyana
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ewg mailing list
>>> ewg at lists.openfabrics.org
>>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>>>
>>
>>
>>
>> --
>> Jonathan Perkins
>> http://www.cse.ohio-state.edu/~perkinjo
>>
>
>
>
> --
> Jonathan Perkins
> http://www.cse.ohio-state.edu/~perkinjo
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
> ---------------------------------------------------------------------
> Intel Technology Poland sp. z o.o.
> z siedziba w Gdansku
> ul. Slowackiego 173
> 80-298 Gdansk
>
> Sad Rejonowy Gdansk Polnoc w Gdansku,
> VII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
> numer KRS 101882
>
> NIP 957-07-52-316
> Kapital zakladowy 200.000 zl
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
commit aadb44277a8e36c6828b98a27d13a76419b322ab
Author: Jonathan Perkins <perkinjo at cse.ohio-state.edu>
Date:   Thu Sep 15 12:54:30 2011 -0400

    replace F90 with FC for mvapich2

diff --git a/install.pl b/install.pl
index 3cda150..343bc41 100755
--- a/install.pl
+++ b/install.pl
@@ -3176,27 +3176,27 @@ sub build_rpm
             if ($compiler eq "gcc") {
                 if ($gcc{'gfortran'}) {
                     if ($arch eq "ppc64") {
-                        $mvapich2_comp_env = 'CC="gcc -m64" CXX="g++ -m64" F77="gfortran -m64" F90="gfortran -m64"';
+                        $mvapich2_comp_env = 'CC="gcc -m64" CXX="g++ -m64" F77="gfortran -m64" FC="gfortran -m64"';
                     }
 
                     else {
-                        $mvapich2_comp_env = "CC=gcc CXX=g++ F77=gfortran F90=gfortran";
+                        $mvapich2_comp_env = "CC=gcc CXX=g++ F77=gfortran FC=gfortran";
                     }
                 }
 
                 elsif ($gcc{'g77'}) {
                     if ($arch eq "ppc64") {
-                        $mvapich2_comp_env = 'CC="gcc -m64" CXX="g++ -m64" F77="g77 -m64" F90=/bin/false';
+                        $mvapich2_comp_env = 'CC="gcc -m64" CXX="g++ -m64" F77="g77 -m64" FC=/bin/false';
                     }
 
                     else {
-                        $mvapich2_comp_env = "CC=gcc CXX=g++ F77=g77 F90=/bin/false";
+                        $mvapich2_comp_env = "CC=gcc CXX=g++ F77=g77 FC=/bin/false";
                     }
                 }
             }
 
             elsif ($compiler eq "pathscale") {
-                $mvapich2_comp_env = "CC=pathcc CXX=pathCC F77=pathf90 F90=pathf90";
+                $mvapich2_comp_env = "CC=pathcc CXX=pathCC F77=pathf90 FC=pathf90";
                 # On i686 the PathScale compiler requires -g optimization
                 # for MVAPICH2 in the shared library configuration.
                 if ($arch eq "i686" and $mvapich2_conf_shared_libs) {
@@ -3205,18 +3205,18 @@ sub build_rpm
             }
 
             elsif ($compiler eq "pgi") {
-                $mvapich2_comp_env = "CC=pgcc CXX=pgCC F77=pgf77 F90=pgf90";
+                $mvapich2_comp_env = "CC=pgcc CXX=pgCC F77=pgf77 FC=pgf90";
             }
 
             elsif ($compiler eq "intel") {
                 if ($mvapich2_conf_shared_libs) {
                     # The -i-dynamic flag is required for MVAPICH2 in the shared
                     # library configuration.
-                    $mvapich2_comp_env = 'CC="icc -i-dynamic" CXX="icpc -i-dynamic" F77="ifort -i-dynamic" F90="ifort -i-dynamic"';
+                    $mvapich2_comp_env = 'CC="icc -i-dynamic" CXX="icpc -i-dynamic" F77="ifort -i-dynamic" FC="ifort -i-dynamic"';
                 }
 
                 else {
-                    $mvapich2_comp_env = "CC=icc CXX=icpc F77=ifort F90=ifort";
+                    $mvapich2_comp_env = "CC=icc CXX=icpc F77=ifort FC=ifort";
                 }
             }
 


More information about the ewg mailing list