ALL >> Computer-Programming >> View Article
Compiling And Running Mpi Programs On Oracle Solaris 11
Oracle applications help information-driven business process to automate, connect and energize the business. We provide major aspects of the needs of application and deploy Oracle applications for the procurement, project management, customer relationship management, corporate performance management, financial management, supply chain management, etc. Oracle Apex is a web application development platform. Using Oracle Apex solutions we can develop and deploy applications in very less time. Oracle EBusiness applications are set of applications running completely on internet allowing costs cut, access to accurate data and increase revenues across front and back office functions. Oracle EBusiness applications are developed on combined information architecture. Customers are provided Oracle consulting services from development & deployment to maintenance & support of the selected enterprise solutions product.
Open MPI is an open-source implementation of MPI and OMPT is the Oracle implementation of MPI. MPI is used for message passing library calls between processes running parallel on different cluster of nodes. OMPT ...
... is built version of OMPI optimized for Oracle Solaris 11 which contains development like instrumented versions of MPI libraries.
Following is an example of using OMPT for Oracle Solaris 11:
Obtaining OMPT –
For using OMPT, Oracle Solaris 11 is needed to be installed on the system. Root privileges are needed for running OMPT utilities. For compiling MPI programs, Oracle Solaris Studio 12.1 is required to install. One can install and compile Oracle Solaris Studio on one of the nodes but need to install openmpi-15 package on all the nodes. Openmpi-15 package is hosted by Image Packaging System repository which is required to be configured on the system. Run the pkg publisher command for verifying the configuration of the IPS repository. Configure IPS repository if it is not configured for adding the openmpi-15 package otherwise adding package will fail. The system need to be configured using network access or IPS repository that is provided from the same system. IPS repository is hosted on local host over HTTP. After verifying the configuration of the repository as root, add the Distribution Constructor package by running the pkg install openmpi-15 command. From the IPS repository openmpi-15 package is downloaded and installed immediately.
Listing 1: Output of the pkg install openmpi-15 command
root@solaris:~# pkg install openmpi-15
As shown in the above listing, the pkg install openmpi-15 command shows the status of the process so that progress can be observed easily. After installing openmpi-15 package, include /usr/openmpi/ompi-15/bin in the PATH variable and then it is best to move forward.
Compiling MPI program with OMPT –
To compile MPI programs with OMPT use compiler wrappers or directly call the compilers. First method is more preferred due to library, include, run paths required to be included. The wrappers pass through all options so we require replacing all instances of a compiler in a make file with the utilities of the wrapper. We can compile with one-line command or two phase link and compile. Instead of using wrappers if one needs to directly execute the compilers then one can determine the options used by wrappers.
Running MPI program with OMPT –
Run the program as a singleton after executable is compiled and linked with OMPT libraries. Then program will call appropriate MPI APIs to spawn other processes for the MPI job. Use mpirun utility if you need to create MPI job with multiple processes.
For More Info:- Oracle Consulting | Oracle Applications
Add Comment
Computer Programming Articles
1. How To Choose The Right Coding Institute In BhopalAuthor: Shankar Singh
2. Streamline Your Finances With The Best Bookkeeping Software In Zambia
Author: Doris Rose
3. Maximizing Ebay Success With Maropost/neto Partnerships
Author: rachelvander
4. The Rise Of Ai In Modern Gaming
Author: Saira
5. Enhancing Business Efficiency With Entrust Network: Singapore’s Premier It Solutions Partner
Author: Entrust Network Services
6. Ai And Ml Training: Empowering Your Career With Infograins Tcs
Author: Infograins tcs
7. How To Evaluate Coding Institutes In Bhopal?
Author: Shankar Singh
8. Revolutionizing Delivery Services With Application Development
Author: basheer ansari shaik
9. How Google Cloud Platform Aids Businesses And Keeps Its Data Safe?
Author: Stuart
10. Custom Web Development Solutions In Surat For Growing Businesses
Author: sassy infotech
11. Video Streaming App Development: 12 Key Features, Architecture And Cost
Author: Byteahead
12. Understanding Google Analytics Events
Author: Byteahead
13. Types Of Learning Management Systems
Author: Byteahead
14. How To Choose The Best Coding Institute In Bhopal?
Author: Shankar Singh
15. Top Tech Trends Real Estate Companies Should Focus
Author: Byteahead