-
Notifications
You must be signed in to change notification settings - Fork 141
mrMesh install
mrMesh has a client and server component. The pnet program communicates between the client and server. The pnet file needs to be compiled to run on your platform (intel or Apple silicon or whatever you are using).
The location of the files that need to be compiled are in the mrMesh subdirectory of vistasoft, specifically in mrMesh/tcpToolbox. A number of these have already been compiled, and your system may have a compiled file there.
The instructions for the mex compile (Matlab) are in the header of pnet.c. Here is a look
On August 27, 2024 Wandell used mex -O pnet.c to generate the mex file for Apple silicon. It generated 9 warnings, but did complete.
Warning from the Apple Silicon compile
We then installed 'wine' using 'brew'. I did this both on the Apple Silicon and on my Intel Mac at home.
brew update
brew install wine-stable
I had not updated using brew in a long time, so I also called brew upgrade
. In some cases, the brew install required permission to write or create new directories. The brew command can not be run as sudo any more. So I did a couple of
chmod -R wandell <directoryName>
to let brew complete its task.
Another issue with wine is that it requires Rosetta 2 to be installed on Apple Silicon. I already had it installed, and we think many people do. To check, we ran this:
arch -x86_64 zsh
It returned and since it required Rosetta, I figured Rosetta was installed. I ran the same command on my Intel Mac, and it ran there, too.
Then, I invoked
wine mrMeshSrv.exe
I had to go to Settings, Privacy and Security, to allow wine to run. I did, and then the mrMeshSrv window appeared on my Mac.
- Vistasoft
- Getting Started
- mrVista Overview
- Anatomy
- Functional MRI
- mrVista
- Retinotopy tutorial
- Population RF methods also prf Model, prf_tutorial, prf tutorial
- Diffusion weighted MRI
- Visualization
- Tractography
- Tutorials
- Software overview