How can I use parallel computing on a personal workstation?
121 views
Skip to first unread message
魏远洋
unread,
Apr 7, 2025, 4:53:06 AMApr 7
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to basilisk-fr
Hello, Basiliskers! I am new to Basilisk. My personal workstation has 24 cores,I want to use parallel computing on it ,but I encountered the following problem.
I use 4 cores to compute ,but they all do the same thing.
Wojciech Aniszewski
unread,
Apr 24, 2025, 3:28:57 PMApr 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 魏远洋, basilisk-fr
Hello 魏远洋,
for what you want, you'd have to read up on the OpenMP shared-memory parallelism. Compile with the -fopenmp flag (and without -DMPI...),
then just run your program with ./drop. It should then run using all 24 threads which will share the memory.