Installation Instructions: Difference between revisions

From MEG Core
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(samsrcv5)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=== Installing SAM from Source Code ===
=== Installing SAM from Source Code ===

There is a newer version of the SAM Suite, V5. We removed some problematic licenced code, and switched over to GSL for many of the mathematical functions. This is the latest tarball: [[:Media:SAMsrcV5-20210705.tgz|SAMsrcV5-20210705.tgz]].

==== Older versions are below. ====


Linux system (tested under CentOS 6.x, CentOS 7.x, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Fedora 27)
Linux system (tested under CentOS 6.x, CentOS 7.x, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Fedora 27)
Line 21: Line 25:


If you have any problems installing SAMsrcV3, please contact MEG Core staff for assistance.
If you have any problems installing SAMsrcV3, please contact MEG Core staff for assistance.

Note that this source code, as delivered, is configured to make executables that are compatible with CTF MEG datasets. The software can, however, be configured to process 4D/BTi datasets. In order to compile the software for 4D/BTi compatibility, edit config/Makefile.config to uncomment the following line:

CFLAGS += -DBTI

The source code can then be compiled as above. If you have already compiled for CTF MEG, clear the previous installation using

make clean


=== Using SAM on the NIH HPC equipment ===
=== Using SAM on the NIH HPC equipment ===

Latest revision as of 12:15, 5 July 2021

Installing SAM from Source Code

There is a newer version of the SAM Suite, V5. We removed some problematic licenced code, and switched over to GSL for many of the mathematical functions. This is the latest tarball: SAMsrcV5-20210705.tgz.

Older versions are below.

Linux system (tested under CentOS 6.x, CentOS 7.x, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Fedora 27)

 The latest source tarball is available here:  SAMsrcV3-20170205.tgz.
 Download and unpack with:
 tar -xzvf SAMsrcV3-20170205.tgz

MacOS Users using the clang compiler (tested under macOS 10.13.x)

 The latest source tarball is available here: SAMsrcV3-20170205_clang.tgz.
 Download and unpack with:
 tar -xzvf SAMsrcV3-20170205_clang.tgz

MacOS Users using the gcc-7 compiler (tested under macOS 10.13.x)

 The latest source tarball is available here:  SAMsrcV3-20170205_gcc-7.tgz.
 Download and unpack with:
 tar -xzvf SAMsrcV3-20170205_gcc-7.tgz

This will create a directory called SAMsrcV3. Within that directory is a config directory. You may need to change Makefile.site to ensure that SAM can find the fftw3 libraries. By default, the binaries will be installed in the SAMsrcV3/bin directory, this can be changed by editing the config/Makefile.config file. Once you have made any necessary alterations, from the SAMsrcV3 directory, type

 make

If you have any problems installing SAMsrcV3, please contact MEG Core staff for assistance.

Note that this source code, as delivered, is configured to make executables that are compatible with CTF MEG datasets. The software can, however, be configured to process 4D/BTi datasets. In order to compile the software for 4D/BTi compatibility, edit config/Makefile.config to uncomment the following line:

CFLAGS += -DBTI

The source code can then be compiled as above. If you have already compiled for CTF MEG, clear the previous installation using

 make clean

Using SAM on the NIH HPC equipment

The latest SAM software is now available on the NIH HPC systems (Felix, Helix, and Biowulf) as a module. At the prompt, type

 module load samsrcv3