On Jan 28, 2013, at 6:23 PM, George Bosilca <bosi...@icl.utk.edu> wrote:

> What Paul is saying is that there is a path mismatch between the two
> cases. Few lines above using_cle5_install is only set to yes if
> /usr/lib/alps/libalps.a exist. Then in the snippet pasted in Paul's
> email if using_cle5_install is yes then you set the
> orte_check_alps_libdir to something in /opt/cray/.

Good question - I'll leave that to Nathan.

> Why not to /usr/ as
> in the test few lines above?

Because the default path at LANL is /opt/cray/alps/default, and they wrote this 
code! :-)

I will talk to them and see if they are comfortable about making a change, 
putting their path in their platform files, and resolving the apparent 
conflict. All I can say for sure is that it works on their Crays.


> 
> On Mon, Jan 28, 2013 at 9:14 PM, Ralph Castain <r...@open-mpi.org> wrote:
>> 
>> On Jan 28, 2013, at 6:10 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:
>> 
>> The following 2 fragment from config/orte_check_alps.m4 appear to be
>> contradictory.
>> By that I mean the first appears to mean that "--with-alps" with no argument
>> means /opt/cray/alps/default/... for CLE5 and /usr/... for CLE4, while the
>> second fragment appears to be doing the opposite:
>> 
>>                   if test "$using_cle5_install" = "yes"; then
>>                       orte_check_alps_libdir="/opt/cray/alps/default/lib64"
>>                   else
>>                       orte_check_alps_libdir="/usr/lib/alps"
>>                   fi
>> 
>> 
>>           if test "$using_cle5_install" = "yes" ; then
>>                  AS_IF([test "$with_alps" = "yes"],
>>                        [orte_check_alps_dir="/usr"],
>>                        [orte_check_alps_dir="$with_alps"])
>>           else
>>                  AS_IF([test "$with_alps" = "yes"],
>>                        [orte_check_alps_dir="/opt/cray/alps/default"],
>>                        [orte_check_alps_dir="$with_alps"])
>>           fi
>> 
>> At least based on header and lib locations on NERSC's XC30 (CLE 5.0.15) and
>> XE6 (CLE 4.1.40), the first fragment is correctwhile the second fragment is
>> "backwards" (the two calls to AS_IF should be exchanged, or the initial
>> "test" should be inverted).
>> 
>> 
>> ?? It looks correct to me - if with_alps is "yes", then no path was given
>> and we have to look at a default location. If it isn't yes, then a path was
>> given and we use it.
>> 
>> Am I missing something?
>> 
>> 
>> Note this same logic is present in both trunk and v1.7 (in SVN - I am not
>> looking at tarballs this time).
>> 
>> -Paul
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> Paul H. Hargrove                          phhargr...@lbl.gov
>> Future Technologies Group
>> Computer and Data Sciences Department     Tel: +1-510-495-2352
>> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>> _______________________________________________
>> devel mailing list
>> de...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> 
>> 
>> 
>> _______________________________________________
>> devel mailing list
>> de...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


Reply via email to