diff --git a/ComputingServices/ComputingServices.vbproj b/ComputingServices/ComputingServices.vbproj index 24afa37..5f0ebcb 100644 --- a/ComputingServices/ComputingServices.vbproj +++ b/ComputingServices/ComputingServices.vbproj @@ -251,6 +251,36 @@ x86 MinimumRecommendedRules.ruleset + + true + bin\Biostack\ + sciBASIC#.ComputingServices.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + AnyCPU + MinimumRecommendedRules.ruleset + + + true + bin\x64\Biostack\ + sciBASIC#.ComputingServices.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + x64 + MinimumRecommendedRules.ruleset + + + true + bin\x86\Biostack\ + sciBASIC#.ComputingServices.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + x86 + MinimumRecommendedRules.ruleset + diff --git a/Distribute_computing/ComputingServices.sln b/Distribute_computing/ComputingServices.sln index 18b3468..10ddcb4 100644 --- a/Distribute_computing/ComputingServices.sln +++ b/Distribute_computing/ComputingServices.sln @@ -119,8 +119,8 @@ Global {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biodeep|x86.Build.0 = GCModeller(Release_X64)|x86 {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|Any CPU.ActiveCfg = GCModeller(Release_X64)|Any CPU {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|Any CPU.Build.0 = GCModeller(Release_X64)|Any CPU - {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x64.ActiveCfg = GCModeller(Release_X64)|x64 - {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x64.Build.0 = GCModeller(Release_X64)|x64 + {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x64.ActiveCfg = Biostack|x64 + {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x64.Build.0 = Biostack|x64 {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x86.ActiveCfg = GCModeller(Release_X64)|x86 {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack|x86.Build.0 = GCModeller(Release_X64)|x86 {87383048-1B31-49B7-9FB7-0DED1B80ACE8}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -359,8 +359,8 @@ Global {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biodeep|x86.Build.0 = Biodeep|x86 {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|Any CPU.ActiveCfg = Biodeep_UNIX_x64|Any CPU {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|Any CPU.Build.0 = Biodeep_UNIX_x64|Any CPU - {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x64.ActiveCfg = Biodeep_UNIX_x64|x64 - {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x64.Build.0 = Biodeep_UNIX_x64|x64 + {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x64.ActiveCfg = Biostack|x64 + {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x64.Build.0 = Biostack|x64 {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x86.ActiveCfg = Biodeep_UNIX_x64|x86 {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack|x86.Build.0 = Biodeep_UNIX_x64|x86 {E3367B88-5D0C-495A-8273-331656D4B5AA}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -479,8 +479,8 @@ Global {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biodeep|x86.Build.0 = Biodeep|x86 {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|Any CPU.ActiveCfg = Biodeep|Any CPU {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|Any CPU.Build.0 = Biodeep|Any CPU - {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x64.ActiveCfg = Biodeep|x64 - {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x64.Build.0 = Biodeep|x64 + {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x64.ActiveCfg = Biostack|x64 + {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x64.Build.0 = Biostack|x64 {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x86.ActiveCfg = Biodeep|x86 {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack|x86.Build.0 = Biodeep|x86 {A43EC013-2B55-4D25-B9F1-96BD5FB1E577}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -599,8 +599,8 @@ Global {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biodeep|x86.Build.0 = Biodeep|x86 {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|Any CPU.ActiveCfg = Biodeep_UNIX_x64|Any CPU {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|Any CPU.Build.0 = Biodeep_UNIX_x64|Any CPU - {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x64.ActiveCfg = Biodeep_UNIX_x64|x64 - {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x64.Build.0 = Biodeep_UNIX_x64|x64 + {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x64.ActiveCfg = Biostack|x64 + {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x64.Build.0 = Biostack|x64 {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x86.ActiveCfg = Biodeep_UNIX_x64|x86 {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack|x86.Build.0 = Biodeep_UNIX_x64|x86 {1B42809B-603F-4CEA-A0DB-91276582B9CA}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -719,8 +719,8 @@ Global {44396667-3358-4529-BC45-722CD0CD3997}.Biodeep|x86.Build.0 = Release|Any CPU {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|Any CPU.ActiveCfg = Release|Any CPU {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|Any CPU.Build.0 = Release|Any CPU - {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x64.ActiveCfg = Release|Any CPU - {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x64.Build.0 = Release|Any CPU + {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x64.ActiveCfg = Biostack|x64 + {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x64.Build.0 = Biostack|x64 {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x86.ActiveCfg = Release|Any CPU {44396667-3358-4529-BC45-722CD0CD3997}.Biostack|x86.Build.0 = Release|Any CPU {44396667-3358-4529-BC45-722CD0CD3997}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -839,8 +839,8 @@ Global {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biodeep|x86.Build.0 = Publish|Any CPU {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|Any CPU.ActiveCfg = Publish|Any CPU {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|Any CPU.Build.0 = Publish|Any CPU - {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x64.ActiveCfg = Publish|x64 - {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x64.Build.0 = Publish|x64 + {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x64.ActiveCfg = Biostack|x64 + {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x64.Build.0 = Biostack|x64 {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x86.ActiveCfg = Publish|Any CPU {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack|x86.Build.0 = Publish|Any CPU {0BB4E012-AD1A-47FC-BAC6-FF480299A50C}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1079,8 +1079,8 @@ Global {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biodeep|x86.Build.0 = Biodeep|x86 {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|Any CPU.ActiveCfg = Biodeep|Any CPU {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|Any CPU.Build.0 = Biodeep|Any CPU - {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x64.ActiveCfg = Biodeep|x64 - {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x64.Build.0 = Biodeep|x64 + {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x64.ActiveCfg = Biostack|x64 + {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x64.Build.0 = Biostack|x64 {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x86.ActiveCfg = Biodeep|x86 {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack|x86.Build.0 = Biodeep|x86 {487D7C92-D05A-4908-BF81-E6BABA0BF592}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1199,8 +1199,8 @@ Global {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biodeep|x86.Build.0 = Biodeep|Any CPU {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|Any CPU.ActiveCfg = Biodeep|Any CPU {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|Any CPU.Build.0 = Biodeep|Any CPU - {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x64.ActiveCfg = Biodeep|x64 - {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x64.Build.0 = Biodeep|x64 + {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x64.ActiveCfg = Biostack|x64 + {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x64.Build.0 = Biostack|x64 {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x86.ActiveCfg = Biodeep|Any CPU {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack|x86.Build.0 = Biodeep|Any CPU {3C79AE03-A766-4B61-BDC4-824D78481B53}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1319,8 +1319,8 @@ Global {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biodeep|x86.Build.0 = Biodeep|x86 {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|Any CPU.ActiveCfg = Biodeep_UNIX_x64|Any CPU {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|Any CPU.Build.0 = Biodeep_UNIX_x64|Any CPU - {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x64.ActiveCfg = Biodeep_UNIX_x64|x64 - {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x64.Build.0 = Biodeep_UNIX_x64|x64 + {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x64.ActiveCfg = Biostack|x64 + {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x64.Build.0 = Biostack|x64 {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x86.ActiveCfg = Biodeep_UNIX_x64|x86 {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack|x86.Build.0 = Biodeep_UNIX_x64|x86 {FC125B0D-1942-496F-B502-9C0EB80E35B6}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1439,8 +1439,8 @@ Global {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biodeep|x86.Build.0 = Biodeep|x86 {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|Any CPU.ActiveCfg = Biodeep_UNIX_x64|Any CPU {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|Any CPU.Build.0 = Biodeep_UNIX_x64|Any CPU - {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x64.ActiveCfg = Biodeep_UNIX_x64|x64 - {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x64.Build.0 = Biodeep_UNIX_x64|x64 + {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x64.ActiveCfg = Biostack|x64 + {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x64.Build.0 = Biostack|x64 {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x86.ActiveCfg = Biodeep_UNIX_x64|x86 {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack|x86.Build.0 = Biodeep_UNIX_x64|x86 {203BC68F-A0CD-443A-AB62-4AF4110F752F}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1559,8 +1559,8 @@ Global {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biodeep|x86.Build.0 = Biodeep|x86 {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|Any CPU.ActiveCfg = Biodeep|Any CPU {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|Any CPU.Build.0 = Biodeep|Any CPU - {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x64.ActiveCfg = Biodeep|x64 - {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x64.Build.0 = Biodeep|x64 + {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x64.ActiveCfg = Biostack|x64 + {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x64.Build.0 = Biostack|x64 {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x86.ActiveCfg = Biodeep|x86 {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack|x86.Build.0 = Biodeep|x86 {3291389C-EA87-4B33-A9A5-65A2D60BA3E2}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1679,8 +1679,8 @@ Global {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biodeep|x86.Build.0 = Biodeep|x86 {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|Any CPU.ActiveCfg = Biodeep_UNIX_x64|Any CPU {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|Any CPU.Build.0 = Biodeep_UNIX_x64|Any CPU - {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x64.ActiveCfg = Biodeep_UNIX_x64|x64 - {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x64.Build.0 = Biodeep_UNIX_x64|x64 + {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x64.ActiveCfg = Biostack|x64 + {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x64.Build.0 = Biostack|x64 {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x86.ActiveCfg = Biodeep_UNIX_x64|x86 {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack|x86.Build.0 = Biodeep_UNIX_x64|x86 {076315EE-B598-40DC-9280-C71CDF9B6A48}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1799,8 +1799,8 @@ Global {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biodeep|x86.Build.0 = Publish|Any CPU {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|Any CPU.ActiveCfg = Publish|Any CPU {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|Any CPU.Build.0 = Publish|Any CPU - {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x64.ActiveCfg = Publish|x64 - {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x64.Build.0 = Publish|x64 + {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x64.ActiveCfg = Biostack|x64 + {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x64.Build.0 = Biostack|x64 {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x86.ActiveCfg = Publish|Any CPU {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack|x86.Build.0 = Publish|Any CPU {CCBF36AB-506D-48A2-9150-A3762D4120EC}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -1919,8 +1919,8 @@ Global {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biodeep|x86.Build.0 = Release|Any CPU {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|Any CPU.ActiveCfg = Release|Any CPU {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|Any CPU.Build.0 = Release|Any CPU - {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x64.ActiveCfg = Release|x64 - {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x64.Build.0 = Release|x64 + {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x64.ActiveCfg = Biostack|x64 + {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x64.Build.0 = Biostack|x64 {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x86.ActiveCfg = Release|Any CPU {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack|x86.Build.0 = Release|Any CPU {F045B4BF-7E34-4E31-9D44-E3D4C7DD3098}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU @@ -2039,8 +2039,8 @@ Global {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biodeep|x86.Build.0 = Publish|Any CPU {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|Any CPU.ActiveCfg = Publish|Any CPU {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|Any CPU.Build.0 = Publish|Any CPU - {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x64.ActiveCfg = Publish|x64 - {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x64.Build.0 = Publish|x64 + {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x64.ActiveCfg = Biostack|x64 + {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x64.Build.0 = Biostack|x64 {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x86.ActiveCfg = Publish|Any CPU {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack|x86.Build.0 = Publish|Any CPU {1F9B3E34-9470-4E57-86EA-350D5179C720}.Biostack-Debug|Any CPU.ActiveCfg = Debug|Any CPU diff --git a/Distribute_computing/GridDynamics_plugins/CalculateFitness.vb b/Distribute_computing/GridDynamics_plugins/CalculateFitness.vb index 4f7977d..863ac0e 100644 --- a/Distribute_computing/GridDynamics_plugins/CalculateFitness.vb +++ b/Distribute_computing/GridDynamics_plugins/CalculateFitness.vb @@ -32,7 +32,7 @@ Public Module CalculateFitness ' 在这里folk出多条进程进行并行计算 ' 这个方法可以极大的提升程序在Linux平台上面的计算效率 Dim compute As [Delegate] = New Func(Of String, String, NamedValue(Of Double)())(AddressOf SlaveProcess) - Dim slave = CLI.thinking.FromEnvironment(App.HOME) + Dim slave = CLI.Think.FromEnvironment(App.HOME) Dim folks As New List(Of SlaveTask) Dim trainingSet = DirectCast(comparator.evaluateFitness, Environment) _ .GetTrainingSet() _ diff --git a/Distribute_computing/GridDynamics_plugins/GridDynamics_plugins.vbproj b/Distribute_computing/GridDynamics_plugins/GridDynamics_plugins.vbproj index 5684f21..c099774 100644 --- a/Distribute_computing/GridDynamics_plugins/GridDynamics_plugins.vbproj +++ b/Distribute_computing/GridDynamics_plugins/GridDynamics_plugins.vbproj @@ -108,6 +108,26 @@ x64 MinimumRecommendedRules.ruleset + + true + bin\Biostack\ + GridDynamics_plugins.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + AnyCPU + MinimumRecommendedRules.ruleset + + + true + ..\..\build\ + GridDynamics_plugins.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + x64 + MinimumRecommendedRules.ruleset + @@ -145,7 +165,7 @@ Settings.settings True - + diff --git a/Distribute_computing/GridDynamics_plugins/Think.vb b/Distribute_computing/GridDynamics_plugins/Think.vb new file mode 100644 index 0000000..7a1512a --- /dev/null +++ b/Distribute_computing/GridDynamics_plugins/Think.vb @@ -0,0 +1,76 @@ +Imports System.Runtime.CompilerServices +Imports System.Text +Imports Microsoft.VisualBasic.CommandLine +Imports Microsoft.VisualBasic.CommandLine.InteropService +Imports Microsoft.VisualBasic.ApplicationServices + +' Microsoft VisualBasic CommandLine Code AutoGenerator +' assembly: ..\build\Think.exe + +' +' // +' // +' // +' // VERSION: 1.0.0.0 +' // COPYRIGHT: Copyright © 2019 +' // GUID: 122d95f7-d875-4ee8-92b2-2fdbfdaa2261 +' // +' +' +' < thinking.CLI > +' +' +' SYNOPSIS +' Think command [/argument argument-value...] [/@set environment-variable=value...] +' +' All of the command that available in this program has been list below: +' +' /slave: Program running in slave mode, apply for the multiple-process parallel. +' +' +' ---------------------------------------------------------------------------------------------------- +' +' 1. You can using "Think ??" for getting more details command help. +' 2. Using command "Think /CLI.dev [---echo]" for CLI pipeline development. +' 3. Using command "Think /i" for enter interactive console mode. + +Namespace CLI + + +''' +''' thinking.CLI +''' +''' +Public Class Think : Inherits InteropService + + Public Const App$ = "Think.exe" + + Sub New(App$) + MyBase._executableAssembly = App$ + End Sub + + + Public Shared Function FromEnvironment(directory As String) As Think + Return New Think(App:=directory & "/" & Think.App) + End Function + +''' +''' ``` +''' /slave /application <invokeinfo/json_base64> /out <memory_mapfile> +''' ``` +''' Program running in slave mode, apply for the multiple-process parallel. +''' +''' +Public Function Slave(application As String, out As String) As Integer + Dim CLI As New StringBuilder("/slave") + Call CLI.Append(" ") + Call CLI.Append("/application " & """" & application & """ ") + Call CLI.Append("/out " & """" & out & """ ") + Call CLI.Append("/@set --internal_pipeline=TRUE ") + + + Dim proc As IIORedirectAbstract = RunDotNetApp(CLI.ToString()) + Return proc.Run() +End Function +End Class +End Namespace diff --git a/Distribute_computing/GridDynamics_plugins/thinking.vb b/Distribute_computing/GridDynamics_plugins/thinking.vb deleted file mode 100644 index be217cb..0000000 --- a/Distribute_computing/GridDynamics_plugins/thinking.vb +++ /dev/null @@ -1,76 +0,0 @@ -Imports System.Runtime.CompilerServices -Imports System.Text -Imports Microsoft.VisualBasic.CommandLine -Imports Microsoft.VisualBasic.CommandLine.InteropService -Imports Microsoft.VisualBasic.ApplicationServices - -' Microsoft VisualBasic CommandLine Code AutoGenerator -' assembly: ..\Release\thinking.exe - -' -' // -' // -' // -' // VERSION: 1.0.0.0 -' // COPYRIGHT: Copyright © 2019 -' // GUID: 122d95f7-d875-4ee8-92b2-2fdbfdaa2261 -' // -' -' -' < thinking.CLI > -' -' -' SYNOPSIS -' thinking command [/argument argument-value...] [/@set environment-variable=value...] -' -' All of the command that available in this program has been list below: -' -' /slave: Program running in slave mode, apply for the multiple-process parallel. -' -' -' ---------------------------------------------------------------------------------------------------- -' -' 1. You can using "thinking ??" for getting more details command help. -' 2. Using command "thinking /CLI.dev [---echo]" for CLI pipeline development. -' 3. Using command "thinking /i" for enter interactive console mode. - -Namespace CLI - - - ''' - ''' thinking.CLI - ''' - ''' - Public Class thinking : Inherits InteropService - - Public Const App$ = "thinking.exe" - - Sub New(App$) - MyBase._executableAssembly = App$ - End Sub - - - Public Shared Function FromEnvironment(directory As String) As thinking - Return New thinking(App:=directory & "/" & thinking.App) - End Function - - ''' - ''' ``` - ''' /slave /application <invokeinfo/json_base64> /out <memory_mapfile> - ''' ``` - ''' Program running in slave mode, apply for the multiple-process parallel. - ''' - ''' - Public Function Slave(application As String, out As String) As Integer - Dim CLI As New StringBuilder("/slave") - Call CLI.Append(" ") - Call CLI.Append("/application " & """" & application & """ ") - Call CLI.Append("/out " & """" & out & """ ") - Call CLI.Append("/@set --internal_pipeline=TRUE ") - - - Dim proc As IIORedirectAbstract = RunDotNetApp(CLI.ToString()) - Return proc.Run() - End Function - End Class -End Namespace diff --git a/Distribute_computing/thinking/thinking.vbproj b/Distribute_computing/thinking/thinking.vbproj index 59cd965..fb814b1 100644 --- a/Distribute_computing/thinking/thinking.vbproj +++ b/Distribute_computing/thinking/thinking.vbproj @@ -8,7 +8,7 @@ Exe thinking.Program thinking - thinking + Think 512 Console v4.7 @@ -22,7 +22,7 @@ true true bin\Debug\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 @@ -32,7 +32,7 @@ true true bin\Release\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 @@ -52,7 +52,7 @@ true true bin\x64\Debug\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 full x64 @@ -62,7 +62,7 @@ true bin\x64\Release\ - thinking.xml + Think.xml true 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 pdbonly @@ -75,7 +75,7 @@ true true bin\Biostack-Debug\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 full AnyCPU @@ -87,7 +87,7 @@ true true ..\..\build\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 full x64 @@ -99,7 +99,7 @@ true true bin\node-debug\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 full AnyCPU @@ -111,13 +111,35 @@ true true ..\..\build\node\ - thinking.xml + Think.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 full x64 MinimumRecommendedRules.ruleset true + + true + bin\Biostack\ + Think.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + AnyCPU + MinimumRecommendedRules.ruleset + true + + + true + ..\..\build\ + Think.xml + true + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + pdbonly + x64 + MinimumRecommendedRules.ruleset + true +