hi every one I built and rpm file for openmpi-1.3.2 with openmpi.spec and buildrpm.sh on the http://www.open-mpi.org/software/ompi/v1.3/srpm.php
I change buildrpm.sh as fllowing: prefix="/usr/local/openmpi/intel/1.3.2" specfile="openmpi.spec" #rpmbuild_options=${rpmbuild_options:-"--define 'mflags -j4'"} # -j4 is an option to make, specifies the number of jobs (4) to run simultaneously. rpmbuild_options="--define 'mflags -j4'" #configure_options=${configure_options:-""} configure_options="FC=/opt/intel/Compiler/11.0/069/bin/intel64/ifort F77=/opt/intel/Compiler/11.0/069/bin/intel64/ifort CC=/opt/intel/Compiler/11.0/069/bin/intel64/icc CXX=/opt/intel/Compiler/11.0/069/bin/intel64/icpc --with-sge --with-threads=posix --enable-mpi-threads" # install ${prefix}/bin/mpivars.* scripts rpmbuild_options=${rpmbuild_options}" --define 'install_in_opt 0' --define 'install_shell_scripts 1' --define 'install_modulefile 0'" # prefix variable has to be passed to rpmbuild rpmbuild_options=${rpmbuild_options}" --define '_prefix ${prefix}'" # Note that this script can build one or all of the following RPMs: # SRPM, all-in-one, multiple. # If you want to build the SRPM, put "yes" here build_srpm=${build_srpm:-"no"} # If you want to build the "all in one RPM", put "yes" here build_single=${build_single:-"yes"} # If you want to build the "multiple" RPMs, put "yes" here build_multiple=${build_multiple:-"no"} it create openmpi-1.3.2-1.x86_64.rpm with no error, but when I install it with rpm -ivh I see: error: Failed dependencies: libifcoremt.so.5()(64bit) is needed by openmpi-1.3.2-1.x86_64 libifport.so.5()(64bit) is needed by openmpi-1.3.2-1.x86_64 libimf.so()(64bit) is needed by openmpi-1.3.2-1.x86_64 libintlc.so.5()(64bit) is needed by openmpi-1.3.2-1.x86_64 libiomp5.so()(64bit) is needed by openmpi-1.3.2-1.x86_64 libsvml.so()(64bit) is needed by openmpi-1.3.2-1.x86_64 libtorque.so.2()(64bit) is needed by openmpi-1.3.2-1.x86_64 but all above library are in my computer I use rpm -ivh --nodeps and it install completely, but when I use mpif90 and mpirun I see: $ /usr/local/openmpi/intel/1.3.2/bin/mpif90 gfortran: no input files (I compile with ifort!!!!) $ /usr/local/openmpi/intel/1.3.2/bin/mpirun usr/local/openmpi/intel/1.3.2/bin/mpirun: symbol lookup error: /usr/local/openmpi/intel/1.3.2/bin/mpirun: undefined symbol: orted_cmd_line What is wrong? Please help me