[Wien] Problem installing MPICH2
Laurence Marks
L-marks at northwestern.edu
Sat May 28 19:52:30 CEST 2011
If "make" is not finding ifort:
a) You have your PATH wrong, in which case compilation of
hello_world.f will fail. Also do "env" and wade through.
b) You do not have execute permissions for ifort (licence?)
c) You have a broken make (try gmake).
N.B., the straight mpich2 is somewhat old, you may want to consider
mvapich and/or openmpi both of which are more modern products and
probably better for most things.
N.N.B., you really should ask on the mpich mailing list, but they will
tell you the same thing. There is something wrong with the user end of
things, 99% certain (or you have a broken OS, or corrupt mpich2
distribution, 1%).
2011/5/28 Jose Alfredo Camargo Martinez <sork8686 at yahoo.es>:
> to cut and paste the line was generated this space, but the. bashrc are
> correct
>
> José A. Camargo Martínez
> ________________________________
> De: Laurence Marks <L-marks at northwestern.edu>
> Para: A Mailing list for WIEN2k users <wien at zeus.theochem.tuwien.ac.at>
> Enviado: sáb,28 mayo, 2011 11:46
> Asunto: Re: [Wien] Problem installing MPICH2
>
> It is hard to know for certain, but I wonder why you have a space
> between the first "/" and the "opt" in the lines you sent, i.e.
>
> / opt/intel/composerxe-2011.3.174/compiler/lib/intel64
> ^
>
> For certain you have some minor issue/typo. Try "which ifort", and
> write a hello_world.f then compile it (I think there are some simple
> makefile examples on the web).
>
> 2011/5/28 Jose Alfredo Camargo Martinez <sork8686 at yahoo.es>:
>> I have already tried:
>>
>> export FC = ifort
>> export F77 = ifort
>>
>> and see the same error
>>
>> /bin/bash: ifort: orden no encontrada (command not found)
>> make[3]: *** [setbotf.o] Error 127
>>
>> any idea?
>>
>> José A. Camargo Martínez
>>
>>
>> ________________________________
>> De: Robert Laskowski <rolask at theochem.tuwien.ac.at>
>> Para: A Mailing list for WIEN2k users <wien at zeus.theochem.tuwien.ac.at>
>> Enviado: sáb,28 mayo, 2011 09:33
>> Asunto: Re: [Wien] Problem installing MPICH2
>>
>> hi,
>>
>> try export F77=ifort
>>
>> regards
>>
>> Robert
>>
>> On Saturday, May 28, 2011 01:04:42 Jose Alfredo Camargo Martinez wrote:
>>> Dear community
>>>
>>> I try to install MPICH2-1.3.2p1 on Ubuntu 10.04. (to work in parallel)
>>>
>>> I already have installation of ifort (Intel ® Fortran Compiler for Linux
>>> *
>>> XE Composer), its source and path are defined. bashrc, as follows:
>>>
>>> PATH = "/ opt/intel/composerxe-2011.3.174/bin/intel64: $ {PATH}"
>>> export PATH
>>> #
>>> MANPATH = "/ opt/intel/composerxe-2011.3.174/man: $ {MANPATH}"
>>> export MANPATH
>>> #
>>> LD_LIBRARY_PATH = "/ opt/intel/composerxe-2011.3.174/mkl/lib/intel64: $
>>> LD_LIBRARY_PATH"
>>> LD_LIBRARY_PATH = "/
>>> opt/intel/composerxe-2011.3.174/compiler/lib/intel64:
>>> $ LD_LIBRARY_PATH"
>>> export LD_LIBRARY_PATH
>>> #
>>> INCLUDE = / opt/intel/composerxe-2011.3.174/mkl/include: $ INCLUDE
>>> export INCLUDE
>>> #
>>> source /opt/intel/composerxe-2011.3.174/mkl/bin/mklvars.sh Intel64
>>> source /opt/intel/composerxe-2011.3.174/bin/ifortvars.sh Intel64
>>> #
>>> IFLPATH export = / opt/intel/composerxe-2011.3.174/compiler/lib
>>> MKLPATH export = / opt/intel/composerxe-2011.3.174/mkl/lib/intel64
>>>
>>> . / opt/intel/composerxe-2011.3.174/bin/ifortvars.sh Intel64
>>>
>>> Followingthe installation steps:
>>>
>>> 1)
>>> sork at sork:~/Escritorio/mpich2-1.3.2p1$./configure--prefix=/opt/mpich2
>>> .
>>> .
>>> config.status: executing default-3 commands
>>> Configuration completed.
>>> sork at sork:~/Escritorio/mpich2-1.3.2p1$
>>>
>>>
>>> 2)
>>> sork at sork:~/Escritorio/mpich2-1.3.2p1$ sudo make
>>> .
>>> .
>>> /bin/bash: ifort: orden no encontrada
>>> make[3]: *** [setbotf.o] Error 127
>>> make[3]: se sale del directorio
>>> «/home/sork/Escritorio/mpich2-1.3.2p1/src/binding/f77»
>>> make[2]: *** [all-redirect] Error 1
>>> make[2]: se sale del directorio
>>> «/home/sork/Escritorio/mpich2-1.3.2p1/src/binding»
>>> make[1]: *** [all-redirect] Error 2
>>> make[1]: se sale del directorio
>>> «/home/sork/Escritorio/mpich2-1.3.2p1/src»
>>> make: *** [all-redirect] Error 2
>>> sork at sork:~/Escritorio/mpich2-1.3.2p1$
>>> ___
>>>
>>> I have read many forums where they say I define the source and paht of
>>> ifort. (already done)
>>>
>>> I've used (written in. bashrc)
>>>
>>> . /opt/intel/composerxe-2011.3.174/bin/ifortvars.sh Intel64
>>> export FC=ifort
>>>
>>> but the same error appears
>>>
>>> What am I doing wrong?
>>> Can you help?
>>>
>>>
>>> Best regards,
>>>
>>> José A. Camargo Martínez
>>
>> --
>> Dr Robert Laskowski
>> Vienna University of Technology, Institute of Materials Chemistry,
>> Getreidemarkt 9/165-TC, A-1060 Vienna, Austria
>> tel. +43 1 58801 15675 Fax +43 1 58801 15698
>>
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>>
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>>
>>
>
>
>
> --
> Laurence Marks
> Department of Materials Science and Engineering
> MSE Rm 2036 Cook Hall
> 2220 N Campus Drive
> Northwestern University
> Evanston, IL 60208, USA
> Tel: (847) 491-3996 Fax: (847) 491-7820
> email: L-marks at northwestern dot edu
> Web: www.numis.northwestern.edu
> Chair, Commission on Electron Crystallography of IUCR
> www.numis.northwestern.edu/
> Research is to see what everybody else has seen, and to think what
> nobody else has thought
> Albert Szent-Gyorgi
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
--
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60208, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
Web: www.numis.northwestern.edu
Chair, Commission on Electron Crystallography of IUCR
www.numis.northwestern.edu/
Research is to see what everybody else has seen, and to think what
nobody else has thought
Albert Szent-Gyorgi
More information about the Wien
mailing list