From: Andrew S. <ag...@gm...> - 2005-06-13 16:04:20
|
You can get the tar ball from the source rpm with the following command: rpm -ivh <source rpm> Then look in /usr/src/redhat/SOURCES (or /usr/src/packages/SOURCES on SuSE) Note that in general, source rpms will patch the original tarball. To get a patched source from the source rpm you would follow 'rpm -i' with: cd /usr/src/redhat rpmbuild -bp SPECS/<package name>.spec The bp options stand for build preparation stage. You will find the patched source in: /usr/src/redhat/BUILD You should also look in the spec file to see how the package is being built= . Finally, you should be able to use any compiler you want to with the rpmbuild process and a proper spec file. I highly recommend learning more about rpms if you manage any number of systems. Andrew On 6/13/05, Rene Salmon <rs...@tu...> wrote: > Hi, >=20 > Is there just a patched mpich tar ball available for download? > I am not very familiar with building RPMS from source. >=20 > We installed the MPICH binary RPMS but they are not doing exactly what=20 > we want. For example we would like to compile MPICH with the intel=20 > compilers and also add the intel fortran to mpif77. >=20 > Thanks > Rene --=20 Andrew Shewmaker |