Installation Instructions: Difference between revisions

From MEG Core
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 16: Line 16:
tar -xzvf SAMsrcV3-20170205_gcc-7.tgz
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. Once you have made any necessary alterations, from the SAMsrcV3 directory, type
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
make

Revision as of 15:27, 1 March 2019

Installing SAM from Source Code

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.

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