Hi Tim,

What version of the HCP Pipeline Scripts are you using?

That error message, error while loading shared libraries: libmwlaunchermain, is typical when the compiled MATLAB executable cannot find the MCR.

As of the last official release (v3.21.0), several of the scripts still have hard coded paths to where they expect to find the MCR when using compiled MATLAB. As Matt points out, I'm in the process of updating the code so that it uses an environment variable to tell it where to look for the MCR. In the meantime, you can look for the places in the PostFix.sh script where the script variable matlab_compiler_runtime is set and change it to the appropriate path to the directory in which the R2013a MCR is installed on your system.

Hopefully, that will resolve this issue for you.

  Tim

On 04/25/2017 10:08 AM, Glasser, Matthew wrote:
We are in the process of updating the codebase that uses matlab to hopefully make it easier for folks to use compiled matlab. Until that is completed, I would recommend using interpreted matlab if you can.

Peace,

Matt.

From: <hcp-users-boun...@humanconnectome.org <mailto:hcp-users-boun...@humanconnectome.org>> on behalf of Timothy Hendrickson <hendr...@umn.edu <mailto:hendr...@umn.edu>>
Date: Tuesday, April 25, 2017 at 10:03 AM
To: "hcp-users@humanconnectome.org <mailto:hcp-users@humanconnectome.org>" <HCP-Users@humanconnectome.org <mailto:HCP-Users@humanconnectome.org>>
Subject: [HCP-Users] Shared Library Error

Hello,

I am attempting to run the PostFix processing stream. I downloaded the Matlab2013a MCR version as required to run the stream. I ran into problems once the PostFix stream attempted to call shared libraries through the LSB executable prepareICAs.

This is the error I received: error while loading shared libraries: libmwlaunchermain.
so: cannot open shared object file: No such file or directory

-Tim

Timothy Hendrickson
Department of Psychiatry
University of Minnesota
Bioinformatics and Computational Biology M.S. Candidate
Office: 612-624-6441
Mobile: 507-259-3434 (texts okay)

_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org <mailto:HCP-Users@humanconnectome.org>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

------------------------------------------------------------------------

The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.


--
/Timothy B. Brown
Business & Technology Application Analyst III
Pipeline Developer (Human Connectome Project)
tbbrown(at)wustl.edu
/
------------------------------------------------------------------------
The material in this message is private and may contain Protected Healthcare Information (PHI). If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to