Changeset 5682
- Timestamp:
- 11/04/09 11:05:15 (3 weeks ago)
- Files:
-
- 1 modified
-
mpich2/trunk/winconfigure.wsf (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mpich2/trunk/winconfigure.wsf
r5633 r5682 662 662 'missing_datatypes = missing_datatypes & "MPI_WCHAR_T" & vbCrLf 663 663 'MPI_WCHAR_T = "0x" + mpi_datatype_prefix + len_wchar_t + "0e" 664 MPI_WCHAR_T = dtypes.Item("MPI_WCHAR") 664 if dtypes.Exists("MPI_WCHAR") then 665 MPI_WCHAR_T = dtypes.Item("MPI_WCHAR") 666 dtypes.Add "MPI_WCHAR_T", MPI_WCHAR_T 667 else 668 missing_datatypes = missing_datatypes & "MPI_WCHAR_T" & vbCrLf 669 MPI_WCHAR_T = "0x" + mpi_datatype_prefix + len_wchar + "0e" 670 end if 665 671 end if 666 672 if dtypes.Exists("MPI_SHORT") then … … 693 699 'missing_datatypes = missing_datatypes & "MPI_UNSIGNED" & vbCrLf 694 700 'MPI_UNSIGNED = "0x" + mpi_datatype_prefix + len_int + "06" 695 MPI_UNSIGNED = dtypes.Item("MPI_UNSIGNED_INT") 701 if dtypes.Exists("MPI_UNSIGNED_INT") then 702 MPI_UNSIGNED = dtypes.Item("MPI_UNSIGNED_INT") 703 dtypes.Add "MPI_UNSIGNED", MPI_UNSIGNED 704 else 705 missing_datatypes = missing_datatypes & "MPI_UNSIGNED" & vbCrLf 706 MPI_UNSIGNED = "0x" + mpi_datatype_prefix + len_int + "06" 707 end if 696 708 end if 697 709 if dtypes.Exists("MPI_LONG") then … … 718 730 'missing_datatypes = missing_datatypes & "MPI_LONG_LONG_INT" & vbCrLf 719 731 'MPI_LONG_LONG_INT = "0x" + mpi_datatype_prefix + len_long_long + "09" 720 MPI_LONG_LONG_INT = dtypes.Item("MPI_LONG_LONG") 732 if dtypes.Exists("MPI_LONG_LONG") then 733 MPI_LONG_LONG_INT = dtypes.Item("MPI_LONG_LONG") 734 dtypes.Add "MPI_LONG_LONG_INT", MPI_LONG_LONG_INT 735 else 736 missing_datatypes = missing_datatypes & "MPI_LONG_LONG_INT" & vbCrLf 737 MPI_LONG_LONG_INT = "0x" + mpi_datatype_prefix + len_long_long + "09" 738 end if 721 739 end if 722 740 if dtypes.Exists("MPI_UNSIGNED_LONG_LONG") then … … 834 852 'MPI_FLOAT_INT = "0x" + mpi_datatype_prefix + len_float_int + "12" 835 853 MPI_FLOAT_INT = "0x8c000000" 854 dtypes.Add "MPI_FLOAT_INT", MPI_FLOAT_INT 836 855 end if 837 856 if dtypes.Exists("MPI_DOUBLE_INT") then … … 841 860 'MPI_DOUBLE_INT = "0x" + mpi_datatype_prefix + len_double_int + "13" 842 861 MPI_DOUBLE_INT = "0x8c000001" 862 dtypes.Add "MPI_DOUBLE_INT", MPI_DOUBLE_INT 843 863 end if 844 864 if dtypes.Exists("MPI_LONG_INT") then … … 848 868 'MPI_LONG_INT = "0x" + mpi_datatype_prefix + len_long_int + "14" 849 869 MPI_LONG_INT = "0x8c000002" 870 dtypes.Add "MPI_LONG_INT", MPI_LONG_INT 850 871 end if 851 872 if dtypes.Exists("MPI_SHORT_INT") then … … 855 876 'MPI_SHORT_INT = "0x" + mpi_datatype_prefix + len_short_int + "15" 856 877 MPI_SHORT_INT = "0x8c000003" 878 dtypes.Add "MPI_SHORT_INT", MPI_SHORT_INT 857 879 end if 858 880 if dtypes.Exists("MPI_2INT") then … … 868 890 'MPI_LONG_DOUBLE_INT = "0x" + mpi_datatype_prefix + len_long_double_int + "17" 869 891 MPI_LONG_DOUBLE_INT = "0x8c000004" 892 dtypes.Add "MPI_LONG_DOUBLE_INT", MPI_LONG_DOUBLE_INT 870 893 end if 871 894 if dtypes.Exists("MPI_CHARACTER") then … … 1031 1054 MPI_C_FLOAT_COMPLEX = "0x" + mpi_datatype_prefix + len_float__Complex + "40" 1032 1055 end if 1056 if dtypes.Exists("MPI_C_COMPLEX") then 1057 MPI_C_COMPLEX = dtypes.Item("MPI_C_COMPLEX") 1058 else 1059 if dtypes.Exists("MPI_C_FLOAT_COMPLEX") then 1060 MPI_C_COMPLEX = dtypes.Item("MPI_C_FLOAT_COMPLEX") 1061 dtypes.Add "MPI_C_COMPLEX", MPI_C_COMPLEX 1062 else 1063 missing_datatypes = missing_datatypes & "MPI_C_COMPLEX" & vbCrLf 1064 MPI_C_COMPLEX = "0x" + mpi_datatype_prefix + len_float__Complex + "40" 1065 end if 1066 end if 1033 1067 if dtypes.Exists("MPI_C_DOUBLE_COMPLEX") then 1034 1068 MPI_C_DOUBLE_COMPLEX = dtypes.Item("MPI_C_DOUBLE_COMPLEX") … … 1050 1084 MPI_AINT_W32 = "0x" + mpi_datatype_prefix + len_mpi_aint32 + "43" 1051 1085 end if 1086 dtypes.Add "MPI_AINT_W32", MPI_AINT_W32 1087 1052 1088 if dtypes64.Exists("MPI_AINT_DATATYPE") then 1053 1089 MPI_AINT_W64 = dtypes64.Item("MPI_AINT_DATATYPE") … … 1056 1092 MPI_AINT_W64 = "0x" + mpi_datatype_prefix + len_mpi_aint64 + "43" 1057 1093 end if 1094 dtypes64.Add "MPI_AINT_W64", MPI_AINT_W64 1095 1058 1096 ' Note that in configure.in MPI_OFFSET is named as MPI_OFFSET_DATATYPE - due to name collision 1059 1097 if dtypes.Exists("MPI_OFFSET_DATATYPE") then … … 1063 1101 MPI_OFFSET_W64 = "0x" + mpi_datatype_prefix + len_mpi_offset + "44" 1064 1102 end if 1103 dtypes.Add "MPI_OFFSET_W64", MPI_OFFSET_W64 1104 dtypes64.Add "MPI_OFFSET_W64", MPI_OFFSET_W64 1065 1105 1066 1106 … … 1174 1214 F77_C_DOUBLE_COMPLEX = HexToInt(dtypes.Item("MPI_C_DOUBLE_COMPLEX")) 1175 1215 F77_C_LONG_DOUBLE_COMPLEX = HexToInt(dtypes.Item("MPI_C_LONG_DOUBLE_COMPLEX")) 1176 F77_AINT = HexToInt(dtypes.Item("MPI_AINT")) 1177 F77_OFFSET = HexToInt(dtypes.Item("MPI_OFFSET")) 1216 F77_AINT_W32 = HexToInt(dtypes.Item("MPI_AINT_W32")) 1217 F77_AINT_W64 = HexToInt(dtypes64.Item("MPI_AINT_W64")) 1218 F77_OFFSET_W64 = HexToInt(dtypes.Item("MPI_OFFSET_W64")) 1178 1219 1179 1220 if false then … … 1901 1942 str = Replace(str, "@MPI_F77_C_LONG_DOUBLE_COMPLEX@", F77_C_LONG_DOUBLE_COMPLEX) 1902 1943 Case "@MPI_F77_AINT@" 1903 str = Replace(str, "@MPI_F77_AINT@", F77_AINT) 1944 If b64 Then 1945 str = Replace(str, "@MPI_F77_AINT@", F77_AINT_W64) 1946 Else 1947 str = Replace(str, "@MPI_F77_AINT@", F77_AINT_W32) 1948 End If 1904 1949 Case "@MPI_F77_OFFSET@" 1905 str = Replace(str, "@MPI_F77_OFFSET@", F77_OFFSET )1950 str = Replace(str, "@MPI_F77_OFFSET@", F77_OFFSET_W64) 1906 1951 Case "@MPI_STATUS_SIZE@" 1907 1952 str = Replace(str, "@MPI_STATUS_SIZE@", "5")
