I am going to split up #529 into more focused tickets. I am stuck on FocalScan installation (related to #540) and want to record what I've found so far.
FocalScan (Karlsson and Larsson. NAR. 2016.)requires v901 of the MATLAB Compiler Runtime to use the executable (documentation), which can be added as a layer to the Docker container with the following:
RUN mkdir /mcr-install-v901 && \
mkdir -p /opt/mcr && \
cd /mcr-install-v901 && \
wget -q https://ssd.mathworks.com/supportfiles/downloads/R2016a/deployment_files/R2016a/installers/glnxa64/MCR_R2016a_glnxa64_installer.zip && \
unzip -q MCR_R2016a_glnxa64_installer.zip && \
rm -f MCR_R2014a_glnxa64_installer.zip && \
./install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent && \
wget https://ssd.mathworks.com/supportfiles/downloads/R2016a/deployment_files/R2016a/installers/glnxa64/MCR_R2016a_Update_7_glnxa64.sh && \
bash MCR_R2016a_Update_7_glnxa64.sh -d=/opt/mcr/v901 -s && \
cd / && \
rm -rf mcr-install-v901
Following the instructions here, e.g., not installing MCR first, resulted in the following error when building locally on a Linux machine (not in a Docker container):
$ ./Installer_Linux.install
Error: Download process failed - Unsupported protocol
. Check your internet connectivity, proxy server, firewall, and virus scanner settings and rerun the installer.
Installation failed.
Some cursory googling suggested that installing MCR first would fix this. @cgreene got the compiled program itself from the Installer_Mac.app.zip download in the documentation above, but that can't be used with Linux because:
application/focalscan: 1: eval: application/FocalScan.app/Contents/MacOS/FocalScan: Exec format error
So here's where we are stuck: getting the compiled program from the Linux installer (much like @cgreene with the Mac installation), seeing if that works on Linux, and then putting the compiled program in S3 so we can wget it to install it on the project Docker image.
I am going to split up #529 into more focused tickets. I am stuck on FocalScan installation (related to #540) and want to record what I've found so far.
FocalScan (Karlsson and Larsson. NAR. 2016.)requires
v901of the MATLAB Compiler Runtime to use the executable (documentation), which can be added as a layer to the Docker container with the following:Following the instructions here, e.g., not installing MCR first, resulted in the following error when building locally on a Linux machine (not in a Docker container):
Some cursory googling suggested that installing MCR first would fix this. @cgreene got the compiled program itself from the
Installer_Mac.app.zipdownload in the documentation above, but that can't be used with Linux because:So here's where we are stuck: getting the compiled program from the Linux installer (much like @cgreene with the Mac installation), seeing if that works on Linux, and then putting the compiled program in S3 so we can
wgetit to install it on the project Docker image.