Posts by petri33


log in
1) Message boards : Number crunching : Step by Step, compile NVIDIA/MB CUDA app under Linux (Fedora 19) (Message 1527063)
Posted 46 days ago by Profile petri33
How about Maxwell being compute 50 ...

-gencode=arch=compute_50,code=sm_50
-gencode=arch=compute_50,code=compute_50

Just a guess.
2) Message boards : Number crunching : Compiling Applications for Linux (Message 1521301)
Posted 62 days ago by Profile petri33
There is a test suite available from either Lunatics or Crunchers Anonymous. I have not checked if You are a member of either of those, but it would be easiest to download from those places. I'm not sure if it is available without a login.

It is a bunch of testWu's and a shell script that runs a reference/standard app and multiple your own apps one after another and displays the execution times and the validity of the results.

I'll check where to find the needed files (unless someone with more knowledge can answer immediately.) EDIT: Found it, please check if You can open it.

Can you open this link http://www.arkayn.us/forum/index.php?board=9.0 ?
3) Message boards : Number crunching : Compiling Applications for Linux (Message 1519994)
Posted 66 days ago by Profile petri33
...

in addition you will probably want to examine the resulting Makefile in client/, locate the list of NVCC "-gencode" options, and add the newer compute capabilites that didn't exist before (if needed)
...



1) loacte sm_20 in some file
2) use your imagination and add an appropriate sm_35 if you have sm_35 capability.

in file 'configure' like this ..

...
# AS_IF([echo $build_cpu | grep -q "_64"],
if test x_$target_cpu = x_x86_64 ; then
NVCCFLAGS+=" -m64 "
else
NVCCFLAGS+=" -m32 "
fi
# Add architecture to flags
## PCHIRP INCOMPATIBLE NVCCFLAGS+=" -gencode arch=compute_10,code=sm_10 -gencode arch=compute_11,code=sm_11 -gencode arch=compute_12,code=sm_12 -gencode arch=compute_13,code=sm_13"
## NVCCFLAGS+=" -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_20,code=compute_20"
NVCCFLAGS+=" -gencode arch=compute_35,code=sm_35 -gencode arch=compute_35,code=compute_35 --use_fast_math"
##NVCCFLAGS+=" -arch sm_50 --use_fast_math "
##NVCCFLAGS+=" -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=compute_50 --use_fast_math "
...
4) Message boards : Number crunching : Compiling Applications for Linux (Message 1519991)
Posted 66 days ago by Profile petri33


In what file do I comment out std_fixes.h and utils.h includes? I know how to do this, but I don't know what file they're in.


Find all files containing text std_fixes in your current directory:
"grep std_fixes *"

Someone might know the syntax for "find" command..
5) Message boards : Number crunching : Compiling Applications for Linux (Message 1519990)
Posted 66 days ago by Profile petri33
Thanks JAson!
6) Message boards : Number crunching : Compiling Applications for Linux (Message 1519194)
Posted 67 days ago by Profile petri33
My first lines of cuda/cudaAcc_utilities.h is different to that in the repository ... (One extra #include and 2 declarations)

#ifndef _CUDA_ACC_UTILITIES_H
#define _CUDA_ACC_UTILITIES_H

#include<driver_types.h>

void cudaAcc_setFuncDeviceCacheConfigShared(void);
void cudaAcc_setFuncDeviceCacheConfigL1(void);

extern int cudaAcc_SafeCall_No_Sync(cudaError_t err, char* errMessage, char* file, int line);
extern int cudaAcc_SafeCall_Sync(cudaError_t err, char* errMessage, char* file, int line);
extern int cudaAcc_SafeCall_No_Sync_wExit(cudaError_t err, char* errMessage, char* file, int line);
...
7) Message boards : Number crunching : Compiling Applications for Linux (Message 1519100)
Posted 68 days ago by Profile petri33
...

I successfully installed boinc and with the -DUSE_CUDA, I get the "can't find #include std_fixes.h" error. So successfully installing boinc didn't clear that error.

With out -DUSE_CUDA, I get the "extern int cudaAcc_SafeCall_No_Sync(...)" not in scope error.
...


So You need both -DUSE_CUDA and like Claggy said specify the boinc directory BOINCDIR=${HOME}/boinc for the Xbranch to compile.
8) Message boards : Number crunching : Compiling Applications for Linux (Message 1518813)
Posted 68 days ago by Profile petri33
Hmm, I guess I have had to specify BOINCDIR=/home/petri/boinc for that.
See an earlier message my configure scripts .

It was a try, edit and retry session a long time a go. I'm sorry I did not take notes what I did to get all to compile.
9) Message boards : Number crunching : Compiling Applications for Linux (Message 1518789)
Posted 68 days ago by Profile petri33
I'm not sure, but You might need -DUSE_CUDA when configuring the Xbranch ...
10) Message boards : Number crunching : Compiling Applications for Linux (Message 1517879)
Posted 70 days ago by Profile petri33
http://boinc.berkeley.edu/trac/wiki/SourceCodeGit


Any idea where I can get that directory with all header files?
11) Message boards : Number crunching : Did the work unit limit change? (Message 1517806)
Posted 71 days ago by Profile petri33
I could.
I will not.
I'll take the mixture.
(going childish)
Would You be asking if I had 240k.
--

Br
Tim
[/quote]

Thanks Tim! (looked just at your tasklist -- 800 MB ;) )

Br
Petri
12) Message boards : Number crunching : Who uses PCIe extenders; do they work? (Message 1517590)
Posted 71 days ago by Profile petri33
I have 1 inch raisers for 2 GPU's. No cords.
13) Message boards : Number crunching : Did the work unit limit change? (Message 1517586)
Posted 71 days ago by Profile petri33
I could.
I will not.
I'll take the mixture.
(going childish)
Would You be asking if I had 240k.
--

Now I'm a bit down.

Once upon a time there was a Setiland. All people ware treated equally and there was a feeling of harmony around.

One day TheLimit was raised!

Most people noticed but nothing... But the evil was lurking around. An AP hoarder amidst us Seitzens. The universe kept on expanding as time passed by.

But one day - The AP stopped to appear. That was not evident immediately. Everyones cache was filled with a mixture of MB and AP - so nobody realised that until it was too late. No one got no AP anymore. Their caches were run out of AP.

Except for one - there was this evil hoarder. He had set a spell to the magic internet page and made sure that hed'd get no MB. This way he got all the AP in the wolrd!

Oh the groaning and moaning every morning, throughout the day and every evening. No greater evil could have hit us - people said!

Some went to the extent that they switched to another project - some waited their mouths shut.

Time passed by...

And there was this one morning when all remaining GPU coolers whirred so beautifully and all the worlds results loked a bit more shiny. Something must have happened said everyone - no one knew what.

But the a knight in an Arctic Silver IV shining body came and told every person still in the project that the CPU cooler of the hoarder had caught a fire and caused a meltdown of those horrible AP hoarding GPU cores and that the King of the Setiland had issued a permanent order: NO ONE (Tim) WITH A SETTING THAT SAYS AP ONLY AND NOT ALLOW ANY OTHER TYPE OF WORK SHALL HAVE A LIMIT OF 1 TASK A DAY INSTEAD OF 100 PER GPU AND CPU.

The people hoorrared for a total of three days and .....

--

Well - the children are now asleep. Mee too in a an hour or so.

I just looked at at the tasks of another top 10 cruncher and was kind of disappointed. When running AP only I could get 240 000 a day - but I do not want to. I have AP as a preference, but atleast I have this "send work from other projects when available" on.

How would you explain if You had N hunderd AP only? (N is a big number)


Am I cheating somehow?

I don’t think so.

Is there somewhere written that I will take MB wu’s or AP wu’s?

I don’t think so.

I can do whatever I want to my preferences, asking no one what to do because ARE MINE.
No one will tell me if I will download 800 AP’s or 800 MB WU’s
Yes I can take 800 Ap tasks and I will do it again because the server allow, and it is legal.
We all wanted 100 wu’s per Gpu as I remember, and now we are complaining?

By the way…
This machine is going to retire at about one month or two.
We have here at the office a new build with dual xeon, and 8 Gpus.I will install seti and run 1000 AP tasks.

And a question to petri33…
If you were at 2nd position, and I was at 3rd, will you have those questions?

Br
Tim
14) Message boards : Number crunching : Compiling Applications for Linux (Message 1516869)
Posted 73 days ago by Profile petri33
More suitable = better, shorter, with no experimental stuff, no hard coded paths, ...
15) Message boards : Number crunching : Did the work unit limit change? (Message 1516867)
Posted 73 days ago by Profile petri33
<cut>

How would you explain if You had N hunderd AP only? (N is a big number)

I'm not 100% what all that was about. Are you asking how they managed to get lots of AP tasks? With how the servers are currently set machine 6716400 would be allowed to download 800 GPU AP tasks. Which would have been an easy things to do given the recent load of AP generated. I have a machine that keep getting AP tasks to stay capped at 100 CPU AP tasks.

AP only. And do not allow other work. :'(
16) Message boards : Number crunching : Did the work unit limit change? (Message 1516707)
Posted 73 days ago by Profile petri33
Now I'm a bit down.

Once upon a time there was a Setiland. All people ware treated equally and there was a feeling of harmony around.

One day TheLimit was raised!

Most people noticed but nothing... But the evil was lurking around. An AP hoarder amidst us Seitzens. The universe kept on expanding as time passed by.

But one day - The AP stopped to appear. That was not evident immediately. Everyones cache was filled with a mixture of MB and AP - so nobody realised that until it was too late. No one got no AP anymore. Their caches were run out of AP.

Except for one - there was this evil hoarder. He had set a spell to the magic internet page and made sure that hed'd get no MB. This way he got all the AP in the wolrd!

Oh the groaning and moaning every morning, throughout the day and every evening. No greater evil could have hit us - people said!

Some went to the extent that they switched to another project - some waited their mouths shut.

Time passed by...

And there was this one morning when all remaining GPU coolers whirred so beautifully and all the worlds results loked a bit more shiny. Something must have happened said everyone - no one knew what.

But the a knight in an Arctic Silver IV shining body came and told every person still in the project that the CPU cooler of the hoarder had caught a fire and caused a meltdown of those horrible AP hoarding GPU cores and that the King of the Setiland had issued a permanent order: NO ONE (Tim) WITH A SETTING THAT SAYS AP ONLY AND NOT ALLOW ANY OTHER TYPE OF WORK SHALL HAVE A LIMIT OF 1 TASK A DAY INSTEAD OF 100 PER GPU AND CPU.

The people hoorrared for a total of three days and .....

--

Well - the children are now asleep. Mee too in a an hour or so.

I just looked at at the tasks of another top 10 cruncher and was kind of disappointed. When running AP only I could get 240 000 a day - but I do not want to. I have AP as a preference, but atleast I have this "send work from other projects when available" on.

How would you explain if You had N hunderd AP only? (N is a big number)
17) Message boards : Number crunching : Compiling Applications for Linux (Message 1516478)
Posted 73 days ago by Profile petri33
Hi,
I will help if I can.

1) I did get the source using svn from the ".....branches/sah_v7_opt"

2) I have gcc 3.8

3) I have made "Configure.cmd" files for MB, MB GPU, AP and AP GPU to pass all needed configuration parameters

4) cd sah_v7_opt/

Then I think (for Nvidia) ...

5) directory AP is for AP GPU and CPU

6) directory AKv8 is atleast for MB CPU

7) directory Xbranch is for MB GPU

There are those examples of configure lines that can be easily modified to working script files, i.e. in AP/client I have:

linux1 client # cat ConfigureGPU.cmd
#!/bin/bash

./configure --enable-bitness=64 --build=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-boinc-platform=x86_64-pc-linux-gnu --enable-static --enable-static-client --enable-avx --disable-shared --disable-graphics --enable-intrinsics CXXFLAGS=" -O3 -Ofast -march=corei7-avx -mtune=corei7-avx -msse -msse2 --param inline-unit-growth=3000" CPPFLAGS="-DTWIN_FFA -DUSE_FFTW -DUSE_AVX -DUSE_I386_XEON_OPTIMIZATIONS -DUSE_CONVERSION_OPT -DUSE_INCREASED_PRECISION -DSMALL_CHIRP_TABLE -DPCHIRP -DUSE_OPENCL -DOPENCL_WRITE -DCOMBINED_DECHIRP_KERNEL -DOCL_ZERO_COPY -DAP_CLIENT -DUSE_OPENCL_NV -I/usr/local/cuda-5.5/include " LIBS=" -L/usr/lib64 -lOpenCL " LDFLAGS=" -static-libgcc -static-libstdc++" BOINCDIR=" ../../../boinc" SETI_BOINC_DIR=" ../../AKv8"



and

linux1 client # cat ConfigureCPU.cmd

./configure --enable-bitness=64 --build=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-boinc-platform=x86_64-pc-linux-gnu --enable-static --enable-static-client --enable-sse2 --disable-shared --disable-graphics --enable-intrinsics CXXFLAGS=" -O3 -march=corei7-avx -mtune=corei7-avx -msse2 --param inline-unit-growth=3000 " CPPFLAGS=" -march=corei7-avx -O3 -Ofast -frerun-cse-after-loop -fgcse -fgcse-after-reload -fgcse-lm -fgcse-las -fgcse-sm -faggressive-loop-optimizations -fexpensive-optimizations -fschedule-insns -fschedule-insns2 -fmove-loop-invariants -fselective-scheduling -fvect-cost-model -fsection-anchors -fsched-stalled-insns-dep -fsched-stalled-insns -fsched-spec-load -fsched-spec -fsched-pressure -freorder-functions -freorder-blocks -frename-registers -fregmove -fprefetch-loop-arrays -fpredictive-commoning -fpeephole -foptimize-register-move -fomit-frame-pointer -DUSE_FFTW -DUSE_CONVERSION_OPT -DUSE_INCREASED_PRECISION -DSMALL_CHIRP_TABLE -DUSE_AVX -DAP_CLIENT" LIBS=" -L/usr/lib64 " LDFLAGS=" -static-libgcc -static-libstdc++" BOINCDIR=" ~petri/boinc" SETI_BOINC_DIR=" ../../AKv8"



and for MB in AKv8 I have

linux1 AKv8 # cat Configure.cmd
#For a Linux 64bit sse2-app use for example :

./configure --disable-server --disable-graphics --disable-shared --enable-bitness=64 --enable-client --enable-static-client --enable-dependency-tracking --enable-static --enable-avx --enable-comoptions --enable-intrinsics --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --with-boinc-platform=x86_64-pc-linux-gnu CXXFLAGS="-Ofast -O3 -fexceptions -fno-rounding-math -fno-signaling-nans -frerun-cse-after-loop -fgcse -fgcse-after-reload -fgcse-lm -fgcse-las -fgcse-sm -faggressive-loop-optimizations -fexpensive-optimizations -fschedule-insns -fschedule-insns2 -fmove-loop-invariants -fselective-scheduling -fvect-cost-model -fsection-anchors -fsched-stalled-insns-dep -fsched-stalled-insns -fsched-spec-load -fsched-spec -fsched-pressure -freorder-functions -freorder-blocks -frename-registers -fregmove -fprefetch-loop-arrays -fpredictive-commoning -fpeephole -foptimize-register-move -fomit-frame-pointer -fcx-limited-range -fno-math-errno -fno-trapping-math -march=corei7-avx -funroll-loops -mtune=corei7-avx -mpreferred-stack-boundary=8 --param inline-unit-growth=3000 -fprofile-generate -fprofile-correction " CPPFLAGS=" -DUSE_JSPF -DUSE_FFTW -DUSE_I386_OPTIMIZATIONS -DUSE_TRANSPOSED_POT -DFFTOUT -DNDEBUG -DUSE_PALIGNED_PULSE -DSETI7 -DUSE_AVX " LDFLAGS=" -L/usr/lib64 -static -static-libgcc -static-libstdc++" BOINCDIR=" ../../../boinc"



and in Xbranch I have

linux1 Xbranch # cat Configure55.cmd
!/bin/sh
#export CFLAGS=-msse2
./configure BOINCDIR=/home/petri/boinc CFLAGS='-O3 -march=corei7-avx -Ofast -funroll-loops -mtune=corei7-avx -mpreferred-stack-boundary=8 -fexceptions -fno-rounding-math -fno-signaling-nans -frerun-cse-after-loop -fgcse -fgcse-after-reload -fgcse-lm -fgcse-las -fgcse-sm -faggressive-loop-optimizations -fexpensive-optimizations -fschedule-insns -fschedule-insns2 -fmove-loop-invariants -fselective-scheduling -fvect-cost-model -fsection-anchors -fsched-stalled-insns-dep -fsched-stalled-insns -fsched-spec-load -fsched-spec -fsched-pressure -freorder-functions -freorder-blocks -frename-registers -fregmove -fprefetch-loop-arrays -fpredictive-commoning -fpeephole -foptimize-register-move -fomit-frame-pointer -fcx-limited-range -fno-math-errno -fno-trapping-math --param inline-unit-growth=3000 -DPINNED -DNDEBUG -DHAVE_STRCASECMP -DSETI7 -DUSE_I386_OPTIMIZATIONS -DUSE_CUDA -fpeel-loops -funroll-loops -fweb -I/usr/local/cuda-5.5/include -L/lib/x86_64-linux-gnu/ ' LIBS="/lib/x86_64-linux-gnu/libm.so.6 /usr/lib/x86_64-linux-gnu/libc.so /usr/local/cuda-6.0/lib64/libcufftw.so /usr/local/cuda-6.0/lib64/libcufft.so /usr/lib/x86_64-linux-gnu/libpthread.so /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so /lib/x86_64-linux-gnu/libm.so.6"


But ... A general warning: I think there are more suitable versions available. These files have evolved with my machine and differ a lot from their original counterparts. These may not be optimal or even correct although they work for me.

Please ask if you need help and I or anybody else with some experience will answer. I think I live in the oppsite side of the globe so we may not be on line simultaneously. Messaging will be slow. I'll check the computer regularly.

When you get compilation errors you could post them here and I'm sure someone can help.

--
Petri
18) Message boards : Number crunching : app_config.xml - the bit (Message 1516170)
Posted 74 days ago by Profile petri33
If I had 2 cores I'd definitely try HAL9000's instructions. MB GPU tasks would crunch happily along with CPU and whenever there would be AP tasks they would get automagically one CPU core per AP task.

If your GPU is more happy with 2 AP's then You could try cpu_usage 0.5 for the AP section. One core can service 2 AP's or more especially with the newer builds.

Hello,
I'm looking for explicit examples of how to use <app_version> in app_config.xml
I have two HD6950's but only a dual core CPU. So in the interest of 'keeping one CPU core free' I need to control which CPU apps run depending upon which GPU apps are running.
Is <app_version> even the right approach for this fine control?
Anyone help please?
Thanks.
Guy

Depending on exactly what you want to do the app_config.xml can help get you there.
gpu_usage: The number of GPU instances (possibly fractional) used by GPU versions of this app.
<gpu_usage>1</gpu_usage> = 1 per GPU, <gpu_usage>0.50</gpu_usage> = 2 per GPU, <gpu_usage>0.33</gpu_usage> = 3 per GPU.
cpu_usage: The number of CPU instances (possibly fractional) used by GPU versions of this app.
<cpu_usage>1</cpu_usage> = use/reserve 1 CPU/core, <cpu_usage>0.50</cpu_usage> = use/reserve half a CPU/core. So 2 instance would be 1 core

I'm not sure how many instances a 6950 can handle, but this would run 2 MB or 2 AP per GPU & reserve a CPU core per AP instance.
<app_config>
<app>
<name>setiathome_v7</name>
<gpu_versions>
<gpu_usage>0.50</gpu_usage>
<cpu_usage>0.04</cpu_usage>
</gpu_versions>
</app>
<app>
<name>astropulse_v6</name>
<gpu_versions>
<gpu_usage>0.50</gpu_usage>
<cpu_usage>1</cpu_usage>
</gpu_versions>
</app>
</app_config>
19) Message boards : Number crunching : Did the work unit limit change? (Message 1516128)
Posted 74 days ago by Profile petri33
I like the way it is now.

Those with 4 gtx690's or with 4 gtx780's like me have now a small chance to survive over weekly maintenance periods.

Edit: Doing now 478 MB and 22 AP. Boincmgr shows 30 MB GPU, 2 MB CPU, 1 AP GPU. (A lot of slots in use, All running concurrently - Please divide AP task time by four and MB time by 8 when comparing to one task at a time.)
--
Petri

I'm going to enjoy it while it lasts. Now I've got just over half a days worth in my GPU cache, so I can wait a bit longer before panicing the next time things fall over.

That worry is the main reason ] haven't bought a 2nd GPU, even though I sized my MB & power supply for another. Can't see spending money to buy worries.
When this thread opened, I started thinking about it again but Claggy clarified things for me. I don't see any logic in allowing someone with a fairly weak Intel GPU and a GT240 to have 200 GPU tasks but restrict someone with 2 690's to only 100.
20) Message boards : Number crunching : Did the work unit limit change? (Message 1515191)
Posted 76 days ago by Profile petri33
I'm running a single host.
It has 103 AP and 397 MB tasks in progress.
The 1 CPU and 4 GPU's seems to equal 500 WU's.


Next 20

Copyright © 2014 University of California