mpif90 missed
i'v installed openmpi-1.4.3,now i want to compile a simlpe fortran program written with mpi by mpif90,but the error is "command not found"
|
When you do :
cd openmpi-1.4.3/ && ./configure && make && su -c make install .. you will get : /usr/local/bin/mpif90 So how did you install openmpi on Debian ? Please also respond to your other thread from today about opemmpi. .. |
mpif90 missed
i've done this for install openmpi:
tar -xvjf openmpi-1.4.3.tar.bz2 then i typed your answer"cd openmpi-1.4.3/ && ./configure && make && su -c make install" in terminal,but the mpif90 is also not found as a command!! |
So which files did you get installed to /usr/local/bin/ ? ?
Another thing to do : cd openmpi-1.4.3/examples/ && make .. then you should see this : Code:
mpicc -g hello_c.c -o hello_c |
mpif90 missed
Dear knudfl, there is nothing in my /usr/local/bin folder! so when i typed " cd openmpi-1.4.3/examples/ && make" i got this:
mpicc -g hello_c.c -o hello_c make: mpicc: Command not found make: *** [hello_c] Error 127 pleas guid me |
Did the installation of OpenMPI go ok? Were there any errors?
|
mpif90 missed
i've done unzip and untar by type this in the folder that was openmpi-1.4.3.tar.bz2:
$tar -xvjf openmpi.tar.bz2 no error was occured as in instal file was suggested i typed: $cd openmpi-1.4.3 $mkdir build $cd build when i typed ($../configure ) because i was installing openmpi again the outputs were: $checking for a BSD-compatible install... /usr/bin/install -c $checking whether build environment is sane... yes $checking for a thread-safe mkdir -p... /bin/mkdir -p $checking for gawk... gawk $checking whether make sets $(MAKE)... yes $configure: error: source directory already configured; run "make distclean" there first i don't know what should i do next!? |
Did you try reading the error message?
|
mpif90 missed
i road the error message,i'v written that here in previous post,
after this error i was done "make all install" but i missed mpif90 again. |
Quote:
|
All times are GMT -5. The time now is 01:13 PM. |