I have ssh access to a remote linux server and no admin rights. The server does not have matlab installed and I need to run a few matlab scripts. Are there any ways by which I can run these scripts on the server ? I read a few links saying to download the matlab compiler or runtime but they do not have detailed instructions on how to proceed and even less so pertaining to remote servers.
Generally there are three options
install MATLAB (it is available for Linux but you need to have admin rights..)
box your scripts as distributables with the Application Compiler (as #UnbearableLigthness already mentioned). You will need to install the MATLAB Runtime on your Linux server to run those applications. However, you can package the runtime in the application (bulletpoint 3).
create C code with the MATLAB Coder and compile it on your Linux server. This requires no installation but does not support all functions (e.g. most constrained optimization algorithms are not supported)
Related
Clearly, you can run Code Server on a Linux host, or with WSL on a Windows host. Either will provide a Linux run-time environment for your code. I have 2 projects with 3rd party Windows binary dependencies which will not run on Linux. So, is there a way to get a Windows run-time using Code Server?
Here's the situation: We are doing a POC for a customer that analyses medical images for radio-therapy using MATLAB. The've automated everything with a nice framework based on micro-services. That way everything is automated from the moment the file comes in on a specific (windows) file-location until everything is processed and analysed.
The customer has asked us to do a POC with their software to see if it runs faster on HADOOP. The idea we have at this time is to run everything on windows, but keep the files stored on Hadoop. But that means that the MATLAB runtime has to connect to HDFS. Our Hadoop System is actually Microsoft HDInsight, as part of a Microsoft APS.
The have compiled there own runtime, but we also have the source-code of the runtime. We cannot install anyhting on the Windows servers where Hadoop is installed. We do have a server that is able to connect to the Hadoop servers and were we have installed the Matlab runtime.
How do we proceed with this?
Is it possible to put the files that need to be analyzed on Hadoop en execute the MATLAB runtime from a windows machine?
Are my thoughts on this matter too simple? Or do we need to write map/redcue code that needs to be integrated in the MATLAB runtime?
I have a MATLAB executable that I am trying to deploy within my company, but I don't want people to need to install a bunch of stuff. The executable is saved to a network location and I want them to just run it. I have MATLAB Compiler Runtime (MCR) set up on the network, but now I'm running into issues with Visual C++ Runtime (VC++R) saying the application isn't installed properly. Is there a way to install VC++R to a network location. (People don't have permissions to install things, which is why I want to get away from having to install MCR and VC++R.)
From my experience with deployed MATLAB using MCR through r2013a, MCR must always be installed locally.
This does present an issue with thin clients.
A workaround would be to deploy the executable as a remote-ly accessible service, either a Windows Service or other endpoint. This was my solution
I have terminal access to an AIX machine using ssh/telnet (No root access). I need to develop programs using C and compile it using the xlc compiler. Currently I can open remote files in eclipse(Juno) using RSE and edit files, but code-completion and error checking won't work. Can anyone please, help me to setup eclipse, so that code-completion would work and also, I would be able to compile the code from my Windows machine. Any help would be deeply appreciated.
You could try this, http://wiki.eclipse.org/PTP/rdt-setup or.. check out...
How to build a c++ project on a remote computer in Eclipse?
Somewhat similar. If you look at the 3rd answer.
Also you could try X11 Forwarding -
http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-x-forwarding
Instead of trying to setup Eclipse and CDT to do remote development, you may want to consider purchasing IBM Rational Developer for Power Systems Software (RDP), which is an Eclipse-based remote development environment that allows for C and C++ (and COBOL) application development on AIX from a Windows or Linux system. More information can be found here.
We have a large application that has been developed over 15 years and in installed in 200+ client locations. The application currently consists of an Access database and a bunch of executable and report files located on a network share. A Setup.EXE file is run on each client machine (dlls are installed on the client) and then the client machines run the executables directly from the network share. During our upgrade procedure the new executable and report files are copied to the network share and that way each client gets the update immediately.
Our current installation program is very old and, among other things, it doesn't handle x64 so we are in the process of moving to a new deployment tool. At the same time we are migrating client Access databases to SQL Server. I am having difficulty finding a deployment tool to do what we require. Specifically we need the install/upgrade file to do the following:
It must be able to be run from a client machine on a network and copy the new executable and report files to the network share. That share could be a Linux box or a dumb storage device.
Accept a password before running the installation
Allow the user to select the network share as the location to copy the executables
It must NOT add anything to the client machine from where the package is run (Add/Remove Programs, registry, etc.)
Connect to a SQL Server database and run a script
The install/upgrade must be contained in a single, standalone .msi or .exe file. (no dependencies on dlls or frameworks other than those that come with Windows XP)
The file must be able to be run in one simple step. It is the end user that runs the upgrade without our support and without involvement from IT.
It looks like the closest thing to what I need is WiX but the problem there is that whenever the .msi file is run from a client, the client machine thinks that a program is being installed so it allows the client machine to uninstall the product, which is not acceptable.
If the product were written today it would certainly be architected differently but it currently is what it is and we can’t change that. Any help here would be greatly appreciated!
WiX is just a toolset built on top of Windows Installer technology. It makes many things easier and simpler as well as hides lots of Windows Installer weird features... But, it is still limited by Windows Installer, its underlying technology.
Your list of requirements made me think that Windows Installer is not the right technology to choose. I would assume that you'll spend more time on workarounds, than on functional code... But I have no experience with other installation technologies, so I'll leave those recommendations to others.