Open main menu

CDOT Wiki β

Changes

GPU621/Group 5

295 bytes removed, 10:58, 12 April 2023
Final Note
=== General G++ ===
[https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/ https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/]
g++ -o2 helloworld.cpp -o ./helloworld
=== OpenMP: ===
[https://gcc.gnu.org/projects/gomp/#usage https://gcc.gnu.org/projects/gomp/#usage]
g++ -fopenmp -O2 helloworld.cpp -O2 ./helloworld
=== TBB: ===
[https://oneapi-src.github.io/oneTBB/ https://oneapi-src.github.io/oneTBB/]
g++ -O2 -ltbb helloworld.cpp -o ./helloworld
=== MPI: ===
[https://www.open-mpi.org/doc/current/man1/mpic++.1.php https://www.open-mpi.org/doc/current/man1/mpic++.1.php]
mpic++ helloworld.cpp -o ./helloworld
[https://www.open-mpi.org/doc/current/man1/mpirun.1.php https://www.open-mpi.org/doc/current/man1/mpirun.1.php]
mpirun -np number_of_processors ./helloworld argument1 argument 2
mpirun -np 4 ./helloworld
=== File Directory System: ===
}
}
== References ==
24
edits