IntelLabs / ParallelAccelerator.jl

The ParallelAccelerator package, part of the High Performance Scripting project at Intel Labs
BSD 2-Clause "Simplified" License
294 stars 32 forks source link

How to install ParallelAccelerator on an offline machine? #157

Open alirezamecheng opened 6 years ago

alirezamecheng commented 6 years ago

Hello. I have an offline machine that it is not possible to connect it to the internet. It has an Ubuntu operating system. Although I have another system able to connect to the internet that has a Mint operating system. So the question is "How can I Install ParallelAccelerator Pkg. on a system that can not connect to the internet?" Am I able to do that by copying ParallelAccelerator folder from my second machine to the first one?

Thank you for your help.

lagefreitas commented 6 years ago

Here goes a solution but probably not the perfect one.

  1. Clone all the necessary packages in a computer.
  2. Copy the ~/.julia/ folder to a SD card and paste it at the offline machine.
  3. Run Pkg-related functions (build, etc.).

If these two machine are connected through an Intranet, you can use scp to remotely copy the files.

I'm not sure if it is missing something. Actually you doubt is related to Julia Pkg Manager, not ParallelAccelerator.

Read its manual before using it:

https://docs.julialang.org/en/stable/manual/packages/

alirezamecheng commented 6 years ago

Thank you. I will inform you if it works.