File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ PROGRAM burgers_generalised
4444
4545 ! Program types
4646 TYPE (cmfe_BasisType) :: Basis
47+ TYPE (cmfe_ComputationEnvironmentType) :: computationEnvironment
4748 TYPE (cmfe_CoordinateSystemType) :: CoordinateSystem,WorldCoordinateSystem
4849 TYPE (cmfe_DecompositionType) :: Decomposition
4950 TYPE (cmfe_EquationsType) :: Equations
@@ -69,8 +70,9 @@ PROGRAM burgers_generalised
6970 CALL cmfe_ErrorHandlingModeSet(CMFE_ERRORS_TRAP_ERROR,Err)
7071
7172 ! Get the computational nodes information
72- CALL cmfe_ComputationalNumberOfNodesGet(NumberOfComputationalNodes,Err)
73- CALL cmfe_ComputationalNodeNumberGet(ComputationalNodeNumber,Err)
73+ CALL cmfe_ComputationEnvironment_Initialise(computationEnvironment,err)
74+ CALL cmfe_ComputationEnvironment_NumberOfWorldNodesGet(computationEnvironment,numberOfComputationalNodes,err)
75+ CALL cmfe_ComputationEnvironment_WorldNodeNumberGet(computationEnvironment,computationalNodeNumber,err)
7476
7577 !- ----------------------------------------------------------------------------------------------------------
7678 ! PROBLEM CONTROL PANEL
You can’t perform that action at this time.
0 commit comments