<div dir="ltr"><div><div><div>Thanks a lot for the help, <br></div>I downloaded the Cmake binary and now it seems it is able to download, however the build process gets stuck at cloning ITK: <br><br>-- Installing: /home/mgiordano/code/SimpleITK-build/Lua/bin/lua<br>[ 18%] Completed 'Lua'<br>[ 18%] Built target Lua<br>[ 20%] Creating directories for 'ITK'<br>[ 21%] Performing download step (git clone) for 'ITK'<br>Cloning into 'ITK'...<br>Install the project...<br>-- Install configuration: "Release"<br>-- Installing: /home/mgiordano/code/SimpleITK-build/Lua/bin/lua<br>[ 18%] Completed 'Lua'<br>[ 18%] Built target Lua<br>[ 20%] Creating directories for 'ITK'<br>[ 21%] Performing download step (git clone) for 'ITK'<br>Cloning into 'ITK'...<br><br></div>Maybe a wrong link somewhere ?<br></div>Regards<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-18 15:28 GMT+02:00 Lowekamp, Bradley (NIH/NLM/LHC) [C] <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
And for the lazier there are now CMake binaries for Linux i386 and x86_64.
<div><br>
</div>
<div><a href="https://cmake.org/download/" target="_blank">https://cmake.org/download/</a><div><div class="h5"><br>
<div><br>
<div>
<blockquote type="cite">
<div>On Aug 18, 2016, at 8:53 AM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Hi Marco,</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
as Matt said, you can build CMake from source and while configuring it turn CMAKE_USE_OPENSSL on. Then use it or you can even drop it in instead of the system one.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br>
</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Regards,</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Dženan</div>
</div>
<div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
<div class="gmail_quote">On Thu, Aug 18, 2016 at 6:14 AM, Richard Beare<span> </span><span dir="ltr"><<a href="mailto:richard.beare@gmail.com" target="_blank">richard.beare@gmail.com</a><wbr>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">A related problem, which I've never found a solution for, is that some cluster software (probably the curl library) is built without ssl support at a critical point. You may have the same issue. Maybe the configuration info for curl
will tell you one way or another whether this is the case and you can request a reinstall.</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 18, 2016 at 7:37 PM, marco giordano<span> </span><span dir="ltr"><<a href="mailto:marco.giord@gmail.com" target="_blank">marco.giord@gmail.<wbr>com</a>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi there,<span> </span><br>
</div>
I checked the internet connection on the node and seems fine (I can download with wget the<span> </span><a href="https://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">https://midas3.kitware.<wbr>com/midas/api/rest?method=<wbr>midas.bitstream.download&<wbr>checksum=2e115fe26e435e33b0d5c<wbr>022e4490567&algorithm=MD5</a>”).<br>
<br>
</div>
I run the script<span> </span><a href="https://github.com/conda-forge/cmake-feedstock/blob/master/recipe/SSLTest.cmake" rel="noreferrer" target="_blank">SSLTest.cmake</a><span> </span>but
it fails (it downloads a LICENSE file but it is empty):<br>
CMake Error at SSLTest.cmake:5 (file):<br>
file DOWNLOAD HASH mismatch<br>
<br>
for file: [/home/mgiordano/code/SimpleIT<wbr>K/LICENSE]<br>
expected hash: [f8c925402b90f74566f71e64eea7b<wbr>b9d83daac69cde71408ffd6c043be6<wbr>a4991]<br>
actual hash: [e3b0c44298fc1c149afbf4c8996fb<wbr>92427ae41e4649b934ca495991b785<wbr>2b855]<br>
status: [1;"Unsupported protocol"]<br>
<br>
</div>
So I assume the HTTPS is not supported. Now if I understand correctly the alternative is to download the modules manually in $HOME/ExternalData and point to that folder through the variable ExternalData_OBJECT_STORES. The question is what do I need to download,
is that the only the two links above or there is more ? Is it maybe an option to change version of Cmake that can support that or/and how do I enable the support ?<br>
<br>
</div>
Any help is appreciated.<br>
</div>
Regards,<br>
</div>
Marco<span> </span><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-08-17 16:51 GMT+02:00 Lowekamp, Bradley (NIH/NLM/LHC) [C]<span> </span><span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello!<br>
<br>
OK, so it looks like you are using the current master branch of SimpleITK. I know this because you have the latest SimpleITK feature where CMake downloads the Superbuild dependencies with the CMake “ExternalData” module. This enables some interesting options
for your situation.<br>
<br>
You are on a cluster. On compute clusters, frequently the nodes don’t have access to the internet. So when cmake tries to download the URLS below it times out or errors. You can verify this with some command like “wget<span> </span><a href="https://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">https://midas3.kitware.<wbr>com/midas/api/rest?method=<wbr>midas.bitstream.download&<wbr>checksum=2e115fe26e435e33b0d5c<wbr>022e4490567&algorithm=MD5</a>”.
The alternative is that your version of CMake doesn’t support HTTPS. Yo can test this with the following script:<span> </span><a href="https://github.com/conda-forge/cmake-feedstock/blob/master/recipe/SSLTest.cmake" rel="noreferrer" target="_blank">https://github.com/<wbr>conda-forge/cmake-feedstock/<wbr>blob/master/recipe/SSLTest.<wbr>cmake</a><br>
<br>
Frequently, there are nodes on a cluster which have access to the internet for situations like this. You may be able to just use one of them.<br>
<br>
With the new ExternalData download module you may be able to pre-download these dependencies on the log in node. If you set the environment variable ExternalData_OBJECT_STORES to say “${HOME}/.ExternalData”, it will cache downloads to this directory. I assume
your home directory is available on the log in nodes. You can configure the SuperBuild there and build just the “SuperBuildSimpleITKSource” target. This will download the dependencies to the ExternaData directory. Then you can build in a cluster node, which
should use this cache.<br>
<br>
Also note when testing is enabled for the actual SimpleITK sub-project, a bunch of testing data is downloaded too. You can disable testing to avoid this, download and un-tar a Data archive [1], or replace the above procedure for this subproject.<br>
<br>
HTH,<br>
Brad<br>
<br>
[1]<span> </span><a href="https://sourceforge.net/projects/simpleitk/files/SimpleITK/0.10.0/Source/" rel="noreferrer" target="_blank">https://sourceforge.net/<wbr>projects/simpleitk/files/<wbr>SimpleITK/0.10.0/Source/</a><br>
<div>
<div><br>
<br>
> On Aug 17, 2016, at 10:26 AM, marco giordano <<a href="mailto:marco.giord@gmail.com" target="_blank">marco.giord@gmail.com</a>> wrote:<br>
><br>
> Hi there,<br>
><br>
> I just downloaded SimpleTK and I tried to build it on a linux cluster (running Scientific Linux release 6.5- Carbon) using the superbuild.<br>
><br>
> I use cmake 3.3.1. The Generation of build files is fine, then when I try to build i get this:<br>
><br>
> -- Fetching "<a href="http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">http://midas3.kitware.com/mid<wbr>as/api/rest?method=midas.bitst<wbr>ream.download&checksum=2e115fe<wbr>26e435e33b0d5c022e4490567&algo<wbr>rithm=MD5</a>"<br>
> -- [download 100% complete]<br>
> -- Fetching "<a href="https://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">https://midas3.kitware.com/mi<wbr>das/api/rest?method=midas.bits<wbr>tream.download&checksum=2e115f<wbr>e26e435e33b0d5c022e4490567&alg<wbr>orithm=MD5</a>"<br>
> -- Fetching "<a href="https://itk.org/files/ExternalData/MD5/2e115fe26e435e33b0d5c022e4490567" rel="noreferrer" target="_blank">https://itk.org/files/Externa<wbr>lData/MD5/2e115fe26e435e33b0d5<wbr>c022e4490567</a>"<br>
> CMake Error at /cm/shared/apps/cmake/3.3.1/in<wbr>stall/share/cmake-3.3/Modules/<wbr>ExternalData.cmake:1012 (message):<br>
> Object MD5=2e115fe26e435e33b0d5c022e4<wbr>490567 not found at:<br>
><br>
> <a href="http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">http://midas3.kitware.com/mid<wbr>as/api/rest?method=midas.bitst<wbr>ream.download&checksum=2e115fe<wbr>26e435e33b0d5c022e4490567&algo<wbr>rithm=MD5</a><span> </span>("Unsupported
protocol")<br>
> <a href="https://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=2e115fe26e435e33b0d5c022e4490567&algorithm=MD5" rel="noreferrer" target="_blank">https://midas3.kitware.com/mi<wbr>das/api/rest?method=midas.bits<wbr>tream.download&checksum=2e115f<wbr>e26e435e33b0d5c022e4490567&alg<wbr>orithm=MD5</a><span> </span>("Unsupported
protocol")<br>
> <a href="https://itk.org/files/ExternalData/MD5/2e115fe26e435e33b0d5c022e4490567" rel="noreferrer" target="_blank">https://itk.org/files/Externa<wbr>lData/MD5/2e115fe26e435e33b0d5<wbr>c022e4490567</a><span> </span>("Unsupported
protocol")<br>
> Call Stack (most recent call first):<br>
> /cm/shared/apps/cmake/3.3.1/i<wbr>nstall/share/cmake-3.3/Modules<wbr>/ExternalData.cmake:1034 (_ExternalData_download_object<wbr>)<br>
><br>
><br>
> make[2]: *** [ExternalData/.ExternalSource/<wbr>lua-5.1.5.tar.gz.md5-stamp] Error 1<br>
> make[1]: *** [CMakeFiles/SuperBuildSimpleIT<wbr>KSourceReal.dir/all] Error 2<br>
><br>
> Any help is welcome.<br>
> Regards<br>
> --<br>
> Marco<br>
</div>
</div>
<div>
<div>> ______________________________<wbr>_______<br>
> Powered by<span> </span><a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
><span> </span><a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
><span> </span><a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
><span> </span><a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
><span> </span><a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br>
<span><font color="#888888"></font></span></div>
</div>
</blockquote>
</div>
<span><font color="#888888"><br>
<br clear="all">
<br>
--<span> </span><br>
<div data-smartmail="gmail_signature">Marco Giordano<br>
SKYPE:marcogiord81</div>
</font></span></div>
<br>
______________________________<wbr>_______<br>
Powered by<span> </span><a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/product<wbr>s/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FA<wbr>Q</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/insight-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>_______<br>
Powered by<span> </span><a href="http://www.kitware.com/" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/product<wbr>s/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FA<wbr>Q</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/insight-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">______________________________<wbr>_______</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Powered
by<span> </span></span><a href="http://www.kitware.com/" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">www.kitware.com</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Visit
other Kitware open-source projects at</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.kitware.com/opensource/opensource.html" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Kitware
offers ITK Training Courses, for more information visit:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.kitware.com/products/protraining.php" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Please
keep messages on-topic and check the ITK FAQ at:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.itk.org/Wiki/ITK_FAQ" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Follow
this link to subscribe/unsubscribe:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://public.kitware.com/mailman/listinfo/insight-users" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a></div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</div>
<br>______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Marco Giordano<br>SKYPE:marcogiord81</div>
</div>