[mpich-discuss] MPICH2 installation

Jeff Hammond jeff.science at gmail.com
Wed Jun 1 20:33:31 CDT 2011


Some important output lines to consider are:

mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such
file or directory
mkdir: cannot create directory `/home/yakun/mpich2-install': File exists

I don't mean to be rude, but do you understand how to use Linux shell
commands and the role of different directories in a Linux filesystem,
such as /tmp and /home/$USER i.e. $HOME?  If not, I encourage you to
get some help with those issues before attempting to install MPICH2.
If you do understand Linux shell commands and directory structure, I'm
having trouble understanding what is actually causing you trouble.

Can you please post the script that you're referring to?  What you've
posted is not a script but rather the input and output that may or may
not result from a script of Linux shell commands.

Best,

Jeff

On Wed, Jun 1, 2011 at 8:19 PM, YAKUN ZHU <yakun.zhu at utah.edu> wrote:
> To Whom It May Concern,
>
> I am a student a the Metallurgical Engineering Department, University of Utah. My name is Yakun. I am trying to install MPICH2 to my Opensuse Linux system. There is a problem when the installation proceeded to Step 5. The following is script:
>
> yakun at free-lab-06:~> mkdir /tmp/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /home/yakun/mpich2-install
> yakun at free-lab-06:~> mkdir /tmp/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /tmp/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /tmp/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /tmp/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/tmp/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /home/yakun/mpich2-install
> mkdir: cannot create directory `/home/yakun/mpich2-install': File exists
> yakun at free-lab-06:~> mkdir /home/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/home/yakun/mpich2-1.3.2p1': File exists
> yakun at free-lab-06:~> cd /home/yakun/mpich2-install
> yakun at free-lab-06:~/mpich2-install> mkdir /home/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/home/yakun/mpich2-1.3.2p1': File exists
> yakun at free-lab-06:~/mpich2-install> cd /home/yakun
> yakun at free-lab-06:~> mkdir /temporary/yakun/mpich2-1.3.2p1
> mkdir: cannot create directory `/temporary/yakun/mpich2-1.3.2p1': No such file or directory
> yakun at free-lab-06:~> mkdir /home/yakun/mpich2-1.3.2p1-tmp
> yakun at free-lab-06:~> prefix
> If 'prefix' is not a typo you can use command-not-found to lookup the package that contains it, like this:
>    cnf prefix
> yakun at free-lab-06:~> -prefix
> If '-prefix' is not a typo you can use command-not-found to lookup the package that contains it, like this:
>    cnf -prefix
> yakun at free-lab-06:~> cnf prefix
> prefix: command not found
> yakun at free-lab-06:~> cnf -prefix
> -prefix: command not found
> yakun at free-lab-06:~> --enable-g=dbg,mem,log
> If '--enable-g=dbg,mem,log' is not a typo you can use command-not-found to lookup the package that contains it, like this:
>    cnf --enable-g=dbg,mem,log
> yakun at free-lab-06:~> cnf --enable-g=dbg,mem,log
> --enable-g=dbg,mem,log: command not found
> yakun at free-lab-06:~> cd /home/yakun/mpich2-1.3.2p1-tmp
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure \
>> -prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure -prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure/-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure/-prefix=/home/yakun/mpich2-install: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure/prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure/prefix=/home/yakun/mpich2-install: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure \-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1/configure/tmp \-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1/configure/tmp: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure \-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure/-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure/-prefix=/home/yakun/mpich2-install: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure
> bash: /home/yakun/libraries/mpich2-1.3.2p1-tmp/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/mpich2-1.3.2p1-tmp/configure/-prefix=/home/yakun/mpich2-install |& tee c.txt
> bash: /home/yakun/mpich2-1.3.2p1-tmp/configure/-prefix=/home/yakun/mpich2-install: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> /home/yakun/mpich2-1.3.2p1-tmp/configure
> bash: /home/yakun/mpich2-1.3.2p1-tmp/configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> configure
> If 'configure' is not a typo you can use command-not-found to lookup the package that contains it, like this:
>    cnf configure
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> ./configure
> bash: ./configure: No such file or directory
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> make |& tee m.txt
> make: *** No targets specified and no makefile found.  Stop.
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> make clean
> make: *** No rule to make target `clean'.  Stop.
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> make VERBOSE=1 |& tee m.txt
> make: *** No targets specified and no makefile found.  Stop.
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp> make clean
> make: *** No rule to make target `clean'.  Stop.
> yakun at free-lab-06:~/mpich2-1.3.2p1-tmp>
>
>
> The reason why I am trying to install MPICH2 is before installing Lammps MPICH2 may need to be installed. I spent lots of time on the installation of Lammps but still failed. Can you please give me some hints on how to install Lammps eaisily?
>
> Sincerely,
>
> Yakun Zhu
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>



-- 
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/index.php/User:Jhammond


More information about the mpich-discuss mailing list