LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Search Forums
User Name
Password

Notices


Showing results 1 to 7 of 7
Search took 0.01 seconds.
Search: Posts Made By: piobair
Forum: Programming 02-21-2024, 10:31 AM
Replies: 16
Views: 386
Posted By piobair
It is all part of linear algebra. ...

It is all part of linear algebra.

represents eight simultaneous equations: four terms in the first, third, fourth, and sixth equations, two terms in the second, fifth, seventh and eighth...
Forum: Programming 02-15-2024, 06:08 PM
Replies: 16
Views: 386
Posted By piobair
(vid)value (vid)value (vid)value ...

(vid)value (vid)value (vid)value (vid)value
line1: (3)3345.225586 (4)-410.425629 (5)-2900.000000 (6)-34.799999
head[0] (3)-410.425629 (4)-410.425629 (new node...
Forum: Programming 02-14-2024, 02:29 PM
Replies: 16
Views: 386
Posted By piobair
[QUOTE=ntubski;6483437]Then you have made it too...

[QUOTE=ntubski;6483437]Then you have made it too simple. Please try again using linked lists.

// parallel_test.c
// compile as gcc parallel_test.c -o parallel_test -lm -fopenmp

#include...
Forum: Programming 02-13-2024, 07:10 PM
Replies: 16
Views: 386
Posted By piobair
Please explain to me why I have a bug in my...

Please explain to me why I have a bug in my sample program.
My sample program works correctly for id = 1, 3, 5. For id == 1, 3, 5 it reads from both the v0 array and the v1 array correctly.
As I...
Forum: Programming 02-13-2024, 03:31 PM
Replies: 16
Views: 386
Posted By piobair
That would work if v0 and v1 were not both...

That would work if v0 and v1 were not both pointers to a linked list (the left side of linear algebra).
I tried to keep the program snippet simple. In practice, I am also similarly passing two...
Forum: Programming 02-08-2024, 02:09 PM
Replies: 16
Views: 386
Posted By piobair
So your solution to a buggy omp library is to...

So your solution to a buggy omp library is to avoid omp entirely?
I submit that a better solution is to change the number of threads passed to the omp pragma from 5 to one. That will work since the...
Forum: Programming 02-02-2024, 02:00 PM
Replies: 16
Views: 386
Posted By piobair
omp[ fails after dist upgrade

Linux geeves 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux
package: libomp-dev 1:14.0-55.7-deb12u1

// oomptest.c
// compile as gcc oomptest.c -o oomp -lm...
Showing results 1 to 7 of 7

 

Didn't find what you're looking for? Try Google:


  



All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration