My problem is solved. As my program does not use fortran, by running 'configure 
--disable-mpi-f77 --disable-mpi-f90', I solved make  problem. and then set 
environment as in http://hi.baidu.com/yoghurt117/item/bc666233a7e8af302e0f81c0. 
i succeed in installing openmpi.




At 2013-07-26 00:06:55,"Jeff Squyres (jsquyres)" <jsquy...@cisco.com> wrote:
>A guess: you probably need to export your PATH variable in your .bashrc, not 
>just set it.
>
>
>On Jul 25, 2013, at 11:24 AM, meng <qsm...@126.com> wrote:
>
>> Dear Ralph, 
>>          Thank you for the reply. I have added the path to gcc to .bashrc at 
>> $HOME directory and gfortran can run anywhere. 
>> But I did not know what environment  has PATH=/usr/bin:/bin. Maybe this is 
>> far from the correct way.    
>>   Regards,
>> meng
>> 
>> 
>> 
>> 
>> 
>> At 2013-07-25 21:58:16,"Ralph Castain" <r...@open-mpi.org> wrote:
>> you need to add the path to your gcc to your $PATH environment, and then 
>> re-run configure
>> 
>> On Jul 25, 2013, at 5:36 AM, meng <qsm...@126.com> wrote:
>> 
>>> Hi all,
>>>     I am trying to install openmpi and come upone many problems. One is 
>>> about the Fortran 77 compiler in configure stage, I solved it by editing 
>>> .bashrc, changing from $GCCHOME/lib to $GCCHOME/lib64. Of course your os 
>>> should be 64-bits. 
>>>   After configure, when running make all install, the screen display:
>>> ./scripts/mpi_imrecv_f90.f90.sh 
>>> /home/greatnet/openmpi-1.7.2/ompi/mpi/fortran/use-mpi-tkr > 
>>> mpi_imrecv_f90.f90
>>>  ../../../../libtool: line 1128: gfortran: command not found
>>> 
>>> 
>>>  However, I am sure that gfortran exists and can run in any directory. When 
>>> I add   "$PATH" after line 1128 in libtool, and then remake, it display 
>>> "/usr/bin:/bin".  Yes, indeed my gcc is not in /usr/bin ,/bin. How to add 
>>> gcc to that path or how to solve my problem?
>>>  Thank you for your help.
>>> Regards,
>>> Meng
>>>  
>>> 
>>> 
>>> _______________________________________________
>>> users mailing list
>>> us...@open-mpi.org
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>> 
>> 
>> 
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
>-- 
>Jeff Squyres
>jsquy...@cisco.com
>For corporate legal information go to: 
>http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
>_______________________________________________
>users mailing list
>us...@open-mpi.org
>http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to