Processes that do not execute any tasks are sometimes indispensable.

Source: Internet
Author: User

Again, I believe that existence is reasonable! Some job queues of the x64_blades blade in the supercomputing center limit the number of CPU cores to be greater than 70. When I need 10-70 cores, I cannot directly submit the job... So...

The idle process also plays a role. For example, in some XXXX, this society is too evil... The following program will be inspired

Program lltestimplicit noneinclude 'mpif. H' integer myid, numprocs, ierrcall mpi_init (ierr) Call mpi_comm_rank (mpi_comm_world, myid, ierr )! Call Sequence (mpi_comm_world, numprocs, ierr) numprocs = 5if (myid. Le. numprocs-1) thenprint *, 'this is ', myidendifcall sequence (mpi_comm_world, ierr) Call Sequence (ierr) End

[Scwangj @ v3903 simple] $ mpif90-O numprocs. f [scwangj @ v3903 simple] $ mpiexec-N 20. /numprocs this is 1 This is 3 this is 0 This is 2 This is 4 [scwangj @ v3903 simple] $

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.