This is the Homebrew version of the installation: • • • • •
/usr/local is owned by the main user root (and sudo) are not used
Homebrew's python 2.7 is installed Using Matlab R2013b and Java 7 from Oracle GPU features are NOT supported
Prerequisites
1. Install Xcode 2. Install OS X Command Line Tools on the terminal: xcode-‐select -‐-‐install
3. Install Homebrew and check that it's working 4. Set environment variables in ~/.bash_profile or its equivalent # Put homebrew paths first export PATH=/usr/local/bin:/usr/local/sbin:$PATH
wget https://googletest.googlecode.com/files/gtest-‐1.7.0.zip unzip gtest-‐1.7.0.zip cp -‐r gtest-‐1.7.0/include/gtest /usr/local/include/. cd gtest-‐1.7.0 mkdir build cd build cmake .. make cp libgtest* /usr/local/lib/.
9. Future Step: Install CUDA and CULA
10. Make sure you are using the same JDK as the Matlab Java version. In th determine your version like so: ○ javac -‐version on the command line ○ version -‐java in Matlab
For Matlab R2013b I used http://download.oracle.com/otn-pub/java b13/jdk-7u51-macosx-x64.dmg
Installation from Sources DCMTK brew install libiconv brew link libiconv (will fail) sudo brew link libiconv --force (will refuse, but allow sudo on next cmd) brew link libiconv --force (will work) ln -s /usr/local/lib/libiconv.2.dylib /usr/local/lib/liblibiconv.2.dylib ln -s /usr/local/lib/libiconv.dylib /usr/local/lib/liblibiconv.dylib git clone git://git.dcmtk.org/dcmtk.git cd dcmtk
K_LIBRARY_PATH AB_HOME/bin/maci64
doxygen docbook-‐
heory you can
a/jdk/7u51-
brew link libiconv (will fail) sudo brew link libiconv --force (will refuse, but allow sudo on next cmd) brew link libiconv --force (will work) ln -s /usr/local/lib/libiconv.2.dylib /usr/local/lib/liblibiconv.2.dylib ln -s /usr/local/lib/libiconv.dylib /usr/local/lib/liblibiconv.dylib git clone git://git.dcmtk.org/dcmtk.git cd dcmtk mkdir build cd build cmake make install
ISMRMRD
git clone https://github.com/ismrmrd/ismrmrd cd ismrmrd git checkout development mkdir build cd build/ cmake -‐D CMAKE_INSTALL_PREFIX=$ISMRMRD_HOME ../ make make install Gadgetron
git clone https://github.com/gadgetron/gadgetron cd gadgetron git checkout development mkdir build cd build/ cmake -‐DCMAKE_INSTALL_PREFIX=/usr/local -‐DPYTHON_LIBRARY=`python-‐config -‐-‐ DPYTHON_INCLUDE_DIR=`python-‐config -‐-‐prefix`/Headers ../ make make install Siemens converter (needed for Gadgetron integration tests)
git clone https://github.com/nih-‐fmrif/siemens_to_ismrmrd cd siemens_to_ismrmrd mkdir build cd build/ cmake -‐D CMAKE_INSTALL_PREFIX=$ISMRMRD_HOME ../ make make install GE tools (optional)
git clone https://github.com/nih-‐fmrif/ge-‐tools (NOT FOUND) cd ge-‐tools mkdir build cd build/ cmake -‐D CMAKE_INSTALL_PREFIX=$ISMRMRD_HOME ../ make make install
-‐prefix`/Python -‐
git clone https://github.com/nih-‐fmrif/ge-‐tools (NOT FOUND) cd ge-‐tools mkdir build cd build/ cmake -‐D CMAKE_INSTALL_PREFIX=$ISMRMRD_HOME ../ make make install Post-install Config and Testing
1. Copy $GADGETRON_HOME/config/gadgetron.xml.example to$GADGETRON_HOME/co 2. Fetch Gadgetron test data: run python get_data.py in test/integration in the Ga 3. Run integration tests: run python run_all_tests.py $ISMRMRD_HOME $GADGETRON test_cases.txt in test/integration in the Gadgetron source tree. Everything works
Università degli Studi di Milano - OGD â aa 2015-16. 1. Summary. Brave Kids Team . ..... Master's Degree in Computer Science .... ranging from 7 to 35 years. Despite our target ...... For the others, please check the PDF file in attachment.
proposal for syntax analysis, semantic analysis, and AST representation of ... Quick summary of the OpenMP 3.1 API C/C++ syntax and semantics is available.
Authors would like to acknowledge valuable advice provided by Hal Finkel [4], ... [4] Hal Finkel, [LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM.