Skip to content

charls-data/stata-gtools-wintel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Stata Gtools with Intel C Compiler on Windows

stata-gtools-wintel provides a native compilation of Stata-Gtools on Windows with Intel C compiler.

Build

git clone 
cd stata-gtools-wintel
git submodule update --init -recursive

# patch
patch ./stata-gtools/src/plugin/gtools.h < ./patches/gtools_h_wintel.patch
patch ./stata-gtools/src/plugin/common/fixes.c < ./patches/fixes_c_wintel.patch
patch ./stata-gtools/src/plugin/common/quicksort.c < ./patches/quicksort_c_wintel.patch
patch ./stata-gtools/src/plugin/common/quicksortMultiLevel.c < ./patches/quicksortMultiLevel_c_wintel.patch

# compile
cmake `
-DCMAKE_BUILD_TYPE=RELEASE `
-DUSE_OPENMP=OFF `  # on if need parallel support
-DCMAKE_C_COMPILER=icx `
-DCMAKE_CXX_COMPILER=icx `
-G "NMake Makefiles" ..

nmake

Benchmark

Program:   StataNow/MP 18.5 with 16-core License
OS:        x86_64 Windows
Processor: Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz
Memory:    32GiB
Benchmarks

About

Build Stata Gtools with Intel C Compiler on Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published