Forum > Windows
sources with Orcas
_heinz:
pulsefind.cpp ---> squeezed the code.
it compiles well --->
------ Build started: Project: seti_boinc, Configuration: Release32-NOGFX Win32 ------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.20404 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl /Od /Ob2 /Oi /Ot /Oy /GT /I "." /I "../../../boinc/api" /I "../../../boinc/client/win" /I "../../../boinc/lib" /I ".." /I "glut" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\db" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\glut" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\jpeglib" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\Optimizer" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\image_libs" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build" /I "C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX" /I "C:\I\SC\vs90\boinc" /I "C:\I\SC\vs90\boinc\api" /I "C:\I\SC\vs90\boinc\client\win" /I "C:\I\SC\vs90\boinc\lib" /D "WIN32" /D "_WIN32" /D "_WINDOWS" /D "NBOINC_APP_GRAPHICS" /D "CLIENT" /D "_MT" /D "USE_IPP" /D "USE_SSE2" /D "_DEBUG" /D "_VC80_UPGRADE=0x0600" /D "_MBCS" /GF /Gm /EHsc /MTd /Zp16 /Gy /Fp".\Release/seti_boinc.pch" /Fo".\Release32-NOGFX\\" /Fd".\Release32-NOGFX\vc90.pdb" /FR".\Release32-NOGFX\\" /W3 /c /Wp64 /Zi /TP "..\pulsefind.cpp"
pulsefind.cpp
Build log was saved at "file://c:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\BuildLog.htm"
seti_boinc - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
new FPU-optimized folding subroutines are short, very compact and hopefull quick
heinz ~seti_britta ;D
Raistmer:
Did you compile whole client under Orcas already?
Any performance comparision?
_heinz:
--- Quote from: Raistmer on 06 Oct 2007, 12:58:35 pm ---Did you compile whole client under Orcas already?
Any performance comparision?
--- End quote ---
yes whole client is compiled, read one site back and you can see it.
I get still a stackoverflow when execute... so no performance comparison are possible at time.
I´m serching... maybe its a alloc problem.
_heinz:
Compiled now FFTW-3.1.2 under Orcas too
here is the first result ---->
fftw-3.1.2 benchfsse(orcas) started
benchf_sse.exe -opatient 64 128 256 512 1024 2048 4096
Problem: 64, setup: 32.54 ms, time: 2.33 us, ``mflops'': 823.7
Problem: 128, setup: 79.49 ms, time: 6.43 us, ``mflops'': 697.23
Problem: 256, setup: 196.37 ms, time: 14.25 us, ``mflops'': 718.72
Problem: 512, setup: 470.92 ms, time: 31.01 us, ``mflops'': 743
Problem: 1024, setup: 866.86 ms, time: 70.68 us, ``mflops'': 724.4
Problem: 2048, setup: 2.17 s, time: 155.61 us, ``mflops'': 723.88
Problem: 4096, setup: 7.27 s, time: 329.37 us, ``mflops'': 746.15
fftw-3.1.2 benchfsse ended.
-----------------------------------------------------------------------------------------------------
It shows that this complex FFTW project compiles fine and run with Orcas too.
regards heinz ;D
_heinz:
Hi Jason,
here are some short comments to compile FFTW-3.1.2
there are 3 projects in FFTW
1. bench
2. libfftw
3. wisdom
----------------------------------------------------------------------------
before you can compile, you must make some individual settings in config.h
you found config.h in the root of fftw-3.1.2
read docu for understanding.....
at first we must compile libfftw to create the library
then we can compile bench and link against this library to get the bench.exe file.
if you set this in the project-dependencies you need still call bench for compile the two
-------------------------------------------------------------------------------
------ Rebuild All started: Project: libfftw, Configuration: Release float SSE Win32 ------
Deleting intermediate and output files for project 'libfftw', configuration 'Release float SSE|Win32'
Compiling...
sse2.c
sse.c
Generating Code...
Compiling...
apiplan.c
version.c
the-planner.c
rdft2-pad.c
print-plan.c
plan-r2r.c
plan-r2r-3d.c
plan-r2r-2d.c
plan-r2r-1d.c
plan-many-r2r.c
plan-many-dft.c
plan-many-dft-r2c.c
plan-many-dft-c2r.c
plan-guru-split-dft.c
........ and so on... there are ~ 100 programs
........
buffered.c
awake.c
assert.c
alloc.c
Generating Code...
Compiling...
align.c
Generating Code...
Creating library...
Build log was saved at "file://c:\I\SC\vs90\fftw-3.1.2\win32\libfftw___Win32_Release_float_SSE\BuildLog.htm"
libfftw - 0 error(s), 50 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
now we compile bench ----->
------ Rebuild All started: Project: bench, Configuration: Release float SSE Win32 ------
Deleting intermediate and output files for project 'bench', configuration 'Release float SSE|Win32'
Compiling...
zero.c
verify.c
verify-rdft2.c
verify-r2r.c
..\libbench2\verify-r2r.c(182) : warning C4244: '=' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-r2r.c(327) : warning C4244: '=' : conversion from 'trigreal' to 'R', possible loss of data
..\libbench2\verify-r2r.c(412) : warning C4244: 'function' : conversion from 'trigreal' to 'R', possible loss of data
..\libbench2\verify-r2r.c(440) : warning C4244: '=' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-r2r.c(441) : warning C4244: '=' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-r2r.c(478) : warning C4244: '=' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-r2r.c(650) : warning C4244: 'function' : conversion from 'double' to 'R', possible loss of data
verify-lib.c
..\libbench2\verify-lib.c(83) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(84) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(209) : warning C4244: '=' : conversion from 'trigreal' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(210) : warning C4244: '=' : conversion from 'trigreal' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(296) : warning C4244: 'initializing' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-lib.c(312) : warning C4244: 'initializing' : conversion from 'double' to 'R', possible loss of data
..\libbench2\verify-lib.c(337) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(338) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(339) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\verify-lib.c(340) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
verify-dft.c
util.c
timer2.c
..\libbench2\timer2.c(30) : warning C4305: 'initializing' : truncation from 'double' to 'const float'
timer.c
tensor.c
speed.c
report.c
..\libbench2\report.c(97) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(366) : see declaration of 'sprintf'
..\libbench2\report.c(99) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(366) : see declaration of 'sprintf'
..\libbench2\report.c(101) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(366) : see declaration of 'sprintf'
..\libbench2\report.c(103) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(366) : see declaration of 'sprintf'
problem.c
..\libbench2\problem.c(254) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\string.h(74) : see declaration of 'strcpy'
pow2.c
ovtpvt.c
my-getopt.c
mp.c
..\libbench2\mp.c(63) : warning C4244: '=' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(271) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(358) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(359) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(368) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(369) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(409) : warning C4244: 'function' : conversion from 'int' to 'bench_real', possible loss of data
..\libbench2\mp.c(409) : warning C4244: 'function' : conversion from 'int' to 'bench_real', possible loss of data
..\libbench2\mp.c(410) : warning C4244: 'function' : conversion from 'int' to 'bench_real', possible loss of data
..\libbench2\mp.c(410) : warning C4244: 'function' : conversion from 'int' to 'bench_real', possible loss of data
..\libbench2\mp.c(502) : warning C4244: 'function' : conversion from 'double' to 'bench_real', possible loss of data
..\libbench2\mp.c(617) : warning C4244: 'function' : conversion from 'int' to 'bench_real', possible loss of data
mflops.c
main.c
info.c
Generating Code...
Compiling...
dotens2.c
caset.c
can-do.c
bench-main.c
aset.c
allocate.c
aligned-main.c
Generating Code...
Compiling...
hook.c
bench.c
..\tests\bench.c(59) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(324) : see declaration of 'sscanf'
..\tests\bench.c(63) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(324) : see declaration of 'sscanf'
..\tests\bench.c(64) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(324) : see declaration of 'sscanf'
..\tests\bench.c(87) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(237) : see declaration of 'fopen'
..\tests\bench.c(114) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\I\VS9\VC\include\stdio.h(237) : see declaration of 'fopen'
Generating Code...
Linking...
Embedding manifest...
Build log was saved at "file://c:\I\SC\vs90\fftw-3.1.2\win32\bench___Win32_Release_float_SSE\BuildLog.htm"
bench - 0 error(s), 40 warning(s)
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========
all compiles fine and we found the bench.exe in the root of \fftw-3.1.2
howto run bench.exe ----> see previous post
yes, thats it... ;D
regards heinz
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version