Skip to content
Arnaud Delorme edited this page Jul 25, 2024 · 1 revision

The information on this page may not be up-to-date, please visit this page for detailed instructions on downloading, installing, and running AMICA.

Files

Linux/Unix

32 bit

64 bit

Windows

32 bit

64 bit

Mac

32 bit

64 bit

To run the mac binary:

1. Copy the files amica12mac64 and libiomp5.dylib to a directory, like /users/hans/amica/.

2. Open a terminal window and type:

$ export DYLD_LIBRARY_PATH=/home/hans/amica (or whatever directory you used in step 1.)

3. Copy runamica12.m and loadmodout12.m to a directory in your matlab path.

4. In the file runamica12.m, set AMDIR to the directory (/users/hans/amica) and set AMBIN to amica12mac64.

5. Test by running matlab and typing:

>> runamica12(randn(2,1000),'/users/hans/test/');

>> mods = loadmodout12('/users/hans/test/')

Sample Data

Sample datafile (32 channels)

Compiling

Mac

export DYLD_LIBRARY_PATH=/home/me/lib

../mpich2/bin/mpif90 -fpp -openmp /Developer/opt/intel/mkl/lib/libmkl_core.a \
/Developer/opt/intel/mkl/lib/libmkl_intel_thread.a /Developer/opt/intel/mkl/lib/libmkl_intel_lp64.a \
amica12.f90 funmod2.f90 -mssse3 -o amica12mac64 -O3

../mpich2/bin/mpif90 -fpp -openmp /Developer/opt/intel/mkl/lib/libmkl_core.a \
/Developer/opt/intel/mkl/lib/libmkl_intel_thread.a /Developer/opt/intel/mkl/lib/libmkl_intel.a \
 amica12.f90 funmod2.f90 -msse3 -o amica12mac32 -O3