On Oct 8, 2014, at 4:04 PM, Timothy Brown <[email protected]> wrote:

>> If a non-default directory is provided as the location of SLURM (i.e., via 
>> --with-slurm=DIR), then we check to make sure that directory exists (to 
>> ensure that the user didn't typo the dirname).  If it does, we look for 
>> DIR/lib64, and if we find that, we add -LDIR/lib64 to LDFLAGS.  But if we 
>> don't fine that, then we look for DIR/lib, and if we find that we add 
>> -LDIR/lib to LDFLAGS.  Then we check for some symbols that should be in the 
>> PMI library with whatever was put in LDFLAGS.
>> 
>> Does that make sense?
> 
> Yes and this is what the patch Ralph provided does.

Actually, Ralph's patch doesn't do this -- it specifically looks for libpmi.so 
in lib64/ and lib/ and adds it to LDFLAGS.  It then repeats the whole thing for 
libpmi2.  This is really brittle, doesn't work on all OS's, and I think it 
doesn't even check for libpmi.a right now.

That's why I'd rather get better default behavior out of SLURM's installer. :-)

-- 
Jeff Squyres
[email protected]
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to