MPI is a multi-excuses, need to build mpi environment when using Ubuntu, the following small series will be a brief introduction to the construction and use of MPI in Ubuntu, interested friends can Let's get to know.
1, environment structures
Terminal: sudo apt-get install mpich2
installed version 1.4.1 of mpich2.
2, compile
Terminal: mpicc mpi_hello.c -g -Wall -o mpi_hello
3, run
Terminal: mpiexec -n "number Of processes". /mpi_hello
Example: Run the program with 4 processes
mpiexec -n 4 . /mpi_hello
The above is the introduction of Ubuntu configuration and the use of MPI. There are three steps, namely configuration environment, compilation and MPI operation. The use of other Linux systems can be used as a reference.
Many computers now have more than one network card, but one network card fails and the entire networ
I believe that when you use Unitys online search function under Ubuntu, you must have encountered th
LVM is usually used for systems equipped with a large number of disks, with good scalability, can ad
We all know that many operations of Linux system require commands to execute. In the process of exec
What can I do if RedHat Linux 5 cannot use ifconfig?
Getting Started with Arch Linux
How to install LAMP in yum in CentOS6.5 system
Linux configuration yum.conf method
Linux prompts gzip:stdin:not when extracting tar.gz file?
Tips for removing the player from the Ubuntu sound menu
What is the meaning of Linux beginners learning commands?
Linux system Vim how to install YouCompleteMe plug-in
Linux installation and configuration mongodb method
How to configure the IP and host name of the CentOS7 system
Win7 system computer noise solution
Windows 8 Advance to Build 8063 is still in the M3 phase
How does Win8 uninstall Windows services? How to uninstall Windows services and steps
How to use Win10's start menu to return to Win10's start menu?
Win8 system shutdown operation center method steps
How to revisit more than 50 desktop gadgets on Win10? 8GadgetPack to help you
Win8 sleep wake-up password setting graphic tutorial
3 reliable methods for Win8 RP installation
Win10 Mobile/PC version of "Photo" update and download: Bug fix and performance optimization