<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Here is the warning:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Your SLEPC_DIR may not match the directory you are in</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">SLEPC_DIR /Users/davydden/spack/var/spack/stage/slepc-3.7.1-p7hqqclwqvbvra6j44lka3xuc4eycvdg/slepc-3.7.1 Current directory /private/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/davydden/spack-stage/spack-stage-m7Xg8I/slepc-3.7.1</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div class="">
<div class="">p.s. this is done within Spack, for a fix see: <a href="https://github.com/LLNL/spack/pull/1206" class="">https://github.com/LLNL/spack/pull/1206</a></div></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 11 Jul 2016, at 16:53, Jose E. Roman <<a href="mailto:jroman@dsic.upv.es" class="">jroman@dsic.upv.es</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I cannot reproduce this behaviour. If I do for instance this (on OS X El Capitan):<br class=""><br class="">$ cd ~/tmp<br class="">$ ln -s $SLEPC_DIR .<br class="">$ cd slepc-3.7.1<br class="">$ ./configure<br class="">$ make<br class="">$ otool -lv $PETSC_ARCH/lib/libslepc.dylib | grep slepc<br class=""><br class="">I don't get a warning, and the output of otool is the same that would result if done on $SLEPC_DIR.<br class="">Which warning are you getting?<br class=""><br class="">Jose<br class=""><br class=""><br class=""><blockquote type="cite" class="">El 11 jul 2016, a las 0:48, Denis Davydov <<a href="mailto:davydden@gmail.com" class="">davydden@gmail.com</a>> escribió:<br class=""><br class="">Hi Jose,<br class=""><br class="">so here is what happens. The issue appears when SLEPC_DIR is set to a symlink (the one with “stage below) of a build folder (the one with “private” below). <br class="">During configure there is a warning that SLEPC_DIR is not the same as current dir (string comparison),<br class="">but one is symlink of another, so all but install_name_tool work. The latter leads to the following values of variables:<br class=""><br class="">oldname =/private/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/davydden/spack-stage/spack-stage-MziaMV/slepc-3.7.1/installed-arch-darwin-c-opt/lib/libslepc.3.7.dylib<br class=""><br class="">installName=/private/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/davydden/spack-stage/spack-stage-MziaMV/slepc-3.7.1/installed-arch-darwin-c-opt/lib/libslepc.3.7.dylib<br class=""><br class="">archDir =/Users/davydden/spack/var/spack/stage/slepc-3.7.1-gimrzhb4mozeus3i2hdmrtjp3tha5pgr/slepc-3.7.1/installed-arch-darwin-c-opt<br class=""><br class="">installDir =/Users/davydden/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/slepc-3.7.1-gimrzhb4mozeus3i2hdmrtjp3tha5pgr<br class=""><br class="">dst =/Users/davydden/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/slepc-3.7.1-gimrzhb4mozeus3i2hdmrtjp3tha5pgr/lib/libslepc.3.7.1.dylib<br class=""><br class="">As you see, installName wasn’t changed from oldname.<br class=""><br class="">Since the python code rely on SLEPC_DIR be pwd(), i would suggest to through an error instead of the warning to make<br class="">sure that users won’t get in the situation above. Alternative is to make this part of the code more robust.<br class=""><br class="">When SLEPC_DIR==pwd() the patch you referred works.<br class=""><br class="">Kind regards,<br class="">Denis <br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>