Simulation Core
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

440 行
19 KiB

  1. VPATH = \
  2. CSharp/OperationScenarios/Common/ \
  3. Rop/ \
  4. Geo/ \
  5. Warnings/ \
  6. TorqueDrag \
  7. Equipments \
  8. CSharp/Problems/ \
  9. Equipments/Pumps/ \
  10. CSharp/BasicInputs/ \
  11. Equipments/ChokeControl/ \
  12. CSharp/StudentStation/ \
  13. Equipments/RotaryTable \
  14. Equipments/Drawworks/ \
  15. Equipments/TopDrive/ \
  16. CSharp/BasicInputs/WellProfile/ \
  17. CSharp/OperationScenarios/Unity/ \
  18. CSharp/OperationScenarios/SoftwareOutputs \
  19. CSharp/OperationScenarios/SoftwareInputs/ \
  20. CSharp/OperationScenarios/Permissions \
  21. CSharp/OperationScenarios/Enums/ \
  22. CSharp/OperationScenarios/UnitySignals \
  23. CSharp/OperationScenarios/Notifications/ \
  24. CSharp/BasicInputs/RigSpecifications/ \
  25. Equipments/MudSystem/ \
  26. CSharp/BasicInputs/Geology/ \
  27. CSharp/Equipments/Tanks/ \
  28. CSharp/Equipments/DrillWatch/ \
  29. CSharp/Equipments/ControlPanels/ \
  30. CSharp/Common/EventHandlers/ \
  31. CSharp/ErrorLog/ \
  32. CSharp/Equipments/MudPathFinding/ \
  33. CSharp/BasicInputs/Bha/ \
  34. CSharp/DownHole/ \
  35. TorqueDrag/TD_Modules/ \
  36. FluidFlow/kick \
  37. FluidFlow \
  38. Common \
  39. CSharp \
  40. CSharp/Common \
  41. CSharp/Common/EventHandlers \
  42. Equipments/BopStack \
  43. CSharp/Warnings \
  44. CSharp/OperationScenarios \
  45. Simulation \
  46. TorqueDrag/ \
  47. TorqueDrag/TD_ReadDataSubroutines \
  48. TorqueDrag/TD_Forces/TD_DropArea \
  49. TorqueDrag/TD_DrillingSubs \
  50. TorqueDrag/TD_Forces \
  51. TorqueDrag/TD_DrillingSubs \
  52. TorqueDrag/TD_Forces/TD_StraightArea \
  53. TorqueDrag/TD_Forces/TD_BuildArea \
  54. TorqueDrag/TD_Forces/TD_ViscousDragForce \
  55. TorqueDrag/TD_Modules \
  56. TorqueDrag/TD_StartUp \
  57. Redis \
  58. .
  59. FC = ifort
  60. TOP_DIR = .
  61. MOD_DIR = $(TOP_DIR)/mod
  62. OBJ_DIR = $(TOP_DIR)/obj
  63. # MOD_DIR = mod
  64. # OBJ_DIR = obj
  65. # FCFLAGS = -g -J$(MOD_DIR) -fimplicit-none -Wall -cpp -ffree-line-length-256
  66. # FCFLAGS = /module:$(MOD_DIR) /fpp
  67. FCFLAGS = -module $(MOD_DIR) -Ilib -fpp -debug all -g -traceback -D IFORT
  68. TARGET = SimulationCore2
  69. SRCS_F =\
  70. Simulation/logging.f90 \
  71. CSharp/OperationScenarios/Common/COperationScenariosVariables.f90 \
  72. TorqueDrag/TD_Modules/TD_WellGeometry.f90 \
  73. TorqueDrag/TD_Modules/TD_WellElements.f90 \
  74. TorqueDrag/TD_Modules/TD_StringConnectionData.f90 \
  75. TorqueDrag/TD_Modules/GeoElements_FluidModule.f90 \
  76. Rop/sROP_Variables.f90 \
  77. Rop/sROP_Other_Variables.f90 \
  78. FluidFlow/Flow_Startup_VARIABLES.f90 \
  79. CSharp/DownHole/CDownHoleTypes.f90 \
  80. Equipments/Drawworks/Drawworks_VARIABLES.f90 \
  81. Equipments/ChokeControl/CHOKE_VARIABLES.f90 \
  82. Equipments/TopDrive/TopDrive_VARIABLES.f90 \
  83. Equipments/RotaryTable/RTable_VARIABLES.f90 \
  84. Equipments/Pumps/Pumps_VARIABLES.f90 \
  85. CSharp/Warnings/CWarningsVariables.f90 \
  86. CSharp/StudentStation/CStudentStationVariables.f90 \
  87. CSharp/OperationScenarios/SoftwareInputsVariables.f90 \
  88. CSharp/OperationScenarios/UnitySignals/UnitySignalsVariables.f90 \
  89. CSharp/OperationScenarios/Permissions/PermissionsVariables.f90 \
  90. CSharp/OperationScenarios/Notifications/NotificationVariables.f90 \
  91. CSharp/Equipments/Tanks/CTanksVariables.f90 \
  92. CSharp/Equipments/DrillWatch/CDrillWatchVariables.f90 \
  93. CSharp/Equipments/ControlPanels/CTopDrivePanelVariables.f90 \
  94. CSharp/Equipments/ControlPanels/CStandPipeManifoldVariables.f90 \
  95. CSharp/Equipments/ControlPanels/CHookVariables.f90 \
  96. CSharp/Equipments/ControlPanels/CDrillingConsoleVariables.f90 \
  97. CSharp/Equipments/ControlPanels/CChokeManifoldVariables.f90 \
  98. CSharp/Equipments/ControlPanels/CChokeControlPanelVariables.f90 \
  99. CSharp/Equipments/ControlPanels/CBopControlPanelVariables.f90 \
  100. CSharp/BasicInputs/WellProfile/CWellSurveyDataVariables.f90 \
  101. CSharp/BasicInputs/WellProfile/CPathGenerationVariables.f90 \
  102. CSharp/BasicInputs/WellProfile/CCasingLinerChokeVariables.f90 \
  103. CSharp/BasicInputs/RigSpecifications/CRigSizeVariables.f90 \
  104. CSharp/Common/CIActionReference.f90 \
  105. CSharp/BasicInputs/RigSpecifications/CPowerVariables.f90 \
  106. CSharp/BasicInputs/RigSpecifications/CHoistingVariables.f90 \
  107. CSharp/BasicInputs/RigSpecifications/CBopStackVariables.f90 \
  108. CSharp/BasicInputs/RigSpecifications/CAccumulatorVariables.f90 \
  109. CSharp/BasicInputs/Geology/CShoeVariables.f90 \
  110. CSharp/BasicInputs/Geology/CReservoirVariables.f90 \
  111. CSharp/BasicInputs/Geology/CFormationVariables.f90 \
  112. CSharp/BasicInputs/Bha/CStringConfigurationVariables.f90 \
  113. Simulation/Constants.f90 \
  114. CSharp/Equipments/MudPathFinding/CArrangement.f90 \
  115. CSharp/OperationScenarios/Unity/CUnityInputs.f90 \
  116. CSharp/Common/CCommonVariables.f90 \
  117. Common/DynamicIntegerArray.f90 \
  118. Rop/RopMain.f90 \
  119. CSharp/Equipments/ControlPanels/CEquipmentsConstants.f90 \
  120. Common/DynamicRealArray.f90 \
  121. Common/DynamicDoubleArray.f90 \
  122. CSharp/Equipments/MudPathFinding/CPathChangeEvents.f90 \
  123. Common/DynamicLogicalArray.f90 \
  124. CSharp/Common/CScaleRange.f90 \
  125. FluidFlow/FluidFlowMain.f90 \
  126. TorqueDrag/TD_Modules/TD_GeneralData.f90 \
  127. CSharp/BasicInputs/WellProfile/CWellSurveyData.f90 \
  128. CSharp/Equipments/ControlPanels/CDataDisplayConsoleVariables.f90 \
  129. CSharp/ErrorLog/CLog4.f90 \
  130. CSharp/BasicInputs/RigSpecifications/CPumpsVariables.f90 \
  131. CSharp/ErrorLog/CLog1.f90 \
  132. CSharp/BasicInputs/CMudPropertiesVariables.f90 \
  133. CSharp/ErrorLog/CLog5.f90 \
  134. CSharp/ErrorLog/CError.f90 \
  135. CSharp/ErrorLog/CLog2.f90 \
  136. CSharp/ErrorLog/CLog3.f90 \
  137. Simulation/CSounds.f90 \
  138. CSharp/Common/CCommon.f90 \
  139. FluidFlow/Pressure_Display_VARIABLES.f90 \
  140. Equipments/BopStack/VARIABLES.f90 \
  141. FluidFlow/kick/Kick_VARIABLES.f90 \
  142. CSharp/OperationScenarios/Unity/CUnityOutputs.f90 \
  143. CSharp/DownHole/CDownHoleVariables.f90 \
  144. Geo/GeoMain.f90 \
  145. CSharp/Equipments/MudPathFinding/CPath.f90 \
  146. CSharp/Problems/CProblemDifinition.f90 \
  147. FluidFlow/Pressure_Distribution_VARIABLES.f90 \
  148. Equipments/MudSystem/MudSystem_Variables.f90 \
  149. TorqueDrag/TD_Modules/TD_DrillStem.f90 \
  150. CSharp/Equipments/MudPathFinding/CStack.f90 \
  151. CSharp/Problems/CDrillStemProblemsVariables.f90 \
  152. CSharp/Problems/COtherProblemsVariables.f90 \
  153. CSharp/Problems/CLostProblemsVariables.f90 \
  154. CSharp/Problems/CGaugesProblemsVariables.f90 \
  155. CSharp/Problems/CBitProblemsVariables.f90 \
  156. CSharp/Problems/CKickProblemsVariables.f90 \
  157. CSharp/Problems/CHoistingProblemsVariables.f90 \
  158. CSharp/Problems/CChokeProblemsVariables.f90 \
  159. CSharp/Problems/CPumpProblemsVariables.f90 \
  160. CSharp/Problems/CRotaryProblemsVariables.f90 \
  161. CSharp/Problems/CMudTreatmentProblemsVariables.f90 \
  162. CSharp/Problems/CBopProblemsVariables.f90 \
  163. Simulation/SimulationVariables.f90 \
  164. \
  165. CSharp/Equipments/ControlPanels/CChokeControlPanel.f90 \
  166. CSharp/Equipments/ControlPanels/CDrillingConsole.f90 \
  167. CSharp/Equipments/ControlPanels/CStandPipeManifold.f90 \
  168. CSharp/Equipments/ControlPanels/CTopDrivePanel.f90 \
  169. CSharp/Equipments/DrillWatch/DrillWatch.f90 \
  170. \
  171. CSharp/Problems/CMudTreatmentProblems.f90 \
  172. CSharp/Problems/CChokeProblems.f90 \
  173. CSharp/Equipments/ControlPanels/CHook.f90 \
  174. CSharp/BasicInputs/RigSpecifications/CRigSize.f90 \
  175. Equipments/BopStack/PipeRams1Main.f90 \
  176. CSharp/Problems/COtherProblems.f90 \
  177. CSharp/BasicInputs/RigSpecifications/CAccumulator.f90 \
  178. CSharp/Problems/CRotaryProblems.f90 \
  179. CSharp/Problems/CDrillStemProblems.f90 \
  180. CSharp/BasicInputs/MudProperties.f90 \
  181. CSharp/BasicInputs/RigSpecifications/CPower.f90 \
  182. Equipments/RotaryTable/RotaryTableMain.f90 \
  183. CSharp/Equipments/MudPathFinding/CManifolds.f90 \
  184. CSharp/Problems/CBopProblems.f90 \
  185. CSharp/DownHole/DownHole.f90 \
  186. CSharp/Problems/CHoistingProblems.f90 \
  187. CSharp/BasicInputs/RigSpecifications/CHoisting.f90 \
  188. Equipments/Drawworks/DrawworksMain.f90 \
  189. CSharp/Problems/CLostProblems.f90 \
  190. CSharp/Problems/CBitProblems.f90 \
  191. CSharp/BasicInputs/RigSpecifications/CBopStack.f90 \
  192. Equipments/BopStack/ChokeLineMain.f90 \
  193. Equipments/Pumps/PumpsMain.f90 \
  194. Equipments/BopStack/AnnularMain.f90 \
  195. CSharp/BasicInputs/WellProfile/CPathGeneration.f90 \
  196. CSharp/BasicInputs/Geology/CReservoir.f90 \
  197. CSharp/BasicInputs/Bha/CStringConfiguration.f90 \
  198. Equipments/BopStack/PipeRams2Main.f90 \
  199. Equipments/BopStack/BlindRamsMain.f90 \
  200. CSharp/Problems/CKickProblems.f90 \
  201. CSharp/OperationScenarios/Permissions/Permissions.f90 \
  202. CSharp/BasicInputs/Geology/CFormation.f90 \
  203. Equipments/BopStack/KillLineMain.f90 \
  204. CSharp/Problems/CGaugesProblems.f90 \
  205. CSharp/BasicInputs/WellProfile/CCasingLinerChoke.f90 \
  206. CSharp/BasicInputs/Geology/CShoe.f90 \
  207. CSharp/Problems/CPumpProblems.f90 \
  208. CSharp/Equipments/ControlPanels/CDataDisplayConsole.f90 \
  209. CSharp/OperationScenarios/SoftwareInputs.f90 \
  210. TorqueDrag/TD_ReadDataSubroutines/TD_DrillStemReadData.f90 \
  211. Equipments/Pumps/Pump_OffMode_Solver.f90 \
  212. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownDRot.f90 \
  213. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownD.f90 \
  214. FluidFlow/kick/Formation_Information.f90 \
  215. TorqueDrag/TD_DrillingSubs/TD_WellElementsConfiguration.f90 \
  216. Equipments/MudSystem/Elements_Creation.f90 \
  217. Equipments/Drawworks/Drawworks_StartUp.f90 \
  218. TorqueDrag/TD_ReadDataSubroutines/TD_PipePropertiesReadData.f90 \
  219. TorqueDrag/TD_Forces/TD_CombinedMotionData.f90 \
  220. TorqueDrag/TD_DrillingSubs/TVD_Calculator.f90 \
  221. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpSRot.f90 \
  222. Rop/Bit_Specification.f90 \
  223. Equipments/Pumps/Pump3_MainSolver.f90 \
  224. Equipments/MudSystem/Kick_Expansion_and_Contraction.f90 \
  225. TorqueDrag/TD_Forces/TD_ForceCalculation.f90 \
  226. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownB.f90 \
  227. Equipments/Pumps/Pumps_TotalSolver.f90 \
  228. TorqueDrag/TD_Forces/TD_StrainCalculation.f90 \
  229. FluidFlow/Flow_Startup.f90 \
  230. Equipments/DrillingConsole_ScrLEDs.f90 \
  231. TorqueDrag/TD_Forces/TD_ViscousDragForce/TD_ViscousDragForce.f90 \
  232. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpS.f90 \
  233. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownS.f90 \
  234. Equipments/RotaryTable/RTable_StartUp.f90 \
  235. Equipments/MudSystem/Utube2_and_Trip_In.f90 \
  236. Equipments/MudSystem/Kick_Migration.f90 \
  237. TorqueDrag/TD_ReadDataSubroutines/TD_ForceReadData.f90 \
  238. TorqueDrag/TD_Forces/TD_StaticHookLoadCalculation.f90 \
  239. Equipments/MudSystem/Pump_and_Trip_In.f90 \
  240. Equipments/MudSystem/Deallocate_Normal_Circulation.f90 \
  241. Equipments/RotaryTable/RTable_OnModeSolver.f90 \
  242. Equipments/Pumps/Pump_OnMode_Solver.f90 \
  243. TorqueDrag/TD_ReadDataSubroutines/TD_WellElementsReadData.f90 \
  244. TorqueDrag/TD_ReadDataSubroutines/TD_MudPropertiesReadData.f90 \
  245. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpDRot.f90 \
  246. Equipments/TopDrive/TopDrive_StartUp.f90 \
  247. Equipments/MudSystem/FillingWell_By_BellNipple.f90 \
  248. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpBRot.f90 \
  249. TorqueDrag/TD_Forces/TD_TorqueCalculation.f90 \
  250. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownBRot.f90 \
  251. Equipments/Drawworks/Drawworks_MainSolver.f90 \
  252. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpD.f90 \
  253. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpB.f90 \
  254. Equipments/RotaryTable/RTable_OffModeSolver.f90 \
  255. TorqueDrag/TD_StartUp/TD_DrillStemStartUp.f90 \
  256. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownSRot.f90 \
  257. Rop/JetImpactForce.f90 \
  258. TorqueDrag/TD_ReadDataSubroutines/TD_WellReadData.f90 \
  259. TorqueDrag/TD_Forces/TD_BouyancyFactor.f90 \
  260. FluidFlow/Frictional_Press_Drop_Calc.f90 \
  261. Equipments/TopDrive/TopDrive_Outputs.f90 \
  262. Equipments/Drawworks/DWFixModeMotion.f90 \
  263. CSharp/Equipments/ControlPanels/CBopControlPanel.f90 \
  264. CSharp/OperationScenarios/Unity/UnityModule.f90 \
  265. CSharp/OperationScenarios/UnitySignals/UnitySignals.f90 \
  266. CSharp/BasicInputs/RigSpecifications/CPumps.f90 \
  267. CSharp/Equipments/ControlPanels/CChokeManifold.f90 \
  268. CSharp/Equipments/Tanks/CTanks.f90 \
  269. CSharp/Warnings/CWarnings.f90 \
  270. TorqueDrag/TD_DrillingSubs/TD_BOPDiamCalculation.f90 \
  271. Equipments/Drawworks/Drawworks_Direction.f90 \
  272. Equipments/RotaryTable/RTable_Outputs.f90 \
  273. Equipments/Drawworks/DWMalfunction_MotorFailure.f90 \
  274. TorqueDrag/TD_Forces/TD_WeightOnBitCalculation.f90 \
  275. FluidFlow/String_Property_Calculator.f90 \
  276. FluidFlow/Annulus_Property_Calculator.f90 \
  277. Equipments/MudSystem/Trip_Out_andPump.f90 \
  278. Equipments/MudSystem/Utube1_and_Trip_In.f90 \
  279. Equipments/Pumps/Pump2_MainSolver.f90 \
  280. Equipments/Pumps/Pump1_MainSolver.f90 \
  281. FluidFlow/Utube.f90 \
  282. Equipments/BopStack/BOP.f90 \
  283. Equipments/BopStack/SHEAR_RAM.f90 \
  284. Equipments/BopStack/PIPE_RAM2.f90 \
  285. Equipments/BopStack/LOSS_INPUTS.f90 \
  286. Equipments/BopStack/ANNULAR.f90 \
  287. Equipments/BopStack/CHOKE_LINE.f90 \
  288. Equipments/BopStack/KILL_LINE.f90 \
  289. Equipments/BopStack/PIPE_RAM1.f90 \
  290. Equipments/BopStack/BOPstartup.f90 \
  291. TorqueDrag/TD_StartUp/TD_StartUp.f90 \
  292. TorqueDrag/TD_Forces/TD_HookLoadCalculation.f90 \
  293. Equipments/TopDrive/TopDrive_Inputs.f90 \
  294. Equipments/TopDrive/TopDrive_Solver.f90 \
  295. CSharp/OperationScenarios/Notifications/Notifications.f90 \
  296. TorqueDrag/TorqueDragMain.f90 \
  297. TorqueDrag/TD_DrillingSubs/MeshGeneration_FluidModule.f90 \
  298. Equipments/Pumps/Pumps_StartUp.f90 \
  299. Equipments/ChokeControl/CHOKE.f90 \
  300. Equipments/ChokeControl/AirPump_Choke_Subs.f90 \
  301. Equipments/MudSystem/MudSystemStartup.f90 \
  302. Equipments/TopDrive/TopDriveMain.f90 \
  303. Equipments/MudSystem/MudSystem.f90 \
  304. Rop/ROP_MainCalculation.f90 \
  305. Equipments/Drawworks/Drawworks_Outputs.f90 \
  306. Equipments/RotaryTable/RTable_Inputs.f90 \
  307. Equipments/TopDrive/TopDrive_OffMode.f90 \
  308. Equipments/TopDrive/TopDrive_MainSolver.f90 \
  309. CSharp/OperationScenarios/Common/OperationScenarios.f90 \
  310. Equipments/ChokeControl/ChokeControlMain.f90 \
  311. Equipments/ChokeControl/ChokeStartup.f90 \
  312. Equipments/MudSystem/MudSystemMain.f90 \
  313. Equipments/Pumps/Pumps_Inputs.f90 \
  314. Equipments/Pumps/Pumps_Outputs.f90 \
  315. FluidFlow/Annulus_and_Openhole_Pressure_Distribution.f90 \
  316. TorqueDrag/TD_DrillingSubs/TD_WellGeoConfiguration.f90 \
  317. Equipments/RotaryTable/RTable_MainSolver.f90 \
  318. CSharp/OperationScenarios/UnitySignals/CSlipsEnum.f90 \
  319. CSharp/OperationScenarios/Notifications/CUnlatchLedNotification.f90 \
  320. CSharp/OperationScenarios/Notifications/CTdsTorqueWrenchLedNotification.f90 \
  321. CSharp/OperationScenarios/Permissions/CInstallMudBucketPermission.f90 \
  322. CSharp/OperationScenarios/Permissions/CFillupHeadPermission.f90 \
  323. CSharp/OperationScenarios/Notifications/COpenKellyCockLedNotification.f90 \
  324. CSharp/OperationScenarios/Notifications/CTdsPowerLedNotification.f90 \
  325. CSharp/OperationScenarios/Notifications/CSwingLedNotification.f90 \
  326. CSharp/OperationScenarios/Enums/CTdsElevatorModesEnum.f90 \
  327. CSharp/OperationScenarios/UnitySignals/CTdsSpineEnum.f90 \
  328. CSharp/OperationScenarios/Permissions/CSwingTiltPermission.f90 \
  329. CSharp/OperationScenarios/Permissions/CIrSafetyValvePermission.f90 \
  330. CSharp/OperationScenarios/Permissions/CSwingOffPermission.f90 \
  331. CSharp/OperationScenarios/Notifications/CCloseSafetyValveLedNotification.f90 \
  332. CSharp/OperationScenarios/UnitySignals/CMouseHoleEnum.f90 \
  333. CSharp/OperationScenarios/UnitySignals/CFlowPipeDisconnectEnum.f90 \
  334. CSharp/OperationScenarios/Notifications/CCloseKellyCockLedNotification.f90 \
  335. CSharp/OperationScenarios/Enums/CElevatorConnectionEnum.f90 \
  336. CSharp/OperationScenarios/Notifications/CIrSafetyValveLedNotification.f90 \
  337. CSharp/OperationScenarios/UnitySignals/CFlowKellyDisconnectEnum.f90 \
  338. CSharp/OperationScenarios/Notifications/COpenSafetyValveLedNotification.f90 \
  339. CSharp/OperationScenarios/UnitySignals/CTdsBackupClamp.f90 \
  340. CSharp/OperationScenarios/UnitySignals/CTdsTongEnum.f90 \
  341. CSharp/OperationScenarios/UnitySignals/CElevatorEnum.f90 \
  342. CSharp/OperationScenarios/Notifications/CTongNotification.f90 \
  343. CSharp/OperationScenarios/UnitySignals/CSafetyValveEnum.f90 \
  344. CSharp/OperationScenarios/Permissions/CRemoveMudBucketPermission.f90 \
  345. CSharp/OperationScenarios/Permissions/CInstallFillupHeadPermission.f90 \
  346. CSharp/OperationScenarios/UnitySignals/CSwingEnum.f90 \
  347. CSharp/OperationScenarios/UnitySignals/CKellyEnum.f90 \
  348. CSharp/OperationScenarios/Permissions/CSwingDrillPermission.f90 \
  349. CSharp/OperationScenarios/Permissions/CIrIbopPermission.f90 \
  350. CSharp/OperationScenarios/Permissions/CRemoveFillupHeadPermission.f90 \
  351. CSharp/OperationScenarios/Common/COperationScenariosSettings.f90 \
  352. CSharp/OperationScenarios/UnitySignals/CTdsSwingEnum.f90 \
  353. CSharp/OperationScenarios/UnitySignals/CIbopEnum.f90 \
  354. CSharp/OperationScenarios/Notifications/CFillMouseHoleLedNotification.f90 \
  355. CSharp/OperationScenarios/UnitySignals/CTongEnum.f90 \
  356. CSharp/OperationScenarios/Notifications/CIrIBopLedNotification.f90 \
  357. CSharp/OperationScenarios/Notifications/CTdsIbopLedNotification.f90 \
  358. CSharp/OperationScenarios/Notifications/CLatchLedNotification.f90 \
  359. CSharp/OperationScenarios/Notifications/CSlipsNotification.f90 \
  360. TorqueDrag/TD_DrillingSubs/TD_DrillStemConfiguration.f90 \
  361. Equipments/MudSystem/Kick_Influx.f90 \
  362. Equipments/MudSystem/Disconnecting_Pipe.f90 \
  363. Equipments/Drawworks/Drawworks_Solver_OffMode.f90 \
  364. TorqueDrag/TD_DrillingSubs/TD_RemoveComponents.f90 \
  365. FluidFlow/Horizontal_and_String_Pressure_Distribution.f90 \
  366. Equipments/Drawworks/Drawworks_INPUTS.f90 \
  367. TorqueDrag/TD_DrillingSubs/TD_AddComponents.f90 \
  368. Equipments/Drawworks/Drawworks_Solver.f90 \
  369. Equipments/Pumps/Pumps_MainSolver.f90 \
  370. CSharp/OperationScenarios/Common/COperationScenariosMain.f90 \
  371. Equipments/MudSystem/Circulation_Code_Select.f90 \
  372. TorqueDrag/TD_DrillingSubs/TD_StringConnectionModes.f90 \
  373. FluidFlow/kick/Gas_Kick_Calculator.f90 \
  374. Redis/Redis_Interface.f90 \
  375. Simulator.f90 \
  376. TorqueDrag/TD_MainCalculations.f90 \
  377. FluidFlow/Well_Pressure_Data_Transfer.f90 \
  378. Equipments/MudSystem/Plot_Final_Mud_Elements.f90 \
  379. FluidFlow/Fluid_Flow_Solver.f90
  380. OBJS_T1 = $(patsubst %.f90,%.o,$(SRCS_F))
  381. OBJS_T2 = $(notdir $(OBJS_T1))
  382. # The object files are all to be obj\<name>.o
  383. OBJS_F = $(patsubst %.o,$(OBJ_DIR)/%.o,$(OBJS_T2))
  384. all: $(TARGET)
  385. $(TARGET): $(OBJS_F)
  386. @echo "make TARGET"
  387. cc Redis/redis_io.c -c -o obj/redis_io.o
  388. $(FC) -o $@ $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a $@.f90
  389. writevars: $(OBJS_F)
  390. @echo "make writevars"
  391. cc Redis/redis_io.c -c -o obj/redis_io.o
  392. $(FC) -o write_vars $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a Test/write_vars.f90
  393. # ./write_vars config-remote.json
  394. debug:
  395. @echo "make with dynamic dlls"
  396. cc Redis/redis_io.c -c -o obj/redis_io.o
  397. $(FC) -o SimulationCore2_DEBUG $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.so SimulationCore2.f90
  398. $(OBJ_DIR)/%.o: %.f90
  399. $(FC) $(FCFLAGS) -c -o $@ $<
  400. testjson:
  401. $(FC) -o Test_Json $(FCFLAGS) Test/testJson.f90 lib/libjsonfortran.a
  402. ./Test_Json
  403. testredis:
  404. @echo "make test redis"
  405. cc Redis/redis_io.c -c -o obj/redis_io.o
  406. $(FC) $(FCFLAGS) -c -o obj/Redis_Interface.o Redis/Redis_Interface.f90
  407. $(FC) $(FCFLAGS) -o Test_Redis obj/redis_io.o obj/Redis_Interface.o lib/libhiredis.a Test/test_redis.f90
  408. ./Test_Redis
  409. testjson2:
  410. ifort -o test_json -module ./mod -fpp obj/Redis_Interface.o Test/testJson.f90 lib/libjsonfortran.a obj/redis_io.o lib/libhiredis.a
  411. ./test_json
  412. clean:
  413. rm $(OBJ_DIR)/*.o SimulationCore2
  414. list:; @echo " "
  415. @echo " "
  416. @echo "Source files:"
  417. @echo $(SRCS_F)
  418. @echo " "
  419. @echo "Object files:"
  420. @echo $(OBJS_F)
  421. @echo " "
  422. @echo "Compiler : $(FC)"
  423. @echo "Modules directory : $(MOD_DIR)"
  424. @echo "Object directory : $(OBJ_DIR)"
  425. @echo " "