Skip to content

johnhooft/stingray-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

% BEGIN TERMS OF USE LICENSE
%
% This SOFTWARE is maintained by Doug Toomey at the Department of
% Earth Sciences at the University of Oregon.
% 
% The term 'SOFTWARE' refers to the Matlab source code, Fortran source
% code, translations to any other computer language, or object code
%
% Terms of use of this SOFTWARE
%
% 1) Use of this SOFTWARE by any for-profit commercial organization is
%    expressly forbidden.
%
% 2) A student or employee of a non-profit educational institution may 
%    use this SOFTWARE subject to the following terms and conditions:
%    - this SOFTWARE is for teaching or research purposes only.
%    - reselling the SOFTWARE, or including it or any portion of it, in any
%      software that will be resold is expressly forbidden.
%    - transfering the SOFTWARE in any form to a commercial firm or any 
%      other for-profit organization is expressly forbidden.
%
% END TERMS OF USE LICENSE

% C++ Library Install Instructions:

Required libraries:
- OneTBB (For parallelization)

OneTBB Github Install Link: https://github.com/uxlfoundation/oneTBB/blob/master/INSTALL.md

Following instructions at bottomon Install page:
`
# Do our experiments in %TMP%
cd %TMP%
# Clone oneTBB repository
git clone https://github.com/uxlfoundation/oneTBB.git
cd oneTBB
# Create binary directory for out-of-source build
mkdir build && cd build
# Configure: customize CMAKE_INSTALL_PREFIX and disable TBB_TEST to avoid tests build
cmake -DCMAKE_INSTALL_PREFIX=%TMP%\my_installed_onetbb -DTBB_TEST=OFF ..
# Build "release with debug information" configuration 
cmake --build . --config relwithdebinfo
# Install "release with debug information" configuration 
cmake --install . --config relwithdebinfo
# Well done! Your installed oneTBB is in %TMP%\my_installed_onetbb
`

- Once install is complete, go to CMakeLists.txt, and replace the OneTBB Paths with one that matches your install location.
- Then go to source/build and run:
`
sudo rm -rf *
cmake ..
make
`

If Build is successfull then you're all done! 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published