Changeset 825


Ignore:
Timestamp:
Dec 21, 2007 3:12:43 PM (12 years ago)
Author:
andreasw
Message:

added Teds MUMPS patch for Windows to ThirdParty/Mumps?/trunk

Location:
ThirdParty/Mumps/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/trunk/INSTALL.MUMPS

    r323 r825  
    2626beginning of the get.Mumps script.
    2727
    28 
    2928If you don't have wget available, follow those instructions:
    3029
     
    4342
    4443mv MUMPS_4.7.3 MUMPS
     44
     45**********************************************************************
     46Additional instructions for building with Msys and MinGW
     47**********************************************************************
     48
     49If you are trying to build Mumps in Microsoft Windows using the MSys shell
     50environment, you will first need to install the MinGW gcc 4.2 technology
     51preview in order obtain a Fortran 95 compliant Fortran compiler. GCC 4.2 is
     52available here:
     53
     54http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=241304
     55
     56You need to install the gcc-core, gcc-g++, and gcc-gfortran packages. After
     57installing these packages, you will also need to patch Mumps by executing the
     58command
     59
     60patch -p0 < mumps.gcc.patch
     61
     62in this directory.
     63
     64Note the executable names in the gcc packages have the suffix "sjlj" and will
     65not be found by the configuration script of whatever project you are trying to
     66build, so you must either (1) change their names by deleting the suffix
     67(beware that if you do this, you may create a conflict with other version of
     68gcc already installed) or (2) configure with
     69
     70./configure CC=gcc-sjlj CXX=g++-sjlj F77=gfortran-sjlj
     71
  • ThirdParty/Mumps/trunk/get.Mumps

    r525 r825  
    66
    77set -e
     8
     9if test "$1" == '-patch'; then
     10  uname=`uname`
     11  case "$uname" in
     12    Msys | CYGWIN*)
     13      patch=yes
     14      ;;
     15  esac
     16fi
    817
    918wgetcmd=wget
     
    3746rm MUMPS_${mumps_ver}.tar
    3847
    39 #echo "Applying a patch for version 4.6.4"
    40 #sed -e 's/         id%DKEEP(1) = ZERO/         id%DKEEP(1) = -1.0/' MUMPS_${mumps_ver}/src/dmumps_part5.F > bla
    41 #mv bla MUMPS_${mumps_ver}/src/dmumps_part5.F
     48mv MUMPS_${mumps_ver} MUMPS
    4249
    43 mv MUMPS_${mumps_ver} MUMPS
     50if test "$patch" = yes; then
     51  echo "Applying a patch for version 4.7.3"
     52  patch -p0 < mumps_4.7.3.Win.patch
     53fi
    4454
    4555echo " "
Note: See TracChangeset for help on using the changeset viewer.