Parallel Programming Club : Enabling OpenMP in Windows using Code::Blocks

preview_player
Показать описание
This is a visual Walkthrough for enabling OpenMP 3.0 in Windows
using the Integrated Development Environment Code::Blocks 10.05

to download code::Blocks for windows go here:

To get the GNU minGW GCC/G++ installer go here:

**UPDATE**
To make things easier, when you choose a destination for your
new MinGW folder. Select the code::blocks folder. this will make it
faster than copy+paste

Only Contra Costa College Students can join the
Prallel Programming Club, so the club Moodle isn't accessible to all.
This is a redo of a previous version that was a minute longer, with
less than excellent audio settings. although the audio is not perfect here
either, its able to be understood.
Just some added info, the original minGW folder in code::blocks has
libraries for Pthreads which is another free shared memory parallel
programming API. but it is heavily reliant on function calls, and requires your
code to be dramatically altered from what I understand, unlike OpenMP
which uses #pragmas which are special comments. if you are lazy,
minGW installer.

Everything I showed to download is FREE or OPEN SOURCE!
Professor Murphy gave me permission to show his slides to the club!
This was uploaded by Michial Green II, President of the Parallel Programming
Club at contra Costa College. I am a first year C++ programmer, so I cannot
yet solve some problems, or answer any advanced questions about parallel
programming, I only pass along what I find out to the Club, because we all
want to learn. Happy Coding がんばって下さい!!
Рекомендации по теме
Комментарии
Автор

It's 2020 and we are still trying to figure out the same things.

mavenuparker
Автор

"If you waching this video in 2020" got me emotional

rad
Автор

actually it's a useful video in 2019 :)

cguser
Автор

I got goosebumps when he said 2020 but the video is 10 YEARS AGO!

mzm
Автор

Great work! For me, the turning point was finding the link to download 'minGW' (or mingw-get-setup.exe). There are so many minGW installers out there! Now, I can proceed with parallelizing my code. Thanks a lot.

grc
Автор

I would suggest not using that compiler.
I cannot verify that cc1plus.exe actually supports OpenMP.
seeing as openmp[dot]org doesn't list it in the compilers that support it,
and the compiler flag wasn't recognized, Its a safe bet to say it doesn't.
The compiler you are using doesn't recognize it because it doesn't support it.
I would suggest using:
mingw32-gcc.exe for .c programs
mingw32-g++.exe for .cpp programs

they exist in the bin folder of the MinGW compiler sweet.
support is guaranteed

vmichial
Автор

Its 2020 and our college professor still asked us to refer this man.

aniketmane
Автор

MAAAAN Yeah, thanks a lot. you are number #1, you are millions of time better than those indian guys explaining omp installation on codeblock...

figimigihey
Автор

these are the most helpful instructions i have found on the internet. im still in shock you helped me set up parallel programming after i've struggled for 3 weeks. thanks so much.

and i just checked out your other videos, i enjoy the nintendo gameplay, but you really should put up more instructional videos.

Radild
Автор

Thank you very very much! this is still working in 2023!

parsaasemi
Автор

hello . 2:20 well... its 2021 and it too old but very helpful . thanks from the corona era

anglachris
Автор

It's 2020 and it's still useful.
Thanks mate👍

erenackerman
Автор

It actually works, great job Thank you

ankitraut
Автор

2022 and it still works fine for me, thanks for the video bro!

felipefernandes
Автор

FYI: This video is still useful in 2020

MrMKI-uxsk
Автор

Glad to hear, you're welcome. good luck with your work.

vmichial
Автор

As of August 2016, it appears that MinGW no longer contains libgomp-1.dll ... not sure what to do about this.

AureliusR
Автор

||=== Build: Debug in de (compiler: GNU GCC Compiler) ===|
copenmp\de\main.cpp|1|fatal error: omp.h: No such file or directory|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

haruncetin
Автор

When I try to build: "C:\Program Files file not recognized: File format not recognized
"
Why?!?

salvatorecapobianco
Автор

I had to change in Settings -> Compiler -> Toolchain executables -> Program files, that compiler used in "Linker for dynamics" and "C++ compiler" to be mingw32-gcc.exe since g++ doesn't exist in the new MinGW file.

christopher
visit shbcf.ru