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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-29-2006, 03:35 PM
|
#1
|
Member
Registered: Jan 2006
Posts: 174
Rep:
|
Question about MPI programming
When I type command : mpif90, it shows "command not found", what's the problem? Thank you!
|
|
|
01-29-2006, 04:23 PM
|
#2
|
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065
Rep:
|
is it in your path?
|
|
|
01-29-2006, 04:33 PM
|
#3
|
Member
Registered: Jan 2006
Posts: 174
Original Poster
Rep:
|
What path?
|
|
|
01-29-2006, 04:35 PM
|
#4
|
Member
Registered: Jan 2006
Posts: 174
Original Poster
Rep:
|
I use "whereis mpif90", there is no record.what should i do?
|
|
|
01-29-2006, 04:37 PM
|
#5
|
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065
Rep:
|
this is the path that is searched in for executable programs when you do not specify an absolute path.. is the program you are trying to run in one of those.. if not you will need to either copy it into one of those dirs or add the dir it is in to the end of the path..
|
|
|
01-29-2006, 04:37 PM
|
#6
|
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065
Rep:
|
Quote:
Originally Posted by ArthurHuang
I use "whereis mpif90", there is no record.what should i do?
|
whereis only checks in the path
|
|
|
01-29-2006, 04:52 PM
|
#7
|
Member
Registered: Jan 2006
Posts: 174
Original Poster
Rep:
|
oh..thanks a lot! But I dont find mpi90 in the "bin" dictionary of mpi. How to install that?
|
|
|
01-29-2006, 04:53 PM
|
#8
|
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065
Rep:
|
are you serious?
goto the mpi homepage and read the docs.. that would be a start..
|
|
|
01-29-2006, 10:14 PM
|
#9
|
Member
Registered: Jan 2006
Posts: 174
Original Poster
Rep:
|
I know what's wrong.
First, I don't have fortran 90 compiler at all.
Second, after I install the fortran 90, I should configure the mpi with"./configure --enable-f90=F90_COMPILER "
Then that's ok. Thanks a lot!
|
|
|
All times are GMT -5. The time now is 01:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|