LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2013, 03:35 PM   #1
carolasu
LQ Newbie
 
Registered: Oct 2012
Posts: 13

Rep: Reputation: Disabled
MPI compiling problem


I was trying to run MPI fortran90 program on my laptop.

I installed mpich2 and openmpi. But when I was compling my program via mpif90, it says:
Error: There is no specific subroutine for the generic 'mpi_sizeof'

I do have 'call mpi_sizeof(ctest8,isize,ierror)' in module mpi.f90. But I thought mpich2 and openmpi should have subroutine 'mpi_sizeof'.

How to fix the problem?

Thank you!
 
Old 12-17-2013, 04:02 PM   #2
carolasu
LQ Newbie
 
Registered: Oct 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
I fixed the problem. I checked the openmpi that I installed. The exact name shoud be mpif90.openmpi. So I compiled the programming via mpif90.openmpi instead of mpif90.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPI programs freeze when accessing MPI shared file on Scientific Linux 6 Pizzicato Linux - Software 0 08-29-2012 07:41 AM
MPI vs LAM/MPI vs OpenMPI vs MPICH2 manojg Linux - General 0 11-28-2010 12:37 PM
problem compiling mpi program(not while install) gamekiller Programming 3 10-02-2007 11:17 PM
lamboot problem in LAM/MPI Abhishek Agarwal Linux - General 2 11-07-2006 02:40 AM
Problem with MPI in Redhat 9 longredhat Programming 0 04-20-2005 01:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration