Welcome to MilkyWay@home

CUDA for Milkyway@Home

Message boards : Application Code Discussion : CUDA for Milkyway@Home
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · 6 · Next

AuthorMessage
Divide Overflow
Avatar

Send message
Joined: 16 Feb 09
Posts: 109
Credit: 11,089,510
RAC: 0
Message 28685 - Posted: 31 Jul 2009, 22:10:54 UTC - in response to Message 28684.  

Hehe, I sympathize with you. I have quite a few of those older cards available as well. I guess the project really needs the precision and those "older" GPU's aren't quite up to the task.
ID: 28685 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
James Nunley

Send message
Joined: 29 Nov 07
Posts: 39
Credit: 74,300,629
RAC: 0
Message 28699 - Posted: 1 Aug 2009, 6:55:05 UTC

Does this mean no single precision app for ati either?
ID: 28699 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Travis
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist

Send message
Joined: 30 Aug 07
Posts: 2046
Credit: 26,480
RAC: 0
Message 28700 - Posted: 1 Aug 2009, 8:20:59 UTC - in response to Message 28699.  

Does this mean no single precision app for ati either?



Thats correct. Milkyway@Home really requires double precision accuracy for what we're doing. There are too many numerical issues if we go to single precision.
ID: 28700 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile TomaszPawel
Avatar

Send message
Joined: 9 Nov 08
Posts: 41
Credit: 92,786,635
RAC: 0
Message 28701 - Posted: 1 Aug 2009, 10:47:03 UTC - in response to Message 28700.  

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
NVIDIA CUDA
Windows XP and Vista Release Notes
Version 2.3
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
New Features
--------------------------------------------------------------------------------

Hardware Support
o See http://www.nvidia.com/object/cuda_learn_products.html

Platform Support
o Additional OS support
- Microsoft Windows 7 32-bit and 64-bit

CUFFT Features
o Performance enhancements
o Double precision
- CUFFT now supports double-precision transforms, with types and
functions analagous to the existing single-precision versions.
Similarly, the "cufftType" enumeration (used in calls like
cufftPlan1d) has expanded to include double-precision identifiers:

Precision: Single Double
Type: cufftReal cufftDoubleReal
Type: cufftComplex cufftDoubleComplex

cufftType: CUFFT_R2C CUFFT_D2Z
cufftType: CUFFT_C2R CUFFT_Z2D
cufftType: CUFFT_C2C CUFFT_Z2Z

Function: cufftExecC2C cufftExecZ2Z
Function: cufftExecR2C cufftExecD2Z
Function: cufftExecC2R cufftExecZ2D

- The double-precision versions are invoked in an identical manner to
the single-precision ones, obviously with arguments changed from the
single- to the double-precision types. See "cufft.h" for exact
definitions of the above.

Cross-Compilation Support
o Support compilation of 32bit applications on 64bit hosts.

System Enhancements
o SLI Device Enumeration
- Applications can now access all devices in an SLI group individually.

Double Handling by the Compiler
o when a ptx file with an sm version prior to sm_13 contains double
precision instructions, ptxas now emits a warning that double precision
instructions are demoted to single precision. ptxas has a new option
--suppress-double-demote-warning to suppress this warning

:)
A proud member of the Polish National Team

COME VISIT US at Polish National Team FORUM

ID: 28701 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28729 - Posted: 1 Aug 2009, 21:51:17 UTC - in response to Message 28652.  
Last modified: 1 Aug 2009, 21:55:50 UTC

Here is a new release of the GPU App source (v0.08)

(Binaries for Windows and Linux included)

http://milkyway.cs.rpi.edu/milkyway/download/code_release/mw_gpu_v0.08.tar
http://milkyway.cs.rpi.edu/milkyway/download/code_release/mw_gpu_v0.08.zip

please read the readme
http://milkyway.cs.rpi.edu/milkyway/download/code_release/readme

This will be the final release version that goes on BOINC pending any bugs and the new likelihood fixes. Also this release is more of a "does this work on other people's machines besides mine" so don't expect it to run with BOINC



Saw this in the ReadMe ..

-Windows users need to use the 32 bit version


32bit version of what? BOINC? Because I downloaded the 64bit version..
ID: 28729 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Anthony Waters

Send message
Joined: 16 Jun 09
Posts: 85
Credit: 172,476
RAC: 0
Message 28730 - Posted: 1 Aug 2009, 22:02:56 UTC - in response to Message 28729.  

CUDA 2.2 Toolkit and appropriate driver listed on NVIDIA's website[1]
-Windows users need to use the 32 bit version

meaning the 32 bit version CUDA 2.2 Toolkit, sorry for the confusion
ID: 28730 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28733 - Posted: 2 Aug 2009, 0:50:25 UTC - in response to Message 28730.  



meaning the 32 bit version CUDA 2.2 Toolkit, sorry for the confusion


Wait..so I need Nvidas 32bit GPU drivers to be able to run this? Why would someone delete their 64bit GPU drivers to download 32bit drivers to run this on their spare time?

Unless, I'm missing something here?
ID: 28733 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28734 - Posted: 2 Aug 2009, 0:51:25 UTC - in response to Message 28733.  
Last modified: 2 Aug 2009, 0:51:54 UTC

meaning the 32 bit version CUDA 2.2 Toolkit, sorry for the confusion


Wait..so I need Nvidas 32bit GPU drivers to be able to run this? Why would someone delete their 64bit GPU drivers to download 32bit drivers to run this on their spare time?

Unless, I'm missing something here? If that's how it is..it sounds like this is in Alpha stage.
ID: 28734 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Anthony Waters

Send message
Joined: 16 Jun 09
Posts: 85
Credit: 172,476
RAC: 0
Message 28744 - Posted: 2 Aug 2009, 12:45:10 UTC - in response to Message 28734.  
Last modified: 2 Aug 2009, 12:46:28 UTC

32 bit version of the CUDA 2.2 Toolkit, you can use 32bit or 64bit drivers, sorry for the confusion

Appropriate driver, just means the version number, I'll update the readme
ID: 28744 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28760 - Posted: 2 Aug 2009, 22:15:28 UTC

I clicked on the bat file..then clicked on the .exe file, and I got this:
http://img195.imageshack.us/img195/1064/milkywayu.png

Did I do it wrong?
ID: 28760 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile borandi
Avatar

Send message
Joined: 21 Feb 09
Posts: 180
Credit: 27,806,824
RAC: 0
Message 28774 - Posted: 3 Aug 2009, 0:55:25 UTC - in response to Message 28760.  
Last modified: 3 Aug 2009, 0:56:24 UTC

Looks like you haven't installed the CUDA 2.2 Toolkit? Windows should automatically reference in the files like cudart.dll.

Toolkit != drivers. You need both.
ID: 28774 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28792 - Posted: 3 Aug 2009, 10:21:08 UTC - in response to Message 28774.  
Last modified: 3 Aug 2009, 10:33:24 UTC

Looks like you haven't installed the CUDA 2.2 Toolkit? Windows should automatically reference in the files like cudart.dll.

Toolkit != drivers. You need both.


Okay..now I downloaded the Cuda Toolkit and rebooted, now I get an error of:

"The application was unable to start correctly (0xc000007b). Click OK to close the application."

I am doing it right, right? Click on the Windows BAT file then click on the .exe? When I click on the BAT file 2 window things go onto my desktop, with the names of "Out" and "Stderr" ..I believe it shows them on my picture in my last post, are those files suppose to be on the desktop?

I realize this is testing ..but these directions suck. I hope you guys aren't going to make it this hard for when it launches.
ID: 28792 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Emanuel

Send message
Joined: 18 Nov 07
Posts: 280
Credit: 2,442,757
RAC: 0
Message 28801 - Posted: 3 Aug 2009, 14:04:29 UTC - in response to Message 28792.  

It'll only launch when the application has been fully integrated into BOINC.
ID: 28801 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile borandi
Avatar

Send message
Joined: 21 Feb 09
Posts: 180
Credit: 27,806,824
RAC: 0
Message 28809 - Posted: 3 Aug 2009, 15:56:16 UTC - in response to Message 28652.  

It'll only launch when the application has been fully integrated into BOINC.


This will be the final release version that goes on BOINC pending any bugs and the new likelihood fixes. Also this release is more of a "does this work on other people's machines besides mine" so don't expect it to run with BOINC


Emanuel, you seem to be contradicting Anthony?

I realize this is testing ..but these directions suck. I hope you guys aren't going to make it this hard for when it launches.


Yes this is testing - to see if it works on other CUDA developers machines. Of course it'll be more straight forward than this - BOINC has the CUDA infrastructure to cope for it just to be added. Then it's a case of making sure you have the right driver.

As for the windows zip file, just loaded it on my work machine where I do most of my CUDA coding. Opened the .sln in VS08 and it's complaining it can't find the file Cuda.Rules:

Custom build rules file 'mw_gpu_v0.08\milkyway\bin\Cuda.Rules' was not found or failed to load.


App doesn't work here on a case of it's not a CUDA machine - was hoping to load it in VS then run in emu mode.

I'll try on my CUDA machine at home in due course.
ID: 28809 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Anthony Waters

Send message
Joined: 16 Jun 09
Posts: 85
Credit: 172,476
RAC: 0
Message 28846 - Posted: 3 Aug 2009, 23:46:43 UTC - in response to Message 28792.  


Okay..now I downloaded the Cuda Toolkit and rebooted, now I get an error of:

"The application was unable to start correctly (0xc000007b). Click OK to close the application."

I am doing it right, right? Click on the Windows BAT file then click on the .exe? When I click on the BAT file 2 window things go onto my desktop, with the names of "Out" and "Stderr" ..I believe it shows them on my picture in my last post, are those files suppose to be on the desktop?

I realize this is testing ..but these directions suck. I hope you guys aren't going to make it this hard for when it launches.


1. Check the file stderr.txt for the detailed error message
2. Verify that in the same folder of the executable there is a file named astronomy_parameters.txt, stars.txt, and search_parameters.txt. If there is not then the set_parameters.bat file was run incorrectly, it needs to be executed from the command line and given a command line argument. Please see http://commandwindows.com/ if you are unfamiliar with the command line. Alternatively if you cannot get the command line to work you can copy and rename the file astronomy_parameters-20.txt to astronomy_parameters.txt, stars-20.txt to stars.txt and search_parameters-20.txt to search_parameters, this is effectively what the batch file does, except instead of using 20 it uses the number that was passed in as the command line argument.
3. From the looks of it your using Vista/Win7 so it might be an Operating System specific issue, I have personally only tested it on Windows XP x64 and Linux/GNU 64 bit

When it launches through BOINC the application will download and automatically run without user intervention, unless an error occurs with initializing the GPU.

As for the directions, any ideas as to what to include to make them better? I tried to write them as detailed as possible but it is always hard to imagine how so many different people can interpret a piece of writing, especially if they are unfamiliar with the subject.
ID: 28846 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Anthony Waters

Send message
Joined: 16 Jun 09
Posts: 85
Credit: 172,476
RAC: 0
Message 28847 - Posted: 3 Aug 2009, 23:54:23 UTC - in response to Message 28809.  


As for the windows zip file, just loaded it on my work machine where I do most of my CUDA coding. Opened the .sln in VS08 and it's complaining it can't find the file Cuda.Rules:

Custom build rules file 'mw_gpu_v0.08\milkyway\bin\Cuda.Rules' was not found or failed to load.


App doesn't work here on a case of it's not a CUDA machine - was hoping to load it in VS then run in emu mode.

I'll try on my CUDA machine at home in due course.


I have a lacking of expertise with respect to Visual Studio, especially the latest versions, so I'm not quite sure how to setup the solution and project files in a machine independent way. If you look in the same directory as the project file you will notice that the Cuda.Rules file is located in there, if you could update Visual Studio to use that file it should update the path and correctly load the file. I think the place where you specify the Build Rules is under the project settings menu (Right click on the project) and navigate to Custom Build Rules

I realized that after I wrote the above paragraph that I neglected to include the actual file in the release, since the paragraph still sort of applies I chose not to delete it. Here is the Cuda.Rules file http://milkyway.cs.rpi.edu/milkyway/download/code_release/
ID: 28847 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Mike

Send message
Joined: 9 Apr 09
Posts: 19
Credit: 544
RAC: 0
Message 28858 - Posted: 4 Aug 2009, 4:57:15 UTC

1. Check the file stderr.txt for the detailed error message


Nothing in there but this: ""

As far as doing number 2 of what you said..you completely lost me on that one, I think I'll just sit this one out. I never done this sort of thing, but I just wanted to help to get this Cuda project on its knees faster.

Hopefully you guys have people testing this besides whats been said in this thread so far..because honestly its looking a little sparse for testers.

I run Windows 7 64bit with a dual boot of Ubuntu 9.04 ..which I'm still learning, if I'm having this much trouble on Windows, I don't think I'm going to be trying it on Linux.
ID: 28858 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile borandi
Avatar

Send message
Joined: 21 Feb 09
Posts: 180
Credit: 27,806,824
RAC: 0
Message 28863 - Posted: 4 Aug 2009, 8:31:58 UTC - in response to Message 28847.  
Last modified: 4 Aug 2009, 8:32:18 UTC

I realized that after I wrote the above paragraph that I neglected to include the actual file in the release, since the paragraph still sort of applies I chose not to delete it. Here is the Cuda.Rules file http://milkyway.cs.rpi.edu/milkyway/download/code_release/


Thanks Anthony :)
ID: 28863 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
BulldogPO

Send message
Joined: 30 Jun 09
Posts: 17
Credit: 40,702,094
RAC: 0
Message 28927 - Posted: 5 Aug 2009, 14:28:06 UTC

Damn, project does not accept new users :(
ID: 28927 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Anthony Waters

Send message
Joined: 16 Jun 09
Posts: 85
Credit: 172,476
RAC: 0
Message 28936 - Posted: 5 Aug 2009, 16:12:35 UTC - in response to Message 28927.  

Damn, project does not accept new users :(


There is no project for the CUDA application, unless you are referring to something else?

Right now the CUDA application is currently in alpha stage for community preview and will be joining the regular Milkyway@Home project as a Beta application once the likelihood issue is resolved.
ID: 28936 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · 5 · 6 · Next

Message boards : Application Code Discussion : CUDA for Milkyway@Home

©2024 Astroinformatics Group