Ticket #688 (closed bug: worksforme)

Opened 4 months ago

Last modified 4 months ago

how to install mpif90 command

Reported by: 雪媛 聂 <nie_xueyuan@…> Owned by:
Priority: major Milestone:
Component: mpich2 Keywords:
Cc:

Description

Hi,
    I now successfully installed mpich2  followed by the steps described in
MPICH2 Installer’s Guide Version 1.1.  I will program with fortran 90, and I
dont find the mpif90 in the subdirectory bin of the installed directory.
  How can I use the mpif90 command? Thanks a lot.
  Best regards,
   Nie


      ___________________________________________________________
  好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/

Attachments

part0001.html (0.7 KB) - added by 雪媛 聂 4 months ago.
Added by email2trac
part0001.2.html (3.7 KB) - added by 雪媛 聂 4 months ago.
Added by email2trac

Change History

Changed 4 months ago by 雪媛 聂

Added by email2trac

Changed 4 months ago by 雪媛 聂

  • id set to 688

This message has 1 attachment(s)

Changed 4 months ago by goodell

The configure step has probably determined that you don't have a working f90 compiler (or possibly a non-working f77 compiler, which is needed to get f90 in most cases). Make sure that you have a working f77 and f90 compiler installed (such as gfortran), then pass the following arguments to the configure step in addition to any arguments you were passing before:

--enable-f90 --enable-f77 F77=gfortran F90=gfortran

If this doesn't solve your problem, please send us the config.log, c.txt, and m.txt files as described in steps 4 and 5 of the README file.

-Dave

Changed 4 months ago by thakur

  • status changed from new to closed
  • resolution set to fixed

Resolving until we hear further.

Changed 4 months ago by 雪媛 聂

hi,
   Before I received ur letter, I had already followed the steps described in
MPICH2 Installer’s Guide Version 0.4. Now I add the options u told in the
letter to configure, like that :
$ /home/Administrator/mpich2-1.1/configure -prefix=/home/Administrator/mpich2-i
nstall --enable-f90 --enable-f77 F77=gfortran F90=gfortran --enable-sharedlibsc
=cygwin-gcc --disable-cxx 2>&1 configure.log
 
the prompt is that lib should be removed from /home/Administrator/mpich2-1.1
whichi is the directory of unpacked tar files. I removed the lib and
configuration did.
 the last ,the error information is
 
 configure: error: source directory already configured; run "make distclean"
ther
e first
configure: error: Configure of src/openpa failed!
 
what should i do to install mpif90 in the condition that all steps were done
followed by the MPICH2 Installer’s Guide Version 0.4?
 
Thanks a lot
 
 


--- 09年6月29日,周一, mpich2 <mpich2-maint@mcs.anl.gov> 写道:


发件人: mpich2 <mpich2-maint@mcs.anl.gov>
主题: Re: [mpich2-maint] #688: how to install mpif90 command
收件人:
日期: 2009年6月29日,周一,下午9:39


---------------------------------------------+------------------------------
Reporter:  雪媛 聂 <nie_xueyuan@yahoo.com.cn>  |        Owner:     
     Type:  bug                              |   
   Status:  new
Priority:  major                            |    Milestone: 
   
Component:  mpich2                       
   |   Resolution:     
Keywords:                                   | 
---------------------------------------------+------------------------------


Comment (by goodell):

The configure step has probably determined that you don't have a working
f90 compiler (or possibly a non-working f77 compiler, which is needed to
get f90 in most cases).  Make sure that you have a working f77 and f90
compiler installed (such as gfortran), then pass the following arguments
to the configure step in addition to any arguments you were passing
before:

{{{
--enable-f90 --enable-f77 F77=gfortran F90=gfortran
}}}

If this doesn't solve your problem, please send us the config.log, c.txt,
and m.txt files as described in steps 4 and 5 of the README file.

-Dave

--
Ticket URL: <https://trac.mcs.anl.gov/projects/mpich2/ticket/688#comment:2>



      ___________________________________________________________
  好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/

Changed 4 months ago by 雪媛 聂

Added by email2trac

Changed 4 months ago by chan

  • status changed from closed to reopened
  • resolution fixed deleted

After each failed inpath configure, you need to do a "make distclean" before configure again. In case any error, send us your configure and make outputs as seen on your sceen (the details are in the README). Also, follow the installer guide version 1.1 NOT 0.4 which is outdated.

A.Chan

Changed 4 months ago by thakur

  • status changed from reopened to closed
  • resolution set to worksforme

WARNING! You need to either login using OpenID here or enter your email address here before you can create or edit tickets. Otherwise the ticket will get treated as spam. More information on creating tickets can be found here.

Don't forget to add your email address to the cc list to make sure that you get updated of the ticket status.

Add/Change #688 (how to install mpif90 command)

Author



Change Properties
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.