Advanced search

Message boards : Number crunching : Quantum chemistry calculations on GPU

Author Message
roundup
Send message
Joined: 11 May 10
Posts: 57
Credit: 1,731,345,193
RAC: 13,083,841
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 60938 - Posted: 8 Jan 2024 | 19:26:02 UTC

I have received 4 'Quantum chemistry calculations on GPU' WU, 3 of them calculated successfully on 2 linux machines with 4080 and 4070ti.
Example here:
https://www.gpugrid.net/result.php?resultid=33727490
150 credits per successful WU? Seems odd.

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 1289
Credit: 5,227,156,959
RAC: 10,545,789
Level
Tyr
Scientific publications
watwatwatwatwat
Message 60939 - Posted: 8 Jan 2024 | 20:33:53 UTC - in response to Message 60938.

I've had 3 failures and 3 successes. Seems to be test tasks. Interesting bit is that they seem to be employing Nvidia Tensor core calculation paths.

Very little written into the result.txt file and they use very little of the card's resources.

Let's hope that these precursor test tasks are an indication of more substantive QC tasks. Similar to what we see on the ATMbeta app.

Steve
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Send message
Joined: 21 Dec 23
Posts: 32
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 60941 - Posted: 8 Jan 2024 | 21:00:27 UTC

Hello,

Steve here from the computational science lab.

This is indeed a new test app (just for linux at the moment). You may be getting some test jobs for this app if you have selected the run test applications option.

There will be in depth post about the new app soon and then once we have it running properly some substantial work!

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1036
Credit: 39,372,107,483
RAC: 162,570,079
Level
Trp
Scientific publications
wat
Message 60942 - Posted: 8 Jan 2024 | 21:08:16 UTC - in response to Message 60941.

Hello,

Steve here from the computational science lab.

This is indeed a new test app (just for linux at the moment). You may be getting some test jobs for this app if you have selected the run test applications option.

There will be in depth post about the new app soon and then once we have it running properly some substantial work!



Thanks Steve.

is it intended that these tasks do not use the GPU right now? most are reporting that they run a process on the GPU, but no GPU utilization and no significant power draw over idle.

will they use tensor cores on RTX cards?
if so, are they necessary? what about older GTX cards?
____________

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 1289
Credit: 5,227,156,959
RAC: 10,545,789
Level
Tyr
Scientific publications
watwatwatwatwat
Message 60943 - Posted: 8 Jan 2024 | 23:18:03 UTC

I did now catch the card using VRAM and power resources if I just ignore what nvidia-smi is telling me which gpu has the job task on it. Nvidia-smi is getting confused with these QC test tasks but reports properly for the ATMbeta python tasks.

About 7.6 GB of VRAM usage on the gpu and brief bursts of full power usage of the gpu. Up to 76GB of virtual memory used for the python process on the cpu.


Thanks for the QC task news Steve. Looking forward to the real work to come.

Steve
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Send message
Joined: 21 Dec 23
Posts: 32
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 60945 - Posted: 9 Jan 2024 | 8:40:08 UTC
Last modified: 9 Jan 2024 | 8:44:41 UTC

Thanks for the feedback and thanks all for running the tests!

Some of the older test runs will have been using CPU and no GPU. This was for debugging purposes.

All of the most recent tests will have been using the GPU. There should be high utilisation, high memory use, and high power draw. Running test locally on a RTX3090 the test work unit takes 6minutes and is at 100% gpu, 10GB max memory and draws max power. Here are the charts:



https://i.imgur.com/5ceCoW1.png

This test workunit represents calculating the forces and energy of a single small molecule with Quantum Chemistry methods. In future a work unit will comprise multiple of these calculations.


This application will only work on GPUs with compute capability 6.0 or newer. So it works fine on 10XX cards. I can see a few failures on older cards.

The code uses the NVIDIA linear algebra libraries so on newer cards you may see more utilisation. (Nvidia spend more time optimising these libraries for the most recent generation cards).

The other error I am now seeing, and you may see, is a CUDA out of memory error. This does not seem to be due to the maximum memory of the GPU. I can run the test successfully on a GTX1080 with 8GB and I am seeing successful results from hosts with GPUs with less memory. I believe this error occurs when the workunit is sharing the GPU with another process.

Richard Haselgrove
Send message
Joined: 11 Jul 09
Posts: 1576
Credit: 5,895,036,851
RAC: 10,411,949
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 60946 - Posted: 9 Jan 2024 | 9:03:05 UTC - in response to Message 60945.
Last modified: 9 Jan 2024 | 9:04:29 UTC



(You can't use https for images at this project - the web software is too old)

Boca Raton Community HS
Send message
Joined: 27 Aug 21
Posts: 36
Credit: 3,078,106,809
RAC: 15,764,248
Level
Arg
Scientific publications
wat
Message 61024 - Posted: 18 Jan 2024 | 15:29:37 UTC

Saw a big batch of work units yesterday for this project and all of them were successful on our end. For a relatively early beta, that's fantastic. What are others seeing with that big batch?

No issues running, ran at 2x on our systems without issues. Are there no checkpoints for these work units? I did notice that when I had to exit BOINC a few times to make some changes to the app config.

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1036
Credit: 39,372,107,483
RAC: 162,570,079
Level
Trp
Scientific publications
wat
Message 61027 - Posted: 18 Jan 2024 | 15:49:56 UTC - in response to Message 61024.
Last modified: 18 Jan 2024 | 15:55:40 UTC

I think no checkpoints right now. but they at least restart from the beginning without an error.

VRAM utilization was greatly reduced from the previous batch (which I like since it lets you more easily run more than one at a time). runtime was roughly twice as long as the previous batch as the admin indicated that the tasks were twice as large (100 molecules instead of 50)

the application makes use of FP64 hardware and high performing FP64 Nvidia cards show great benefit. Titan V, V100, P100 will perform the best here. the FP64 performance of most other GeForce/Quadro cards are much lower. My Titan V runtimes look to be about 3x faster than your 4090 for example. power draw fluctuated between 80-150W per card, probably about 120W average per card.

I processed about 1500 of the tasks from yesterday on my 16x Titan Vs, would have been more but I was having a lot of issues getting enough work due to the task download limits, the rate i was completing them per host, and the limits in how often a single IP is allowed to make requests at this project.
____________

Boca Raton Community HS
Send message
Joined: 27 Aug 21
Posts: 36
Credit: 3,078,106,809
RAC: 15,764,248
Level
Arg
Scientific publications
wat
Message 61030 - Posted: 18 Jan 2024 | 17:03:05 UTC - in response to Message 61027.

Makes sense. Were you running them 1x or 2x?

1,500 tasks is incredible- with no invalids?

Ian&Steve C.
Avatar
Send message
Joined: 21 Feb 20
Posts: 1036
Credit: 39,372,107,483
RAC: 162,570,079
Level
Trp
Scientific publications
wat
Message 61031 - Posted: 18 Jan 2024 | 17:14:46 UTC - in response to Message 61030.
Last modified: 18 Jan 2024 | 17:15:32 UTC

i was running them mostly at 3x. one system I was running them at 4x actually to see if the VRAM was sufficient. it was fastest overall at 4x with ~2000s runtimes. so the fastest tasks were completing in about 8.5 minutes effective.

no invalids.
____________

Steve
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Send message
Joined: 21 Dec 23
Posts: 32
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 61038 - Posted: 19 Jan 2024 | 14:18:23 UTC - in response to Message 61031.

Wow that is impressive!

This app is one of the cases where the professional grade nvidia cards with their double precision performance really shine.

Drago
Send message
Joined: 3 May 20
Posts: 12
Credit: 343,606,560
RAC: 530,097
Level
Asp
Scientific publications
wat
Message 61460 - Posted: 12 Apr 2024 | 13:32:15 UTC

I would really appreciate it if the task requirements and properties such as VRAM requirement and no chechkpointing, only Linux or Windows, etc would be highlighted in the preference section right were you mark the sub projects that you would like to support. That would save us volunteers a lot of time instead of finding out eventually that your GPU isn't capable of handling them or by digging through pages and pages of forum entries.

Keith Myers
Send message
Joined: 13 Dec 17
Posts: 1289
Credit: 5,227,156,959
RAC: 10,545,789
Level
Tyr
Scientific publications
watwatwatwatwat
Message 61462 - Posted: 12 Apr 2024 | 16:45:04 UTC - in response to Message 61460.

You should PM Gianni or Toni and point them at your post request. Steve, the developer for the science app discussed here has nothing to do with the project web pages.

But if you brought this request nicety to Gianni, he may decide to add this additional project and subproject requirements to the subproject selection page in Project Preferences.

Drago
Send message
Joined: 3 May 20
Posts: 12
Credit: 343,606,560
RAC: 530,097
Level
Asp
Scientific publications
wat
Message 61463 - Posted: 13 Apr 2024 | 1:06:34 UTC

Ok Keith. Thanks for the info. I will ask nicely. :-)

Erich56
Send message
Joined: 1 Jan 15
Posts: 1091
Credit: 6,882,907,676
RAC: 18,641,974
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwat
Message 61468 - Posted: 16 Apr 2024 | 9:34:03 UTC

For quite a while now, only QC tasks have been available, with sometimes more than 100.000 unsent tasks, as seen in the project status page.

All other subprojects have obviously been stopped, which excludes all Windows crunchers from participating in GPUGRID :-(
Is this the way GPUGRID will go now ?

Post to thread

Message boards : Number crunching : Quantum chemistry calculations on GPU

//