Simulation Core
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

435 строки
18 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 = ifx #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) -qopenmp -Ilib -lifcoremt -levent -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. \
  152. CSharp/Equipments/MudPathFinding/ManifoldVariables.f90 \
  153. \
  154. CSharp/Problems/CDrillStemProblemsVariables.f90 \
  155. CSharp/Problems/COtherProblemsVariables.f90 \
  156. CSharp/Problems/CLostProblemsVariables.f90 \
  157. CSharp/Problems/CGaugesProblemsVariables.f90 \
  158. CSharp/Problems/CBitProblemsVariables.f90 \
  159. CSharp/Problems/CKickProblemsVariables.f90 \
  160. CSharp/Problems/CHoistingProblemsVariables.f90 \
  161. CSharp/Problems/CChokeProblemsVariables.f90 \
  162. CSharp/Problems/CPumpProblemsVariables.f90 \
  163. CSharp/Problems/CRotaryProblemsVariables.f90 \
  164. CSharp/Problems/CMudTreatmentProblemsVariables.f90 \
  165. CSharp/Problems/CBopProblemsVariables.f90 \
  166. Simulation/SimulationVariables.f90 \
  167. \
  168. CSharp/Equipments/ControlPanels/CChokeControlPanel.f90 \
  169. CSharp/Equipments/ControlPanels/CDrillingConsole.f90 \
  170. CSharp/Equipments/ControlPanels/CStandPipeManifold.f90 \
  171. CSharp/Equipments/ControlPanels/CTopDrivePanel.f90 \
  172. CSharp/Equipments/DrillWatch/DrillWatch.f90 \
  173. \
  174. CSharp/Problems/CMudTreatmentProblems.f90 \
  175. CSharp/Problems/CChokeProblems.f90 \
  176. CSharp/Equipments/ControlPanels/CHook.f90 \
  177. CSharp/BasicInputs/RigSpecifications/CRigSize.f90 \
  178. Equipments/BopStack/PipeRams1Main.f90 \
  179. CSharp/Problems/COtherProblems.f90 \
  180. CSharp/BasicInputs/RigSpecifications/CAccumulator.f90 \
  181. CSharp/Problems/CRotaryProblems.f90 \
  182. CSharp/Problems/CDrillStemProblems.f90 \
  183. CSharp/BasicInputs/MudProperties.f90 \
  184. CSharp/BasicInputs/RigSpecifications/CPower.f90 \
  185. Equipments/RotaryTable/RotaryTableMain.f90 \
  186. CSharp/Equipments/MudPathFinding/CManifolds.f90 \
  187. CSharp/Problems/CBopProblems.f90 \
  188. CSharp/DownHole/DownHole.f90 \
  189. CSharp/Problems/CHoistingProblems.f90 \
  190. CSharp/BasicInputs/RigSpecifications/CHoisting.f90 \
  191. Equipments/Drawworks/DrawworksMain.f90 \
  192. CSharp/Problems/CLostProblems.f90 \
  193. CSharp/Problems/CBitProblems.f90 \
  194. CSharp/BasicInputs/RigSpecifications/CBopStack.f90 \
  195. Equipments/BopStack/ChokeLineMain.f90 \
  196. Equipments/Pumps/PumpsMain.f90 \
  197. Equipments/BopStack/AnnularMain.f90 \
  198. CSharp/BasicInputs/WellProfile/CPathGeneration.f90 \
  199. CSharp/BasicInputs/Geology/CReservoir.f90 \
  200. CSharp/BasicInputs/Bha/CStringConfiguration.f90 \
  201. Equipments/BopStack/PipeRams2Main.f90 \
  202. Equipments/BopStack/BlindRamsMain.f90 \
  203. CSharp/Problems/CKickProblems.f90 \
  204. CSharp/OperationScenarios/Permissions/Permissions.f90 \
  205. CSharp/BasicInputs/Geology/CFormation.f90 \
  206. Equipments/BopStack/KillLineMain.f90 \
  207. CSharp/Problems/CGaugesProblems.f90 \
  208. CSharp/BasicInputs/WellProfile/CCasingLinerChoke.f90 \
  209. CSharp/BasicInputs/Geology/CShoe.f90 \
  210. CSharp/Problems/CPumpProblems.f90 \
  211. CSharp/Equipments/ControlPanels/CDataDisplayConsole.f90 \
  212. CSharp/OperationScenarios/SoftwareInputs.f90 \
  213. TorqueDrag/TD_ReadDataSubroutines/TD_DrillStemReadData.f90 \
  214. Equipments/Pumps/Pump_OffMode_Solver.f90 \
  215. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownDRot.f90 \
  216. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceDownD.f90 \
  217. FluidFlow/kick/Formation_Information.f90 \
  218. TorqueDrag/TD_DrillingSubs/TD_WellElementsConfiguration.f90 \
  219. Equipments/MudSystem/Elements_Creation.f90 \
  220. Equipments/Drawworks/Drawworks_StartUp.f90 \
  221. TorqueDrag/TD_ReadDataSubroutines/TD_PipePropertiesReadData.f90 \
  222. TorqueDrag/TD_Forces/TD_CombinedMotionData.f90 \
  223. TorqueDrag/TD_DrillingSubs/TVD_Calculator.f90 \
  224. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpSRot.f90 \
  225. Rop/Bit_Specification.f90 \
  226. Equipments/Pumps/Pump3_MainSolver.f90 \
  227. Equipments/MudSystem/Kick_Expansion_and_Contraction.f90 \
  228. TorqueDrag/TD_Forces/TD_ForceCalculation.f90 \
  229. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownB.f90 \
  230. Equipments/Pumps/Pumps_TotalSolver.f90 \
  231. TorqueDrag/TD_Forces/TD_StrainCalculation.f90 \
  232. FluidFlow/Flow_Startup.f90 \
  233. Equipments/DrillingConsole_ScrLEDs.f90 \
  234. TorqueDrag/TD_Forces/TD_ViscousDragForce/TD_ViscousDragForce.f90 \
  235. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceUpS.f90 \
  236. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownS.f90 \
  237. Equipments/RotaryTable/RTable_StartUp.f90 \
  238. Equipments/MudSystem/Utube2_and_Trip_In.f90 \
  239. Equipments/MudSystem/Kick_Migration.f90 \
  240. TorqueDrag/TD_ReadDataSubroutines/TD_ForceReadData.f90 \
  241. TorqueDrag/TD_Forces/TD_StaticHookLoadCalculation.f90 \
  242. Equipments/MudSystem/Pump_and_Trip_In.f90 \
  243. Equipments/MudSystem/Deallocate_Normal_Circulation.f90 \
  244. Equipments/RotaryTable/RTable_OnModeSolver.f90 \
  245. Equipments/Pumps/Pump_OnMode_Solver.f90 \
  246. TorqueDrag/TD_ReadDataSubroutines/TD_WellElementsReadData.f90 \
  247. TorqueDrag/TD_ReadDataSubroutines/TD_MudPropertiesReadData.f90 \
  248. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpDRot.f90 \
  249. Equipments/TopDrive/TopDrive_StartUp.f90 \
  250. Equipments/MudSystem/FillingWell_By_BellNipple.f90 \
  251. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpBRot.f90 \
  252. TorqueDrag/TD_Forces/TD_TorqueCalculation.f90 \
  253. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceDownBRot.f90 \
  254. Equipments/Drawworks/Drawworks_MainSolver.f90 \
  255. TorqueDrag/TD_Forces/TD_DropArea/TD_ForceUpD.f90 \
  256. TorqueDrag/TD_Forces/TD_BuildArea/TD_ForceUpB.f90 \
  257. Equipments/RotaryTable/RTable_OffModeSolver.f90 \
  258. TorqueDrag/TD_StartUp/TD_DrillStemStartUp.f90 \
  259. TorqueDrag/TD_Forces/TD_StraightArea/TD_ForceDownSRot.f90 \
  260. Rop/JetImpactForce.f90 \
  261. TorqueDrag/TD_ReadDataSubroutines/TD_WellReadData.f90 \
  262. TorqueDrag/TD_Forces/TD_BouyancyFactor.f90 \
  263. FluidFlow/Frictional_Press_Drop_Calc.f90 \
  264. Equipments/TopDrive/TopDrive_Outputs.f90 \
  265. Equipments/Drawworks/DWFixModeMotion.f90 \
  266. CSharp/Equipments/ControlPanels/CBopControlPanel.f90 \
  267. CSharp/OperationScenarios/Unity/UnityModule.f90 \
  268. CSharp/OperationScenarios/UnitySignals/UnitySignals.f90 \
  269. CSharp/BasicInputs/RigSpecifications/CPumps.f90 \
  270. CSharp/Equipments/ControlPanels/CChokeManifold.f90 \
  271. CSharp/Equipments/Tanks/CTanks.f90 \
  272. CSharp/Warnings/CWarnings.f90 \
  273. TorqueDrag/TD_DrillingSubs/TD_BOPDiamCalculation.f90 \
  274. Equipments/Drawworks/Drawworks_Direction.f90 \
  275. Equipments/RotaryTable/RTable_Outputs.f90 \
  276. Equipments/Drawworks/DWMalfunction_MotorFailure.f90 \
  277. TorqueDrag/TD_Forces/TD_WeightOnBitCalculation.f90 \
  278. FluidFlow/String_Property_Calculator.f90 \
  279. FluidFlow/Annulus_Property_Calculator.f90 \
  280. Equipments/MudSystem/Trip_Out_andPump.f90 \
  281. Equipments/MudSystem/Utube1_and_Trip_In.f90 \
  282. Equipments/Pumps/Pump2_MainSolver.f90 \
  283. Equipments/Pumps/Pump1_MainSolver.f90 \
  284. FluidFlow/Utube.f90 \
  285. Equipments/BopStack/BOP.f90 \
  286. Equipments/BopStack/SHEAR_RAM.f90 \
  287. Equipments/BopStack/PIPE_RAM2.f90 \
  288. Equipments/BopStack/LOSS_INPUTS.f90 \
  289. Equipments/BopStack/ANNULAR.f90 \
  290. Equipments/BopStack/CHOKE_LINE.f90 \
  291. Equipments/BopStack/KILL_LINE.f90 \
  292. Equipments/BopStack/PIPE_RAM1.f90 \
  293. Equipments/BopStack/BOPstartup.f90 \
  294. TorqueDrag/TD_StartUp/TD_StartUp.f90 \
  295. TorqueDrag/TD_Forces/TD_HookLoadCalculation.f90 \
  296. Equipments/TopDrive/TopDrive_Inputs.f90 \
  297. Equipments/TopDrive/TopDrive_Solver.f90 \
  298. CSharp/OperationScenarios/Notifications/Notifications.f90 \
  299. TorqueDrag/TorqueDragMain.f90 \
  300. TorqueDrag/TD_DrillingSubs/MeshGeneration_FluidModule.f90 \
  301. Equipments/Pumps/Pumps_StartUp.f90 \
  302. Equipments/ChokeControl/CHOKE.f90 \
  303. Equipments/ChokeControl/AirPump_Choke_Subs.f90 \
  304. Equipments/MudSystem/MudSystemStartup.f90 \
  305. Equipments/TopDrive/TopDriveMain.f90 \
  306. Equipments/MudSystem/MudSystem.f90 \
  307. Rop/ROP_MainCalculation.f90 \
  308. Equipments/Drawworks/Drawworks_Outputs.f90 \
  309. Equipments/RotaryTable/RTable_Inputs.f90 \
  310. Equipments/TopDrive/TopDrive_OffMode.f90 \
  311. Equipments/TopDrive/TopDrive_MainSolver.f90 \
  312. CSharp/OperationScenarios/Common/OperationScenarios.f90 \
  313. Equipments/ChokeControl/ChokeControlMain.f90 \
  314. Equipments/MudSystem/MudSystemMain.f90 \
  315. Equipments/Pumps/Pumps_Inputs.f90 \
  316. Equipments/Pumps/Pumps_Outputs.f90 \
  317. FluidFlow/Annulus_and_Openhole_Pressure_Distribution.f90 \
  318. TorqueDrag/TD_DrillingSubs/TD_WellGeoConfiguration.f90 \
  319. Equipments/RotaryTable/RTable_MainSolver.f90 \
  320. CSharp/OperationScenarios/Notifications/CUnlatchLedNotification.f90 \
  321. CSharp/OperationScenarios/Notifications/CTdsTorqueWrenchLedNotification.f90 \
  322. CSharp/OperationScenarios/Permissions/CInstallMudBucketPermission.f90 \
  323. CSharp/OperationScenarios/Permissions/CFillupHeadPermission.f90 \
  324. CSharp/OperationScenarios/Notifications/COpenKellyCockLedNotification.f90 \
  325. CSharp/OperationScenarios/Notifications/CTdsPowerLedNotification.f90 \
  326. CSharp/OperationScenarios/Notifications/CSwingLedNotification.f90 \
  327. CSharp/OperationScenarios/Enums/CTdsElevatorModesEnum.f90 \
  328. CSharp/OperationScenarios/UnitySignals/CTdsSpineEnum.f90 \
  329. CSharp/OperationScenarios/Permissions/CSwingTiltPermission.f90 \
  330. CSharp/OperationScenarios/Permissions/CIrSafetyValvePermission.f90 \
  331. CSharp/OperationScenarios/Permissions/CSwingOffPermission.f90 \
  332. CSharp/OperationScenarios/Notifications/CCloseSafetyValveLedNotification.f90 \
  333. CSharp/OperationScenarios/Notifications/CCloseKellyCockLedNotification.f90 \
  334. CSharp/OperationScenarios/Enums/CElevatorConnectionEnum.f90 \
  335. CSharp/OperationScenarios/Notifications/CIrSafetyValveLedNotification.f90 \
  336. CSharp/OperationScenarios/Notifications/COpenSafetyValveLedNotification.f90 \
  337. CSharp/OperationScenarios/UnitySignals/CTdsBackupClamp.f90 \
  338. CSharp/OperationScenarios/UnitySignals/CTdsTongEnum.f90 \
  339. CSharp/OperationScenarios/Notifications/CTongNotification.f90 \
  340. CSharp/OperationScenarios/Permissions/CRemoveMudBucketPermission.f90 \
  341. CSharp/OperationScenarios/Permissions/CInstallFillupHeadPermission.f90 \
  342. CSharp/OperationScenarios/Permissions/CSwingDrillPermission.f90 \
  343. CSharp/OperationScenarios/Permissions/CIrIbopPermission.f90 \
  344. CSharp/OperationScenarios/Permissions/CRemoveFillupHeadPermission.f90 \
  345. CSharp/OperationScenarios/Common/COperationScenariosSettings.f90 \
  346. CSharp/OperationScenarios/UnitySignals/CTdsSwingEnum.f90 \
  347. CSharp/OperationScenarios/Notifications/CFillMouseHoleLedNotification.f90 \
  348. CSharp/OperationScenarios/UnitySignals/CTongEnum.f90 \
  349. CSharp/OperationScenarios/Notifications/CIrIBopLedNotification.f90 \
  350. CSharp/OperationScenarios/Notifications/CTdsIbopLedNotification.f90 \
  351. CSharp/OperationScenarios/Notifications/CLatchLedNotification.f90 \
  352. CSharp/OperationScenarios/Notifications/CSlipsNotification.f90 \
  353. TorqueDrag/TD_DrillingSubs/TD_DrillStemConfiguration.f90 \
  354. Equipments/MudSystem/Kick_Influx.f90 \
  355. Equipments/MudSystem/Disconnecting_Pipe.f90 \
  356. Equipments/Drawworks/Drawworks_Solver_OffMode.f90 \
  357. TorqueDrag/TD_DrillingSubs/TD_RemoveComponents.f90 \
  358. FluidFlow/Horizontal_and_String_Pressure_Distribution.f90 \
  359. Equipments/Drawworks/Drawworks_INPUTS.f90 \
  360. TorqueDrag/TD_DrillingSubs/TD_AddComponents.f90 \
  361. Equipments/Drawworks/Drawworks_Solver.f90 \
  362. Equipments/Pumps/Pumps_MainSolver.f90 \
  363. CSharp/OperationScenarios/Common/COperationScenariosMain.f90 \
  364. Equipments/MudSystem/Circulation_Code_Select.f90 \
  365. TorqueDrag/TD_DrillingSubs/TD_StringConnectionModes.f90 \
  366. FluidFlow/kick/Gas_Kick_Calculator.f90 \
  367. Redis/Redis_Interface.f90 \
  368. Simulator.f90 \
  369. TorqueDrag/TD_MainCalculations.f90 \
  370. FluidFlow/Well_Pressure_Data_Transfer.f90 \
  371. Equipments/MudSystem/Plot_Final_Mud_Elements.f90 \
  372. FluidFlow/Fluid_Flow_Solver.f90
  373. OBJS_T1 = $(patsubst %.f90,%.o,$(SRCS_F))
  374. OBJS_T2 = $(notdir $(OBJS_T1))
  375. # The object files are all to be obj\<name>.o
  376. OBJS_F = $(patsubst %.o,$(OBJ_DIR)/%.o,$(OBJS_T2))
  377. all: $(TARGET)
  378. c:
  379. cc Redis/redis_io.c -c -o obj/redis_io.o
  380. $(TARGET): $(OBJS_F)
  381. @echo "make TARGET"
  382. cc Redis/redis_io.c -c -g -o obj/redis_io.o
  383. $(FC) -o $@ $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a $@.f90
  384. writevars: $(OBJS_F)
  385. @echo "make writevars"
  386. cc Redis/redis_io.c -c -o obj/redis_io.o
  387. $(FC) -o write_vars $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a Test/write_vars.f90
  388. # ./write_vars config-remote.json
  389. debug:
  390. @echo "make with dynamic dlls"
  391. cc Redis/redis_io.c -c -o obj/redis_io.o
  392. $(FC) -o SimulationCore2_DEBUG $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.so SimulationCore2.f90
  393. $(OBJ_DIR)/%.o: %.f90
  394. $(FC) $(FCFLAGS) -c -o $@ $<
  395. testjson:
  396. $(FC) -o Test_Json $(FCFLAGS) Test/testJson.f90 lib/libjsonfortran.a
  397. ./Test_Json
  398. testredis:
  399. @echo "make test redis"
  400. cc Redis/redis_io.c -c -g -o obj/redis_io.o
  401. $(FC) $(FCFLAGS) -c -o obj/Redis_Interface.o Redis/Redis_Interface.f90
  402. $(FC) $(FCFLAGS) -o Test_Redis $(FCFLAGS) $(OBJS_F) obj/redis_io.o lib/libjsonfortran.a lib/libhiredis.a Test/test_redis.f90
  403. testjson2:
  404. ifort -o test_json -module ./mod -fpp obj/Redis_Interface.o Test/testJson.f90 lib/libjsonfortran.a obj/redis_io.o lib/libhiredis.a
  405. ./test_json
  406. clean:
  407. rm $(OBJ_DIR)/*.o SimulationCore2
  408. list:; @echo " "
  409. @echo " "
  410. @echo "Source files:"
  411. @echo $(SRCS_F)
  412. @echo " "
  413. @echo "Object files:"
  414. @echo $(OBJS_F)
  415. @echo " "
  416. @echo "Compiler : $(FC)"
  417. @echo "Modules directory : $(MOD_DIR)"
  418. @echo "Object directory : $(OBJ_DIR)"
  419. @echo " "