tag:help.appveyor.com,2012-11-13:/discussions/suggestions/1185-intel-parallel-studioAppVeyor: Discussion 2017-01-23T18:18:10Ztag:help.appveyor.com,2012-11-13:Comment/417831042017-01-20T03:05:54Z2017-01-20T03:05:54ZIntel Parallel Studio<div><p>Hi Robert,</p>
<p>From what I understand from link you sent, your CI process
requires <a href="https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss">
Intel® Manycore Platform Software Stack (Intel® MPSS)</a>
to be installed on build machine.</p>
<p>AppVeyor instantiates fresh VM for every build, and standard
AppVeyor VHD does not contain this software. Therefore you need to
install it as part of build scenario. AppVeyor <a href="https://www.appveyor.com/docs/build-configuration/#build-pipeline">
build pipeline</a> has <code>install</code> stage where you can add
script which silently installs this software.</p>
<p>This can be <a href="https://chocolatey.org/">chocolatey</a>
package (if somebody wrote it), can be just script which installs
this silently. I tried and compiled something like this:</p>
<pre>
<code>$zipPath = "$($env:USERPROFILE)\mpss-3.8.1-windows.zip"
(New-Object Net.WebClient).DownloadFile('http://registrationcenter-download.intel.com/akdlm/irc_nas/11193/mpss-3.8.1-windows.zip', $zipPath)
7z x $zipPath -y -ompss | Out-Null
& '.\mpss\mpss-3.8.1\Intel(R) Xeon Phi(TM) coprocessor essentials.exe' /S /v/qn
sleep 60 #sleep to ensure installation completed</code>
</pre>
<p>What about secure variables, you can use them for your secrets,
more information <a href="https://www.appveyor.com/docs/build-configuration/#secure-variables">
here</a></p>
<p>Thanks!<br>
Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/417831042017-01-20T17:17:54Z2017-01-20T17:17:54ZIntel Parallel Studio<div><p>Greetings Ilya,</p>
<p>We require both mpss and Intel Parallel Studio 2017 installed in
Appveyor VM. This enables compilation for native k1om architecture
using HPC Intel stack.</p>
<p>reference:<br>
<a href="https://github.com/dotnet/corert/issues/2519">https://github.com/dotnet/corert/issues/2519</a></p>
<p>Thanks,<br>
Rob</p></div>robertpancoast77tag:help.appveyor.com,2012-11-13:Comment/417831042017-01-20T22:54:52Z2017-01-20T22:55:17ZIntel Parallel Studio<div><p>Hi Robert,</p>
<p>I googled <a href="https://software.intel.com/en-us/articles/intel-compilers-for-windows-silent-installation-guides">
this</a> article. I believe you can figure out how to write silent
install script from here, having previous sample and that article.
I recommend to debug script on local machine, and after that try it
as part of appveyor build.</p>
<p>Some notes which may help you:</p>
<ul>
<li>
<p>Here you indeed need to use secure variables for serial
number.</p>
</li>
<li>
<p>I see that download package itself is not interactive. You may
need to download it manually once and the store in the <a href="https://www.appveyor.com/docs/build-cache/">build cache</a></p>
</li>
</ul>
<p>Hope this helps. Please let us know if you have any specific
issues doing it.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/417831042017-01-20T23:48:49Z2017-01-20T23:48:49ZIntel Parallel Studio<div><p>Greetings Ilya,</p>
<p>Let's assume we use a powershell entry for install: during
pipeline.<br>
Given the Intel package is install in ./intel-stack and the install
size is 9GB, can appveyor cache support a cache directory for 9Gb
of state of art Intel compiler?</p>
<p>What is syntax for cache functionality given automatic
download/install/activation? We need to provide maximum time for
icpc and icc to compile the target project and only down the huge
file once.</p>
<p>Thanks,<br>
Rob</p></div>robertpancoast77tag:help.appveyor.com,2012-11-13:Comment/417831042017-01-21T19:00:55Z2017-01-21T19:00:55ZIntel Parallel Studio<div><p>I have attempted the "build-cache" instructions in the past and
failed: Updating build cache...<br>
Cache 'C:\Users\appveyor\AppData\Local\NuGet\Cache' - Uploading
(8,769,957 bytes)...100%Error uploading cache entry to the cache
storage: Remote server returned 500: The stream does not support
concurrent IO read or write operations.</p>
<p>REFERENCE:<br>
Line #9939<br>
<a href="https://ci.appveyor.com/project/buddhi1980/mandelbulber2/build/1.0.1.0.0.7.16-master/job/hjtjgtkukr85vc03">
https://ci.appveyor.com/project/buddhi1980/mandelbulber2/build/1.0....</a></p></div>robertpancoast77tag:help.appveyor.com,2012-11-13:Comment/417831042017-01-21T20:44:38Z2017-01-21T20:44:38ZIntel Parallel Studio<div><p>Hi Robert,</p>
<p>This is because you are over build cache size limit. Sorry for
unfriendly error, we have <a href="https://github.com/appveyor/ci/issues/1084">bug</a> on it. Cache
size limits are described <a href="https://www.appveyor.com/docs/build-cache/#cache-size-beta">here</a>.</p>
<p>However with this big file size to download, I don't think it is
best approach to download, unzip and install every time. I mean
even if you upgrade to premium plan, your build will be too long
with those massive install steps.</p>
<p>What maybe more suitable for you is "private build cloud"
feature we are releasing now. Idea is to let AppVeyor to manage all
logic, but have your own VM infrastructure. Thus you can maintain
your own VHD image with all you need pre-installed. We support
different types of clouds, but documentation is ready for Azure
only now, please check <a href="https://www.appveyor.com/docs/enterprise/running-builds-on-azure/">
here</a>.</p>
<p>Please let us know what direction you decide to go, and if you
have any additional questions.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/417831042017-01-22T16:26:10Z2017-01-22T16:26:10ZIntel Parallel Studio<div><p>Greetings,</p>
<p>I request "private build cloud" feature for azure.<br>
Does this option require a paid Azure subscription?<br>
I envision cross-compilation on the cloud forall relevant k1om
libraries and applications.<br>
This requires many resources, but all dependencies for mandelbulber
project fall well within open-source domain.</p>
<p>I wish to continue this discussion on Github.<br>
REFERENCE:<br>
<a href="https://github.com/appveyor/ci/issues/1276">https://github.com/appveyor/ci/issues/1276</a></p>
<p>Thanks for helpful information!</p></div>robertpancoast77tag:help.appveyor.com,2012-11-13:Comment/417831042017-01-23T18:18:07Z2017-01-23T18:18:07ZIntel Parallel Studio<div><p>OK, answered on GitHub, lets close this thread then and continue
on GitHub.</p></div>Ilya Finkelshteyn