Simulation Core
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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