LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2012, 09:43 AM   #1
hanamilani
Member
 
Registered: Dec 2008
Posts: 66

Rep: Reputation: 0
Missing mpif.h in BLACS


Hi,

I have installed mpich2-1.4.1 and now I am trying to install BLACS. But I have received the follwing error:

make[1]: Entering directory `/home/hana/CODES/BLACS/SRC/MPI'
( cd INTERNAL ; make -f ../Makefile I_int "dlvl=/home/hana/CODES/BLACS" )
make[2]: Entering directory `/home/hana/CODES/BLACS/SRC/MPI/INTERNAL'
make[2]: *** No rule to make target `/home/hana/CODES/mpich2-1.4.1p1/include/mpif.h', needed by `mpif.h'. Stop.
make[2]: Leaving directory `/home/hana/CODES/BLACS/SRC/MPI/INTERNAL'
make[1]: *** [INTERN] Error 2
make[1]: Leaving directory `/home/hana/CODES/BLACS/SRC/MPI'
make: *** [MPI] Error 2

There is no mpif.h in this path: /home/hana/CODES/mpich2-1.4.1p1/include, is there any problem with my mpi installation?
 
Old 02-01-2012, 10:46 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,315

Rep: Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175Reputation: 3175
'mpif.h' is a file that's generated, when make is run
in the mpich2-1.4.1p1/ source package.
The location is mpich2-1.4.1p1/src/binding/f77/mpif.h

Say you are compiling in /home/hana/tmp/mpich2-1.4.1p1/ , and do :
./configure --prefix=/home/hana/CODES/mpich2-1.4.1p1 --enable-shared
&& make && make install , then mpif.h will install to ...
/home/hana/CODES/mpich2-1.4.1p1/include/mpif.h

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
blacs scalapack catrina Linux - Newbie 5 01-03-2009 12:05 PM
blacs scalapack catrina Linux - Software 1 01-01-2009 01:21 PM
ACML version of BLACS mkrems Programming 0 05-30-2008 05:21 PM
How to install blacs qiuzhihong Linux - Software 0 07-30-2007 09:27 PM


All times are GMT -5. The time now is 04:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration